Another "gravity" image: particles begin in a circle and then move according to specified rules.
Click for bigger on Flickr.
Made some more of these "gravity" images.
There's a whole set of them here.
Another simple sketch at Sketchpatch.
Grading finals this week. Whee!
I made this sketch on Sketchpatch today. I wanted to mess around with transparency, and overlapping circles. The result reminds me of an engraving, so that's not bad.
I wrote this little sketch on Sketchpatch today. It looks good on a fast machine: at work, I have 2.66 Ghz iMac, and it runs great there, but my 1 Ghz powerbook at home is choking on it.
This is the same idea as this old straight java applet. I wrote this a long time ago for the 5K competition for the coolest java program in under 5K. Might have been related to these folks, but it was a long time ago.
The Java version runs better. I'm not sure how Sketchpatch works exactly, but it definitely is slower than straight Processing applets. Maybe that could be improved?
In other news, I like this flash version of the old moon lander game.
I ran into this website today. It allows you to experiment with Processing code right in your browser, and then immediately share anything neat you create. It's a nice idea.
Haven't had a chance to make anything on the site yet, though. I'm strangely super busy writing and grading exams. It'll calm down by, oh, next Sunday.
The Ulam spiral is a way of writing down the positive integers in a rectilinear spiral fashion, like this:
Ulam noticed that when you do this, and consider where the primes fall, they show certain patterns that you might not expect. In particular, they tend to fall along certain diagonals. There is lots of literature available about this phenomenon.
Just for fun, I thought I'd illustrate this idea as applied to other sequences. My gallery is
Two simple applets that make nice visuals, I think.
This one makes nice soft color images using discretization of distance functions. Very simple, but I like the result.
This one is an old favorite of mine. It creates a 1000-sided polygon, and then smooths it by connecting the midpoints of the sides repeatedly. It has a nice organic look to it, at least until it gets mostly untangled.