In 2014 I read a lot of The Nature of Code by Daniel Shiffman and got inspired to make a bunch of things in Processing. The first thing I made was a series of random walkers. These are a handful of the other ones that I liked best.

Light Gravity

These are a bunch of star lights represented by white dots that are attracted to invisible points in space. Click on the sketch to reset.

Here the star lights start on a grid and follow invisible attractors that rotate around the center.


To all the vector fields I've loved. Move your mouse around the sketch.

Meteor Shower

Movement with acceleration. This is how the dinosaurs died. Click and press space to reset the meteors.