Hi Lynxx.
Sorry, if this is slightly off-topic, (Java, not Physion/Javascript)...
I was researching on the net, while laid up and distracting myself. For maths to
automatically define evenly spaced set positions around a circle, is obviously easy.
I got to wondering about spheres, and many sites/sources said that their is no single
algorithm to compute evenly spaced points on a shere! (Other than obvious points
like 0, 90, 180 deg etc on x,y,z planes). Thought that sounded wierd !
Seems it's true, and is done using some complex zero-ing in recursive itterations.
As a consequence, i found this guy, Ken Perlin, Professor in Computer Science,
hwo specializes in teaching through the use of Java, and especially 3D stuff....
cs.nyu.edu/~perlin/
It reminded me of your Physion scene on Virus growth visuals. Especially...
mrl.nyu.edu/~perlin/experiments/repel/
which places any number of objects around a sphere. And a subset...
mrl.nyu.edu/~perlin/experiments/repel/index2.html
where the objects tend to 'populate' in groups, upon the sphere.
I damn well spent HOURS on his site, checking out stuff. All done in Java, that is
your expertise. Thought you might be interested. MOST includes source code!
Other interesting pages are, (they are all interesting!)....
mrl.nyu.edu/~perlin/experiments/incompressible/
and...
mrl.nyu.edu/~perlin/experiments/demox/Hyper.html
The last one mentioned requires understanding 4th dimention hypercubes !!
This guy must really like his work, and programming, and teaching.
Just thought I'd pass it along.
Glenn.