var speed =(nr_elements - i)/1000;If you adjust the periods as distance^1/3, you get a simple model for a solar system.
I'm trying to grok how the outward propagation works. It seems that a structure at the core propagates outward, while the core reorganizes itself into the next integral division (say 1/5). So you can get 5 arms at the core and 6 arms near the outer edges at the same time.
Check out this capture image. 4-way symmetry at the core, 5-way symmetry in the clusters halfway out, 6-way symmetry (faint but recognizable) at the outermost edge. http://www.dos486.com/misc/spiral-clock.gif
You also get recognizable structure for non-integral divisions, say 2/5. These structures are shorter-lived because each element is passing by an element two spins away instead of one so they converge and diverge faster.
http://www.gibney.org/spiral_clock