This is a part of a beginning Processing tutorial series. If you’re new to Processing, start at the beginning! As we continue our series on the basics of programming with Processing, we’ll look at extending the “Ball” class we created in the last set to include a user-controlled “Puck” object that can be used to [...]
Category: Processing
Programming with Processing 104
Now that we’ve looked at the basics of the PVector object class, and even created some of our own objects, lets see if we can make the balls bounce off of one another! This will be the simplest 2D collision physics possible, with nothing extra whatsoever, and the math is surprisingly simple! Grab the code [...]
Programming with Processing 103
This is a part of a beginning Processing tutorial series. If you’re new to Processing, start at the beginning! In the last set of tutorials, we looked at how to make a basic circle “bounce” around inside a processing window. In this set, we’ll introduce two new concepts that should help make this simple program [...]
Bicycle computer with Processing
Using a simple reed switch, easy Arduino code, and bit of Processing magic, we can make the baddest stationary bike computer in town.
Processing 102, videos 1-2
Now that we’ve seen the basics of Processing, we’ll take a quick look at the simplest-possible “bouncing ball” application. We can get into more complex examples in the future, but for now lets stick to the basics: updating a circle’s location at a constant velocity. Second video here:
Processing 101, videos 1-4
My friend Isaiah is 12 years old, and really wants to learn the basics of programming. Since Java is cross-platform (i.e. it will work on any operating system: Mac, Windows, or Linux), I decided it would be prudent to start with a simple Java framework called “Processing“. Processing is designed to make visual computing easy [...]
parametric drawing in Processing?
Yesterday I put together a little demo using OOP in Processing to build a little drawing app. Eventually I’d like to make it an actual functional drawing program, similar to the “Sketcher” in parametric design systems. I do not presume that I could build something of that power and complexity, but the idea is very [...]
Matching v011
This is getting fun! It’s official, folks. This has been such an incredible learning experience for me! I’m getting pretty comfortable with Processing at this point, and I’m even starting to leverage some external libraries. The game now supports a few different modes, and it’s getting pretty hard! Turn all of the types on (except [...]
addition matching
Okay kids, here’s version v010 of the “matching” game I’ve been working on. Yes, this is what that whole “rectangular collision engine” was all about. It’s still really early days, but at least this is a proof of concept, and it’s FRIGGIN’ HARD. I can only imagine how much harder it would be if you [...]
Collision Engine v006
This is part of a series of posts chronicling the development of a math game involving collisions between rectangular objects on the screen, using a java framework called Processing. Physics are still a little wonky, but as a proof of concept, the collision engine is coming along beautifully. It took me a while to find [...]
“mathBuilder” prototype
I am building a couple of different games to help kids (and adults!) learn math facts. The simplest of my ideas was a basic quiz game, where the user simply types answers to questions of simple arithmetic. Eventually I’d like to build the game into something more visually appealing, but the basic concept seems to [...]
The Art of Code
Many programmers like to refer to their craft using the ever-contentious & functionally meaningless term “Art”. Take a look at WordPress.org, and you’ll notice their motto at the bottom-right of every page: ‘Code is Poetry’. If you’ve ever taken a look at Processing, the Java-based framework for simple cross-platform visual computing, you’ll have noticed that [...]










