Posts Tagged ‘processing’

Particles and noise

Tuesday, February 24th, 2009

I spent some time this weekend writing my own particle and emitter class in Processing, to learn more about the language and the arcane lore that is particles. Ultimately I’d like to do some attraction and flocking behaviour with these particles. That would reaquaint me with vector math, a field of which my previous very limited comprehension is almost gone. I really regret not paying more attention in school.

The following applet is just a simple manifestation of my messing around with adding perlin noise to the vectors of the particles. It’s nothing special, but I think the “noisy order” looks interesting.

Click here for the noise grid applet

Click here for the noise grid applet

(The particle system is very bare bones. It doesn’t cull individual particles, but rather clears the whole array after some time. So there’s certainly room for improvements.)

Fibonacci spiral

Saturday, February 21st, 2009

Here’s my second Processing sketch. I think Fibonacci and similar-looking logarithmic spirals has some very aesthetically pleasing visual properties, but that is to be expected given their nature. So I decided to make one myself and learn a little about Processing in doing so. I’ve also made one that approximates the Golden Ratio, but they look very much alike.

Click here for the Fibonacci spiral applet

Click here for the Fibonacci spiral applet

Peter de Jong attractor

Wednesday, February 18th, 2009
de Jong attractor

de Jong attractor

For a long time I’ve been fascinated by visualization of complex data and math. This fetish of mine led me to discover Processing, a programming language based on java with the explicit purpose of visualizing … stuff. Now, I’ve never been much of a programmer, but I decided to try a dabble a little with this and it turns out you can a lot with scripting. Below’s my third creation, the first and second being a rather dull perlin noise ribbon and a fibonacci spiral. Perhaps I will figure out something fun to with those later.

Peter de Jong attractor applet