I was digging through some of my old Processing sketches to find something to generate the background for this page when I stumbled across an experiment in particle systems that I’d been working on. The sketch generates a crude approximation of a gravitational field and then drops a load of particles on that change velocity according to their location. As you can see in the video this can lead to some nicely chaotic behaviour.