I've got my vectorball display framework done now, and face the question, how to choreograph the ball groups. The little demo below is all hard coded, and shows a swinging cylinder of vector balls.
I assume there is a better way to write down the ball movements, spins and paths than actually program, and let the program interpret the plan. Any ideas?
Life Demo (30k):http://www.java-gaming.org/user-generated-content/members/132627/vectorballs-r1.jar
If you like your vector balls to have some sort of crazy shape like a human, you could load a 3d model from file and use its vertices as points.
If you like quadric shapes, parametric equations work fine.
I assume you use the cylindrical coordinate system for your demo?
x = cos(t)
y = sin(t)
z = z
There's also the supershape formula you could use if you want crazy shapes.
For movements, you could try catmull-rom splines.
Check this out if you have a droid:www.java-gaming.org/topics/jgo-3d-android-live-wallpaper/30014/msg/276761/view.html#new
The 3d text is generated via a text array. Movement is standard bouncing and smoothstep interpolation.
Rotation of text uses spherical coordinates.