Monday 30 April 2007
Particles
Particle simulation in Actionscript. Up to 10 particles in a simulated "container". Occasionally explodes if particles get too close (due to dividing by zero or almost zero) - common with higher number.
With one particle interacting with the container the path is regular and uniform. But add one more particle and things get crazy and chaotic. Essentially it's the three-body problem, with the container (a bowl, described by an equation something like z=kd6 where d is the distance from the origin) as the third "body".
[Update: Using SWFObject to embed Flash now. Fingers crossed.]
