Basics of a flash panorama viewer
Placing the view point at the center of the sphere.
Flash May 2005
This demonstrates using random starting points for a set of vertices, and then spreading the points evenly over a sphere by simulation of physical constraints (in this case the points try to be as far as possible away from their neighbours).
With the camera at the origin, in the middle of the sphere, with the right texture this becomes a super-simple panorama viewer.
Click and drag to rotate.
Source 1 file
- Transform.as ActionScript · 218 lines
Downloads
- globe.fla Flash source