Spring Play

After playing around with the code from this excellent Toxiclibs tutorial I ended up making another generative drawing toy, this time based on sets of particles joined by springs. It turns out that Toxiclibs isn’t so hard to get your head around when you have a bit of guidance and thankfully there seem to be some good tutorials appearing now.

Click and drag to add particles
r – reset
x – delete all springs
y – decrease spring strength

Sometime little fragments are generated near the edges due to the boundaries for deletion of springs and particles, but I quite like them so it’s a feature, not a bug.

Some example images: