The animation example demonstrates how the dollarE, dollarB and dollarO classes can be used together to animate multiple objects by having them move around the page following their own paths - in this example one follows a triangular path while the other selects a new point on the screen at random each time it reaches the previously selected end point.
The dollarE class is used to both keep the objects from being affected by the page scrolling behind them and also to stop the objects moving if you move the mouse over them.
|