Archive | Uncategorized RSS feed for this section

Noise Loop

17 Jun

This sketch demonstrates an interesting way of producing a particle system without the need to store separate objects for each particle.

I’m using a 1-dimensional noise function to control the x and y position of each particle, playing the noise like a needle plays a phonograph. For each particle, the needle for X and Y are dropped onto a different position in the noise stream.

You’ll find the code to be remarkably compact.