A robust implementation of a random walking point through three dimensions. A loop construct instantiates a series points, each offset from the last using a 3D vector accelerating in random directions. MOUSEOVER newly placed points (the head) to give a random spin to an offstage color transform modifier. The coiling effect is achieved through a simple tween of the instantiated point object. Although the transformation vector is determined at random, the point attempts to stay within the main stage using simple boundary checking.
No comments:
Post a Comment