Following on from our case studies on the WordPress tag cloud using the Wordsphere menu this little discussion on rotating points in 3D with script might interest you. A sample SWI is attached to get you going.
3D Point representation
Points are typically represented in 3D using the co-ordinates x,y,z. This representation is known as the Cartesian coordinate system. This form of representation works well when the points are to be mapped into a 2D space as x->x, z->y and y is represented via a combination of scale and alpha to represent distance from the observer.
2D representation of a 3D point
A 3D point specified in terms of x,y,z can be represented on a flash 2D stage as follows:
._x = x
._y = -z (z is assumed to be the vertical axis in the 3D space, positive z = up.)
._alpha = fa(y)
._xscale = fs(y)
._yscale = fs(y)
assuming
-100 < y < 100
fa(y) = y/4+75; (_alpha goes from 50 to 100 as y goes from -100 to 100)
fs(y) = (y+100)/2+50; (scale goes from 50 to 150)
(more…)