Motion detection used together with vector mathematics simulates our childhood favourite - the Ball Pit. You may add or reduce the number of balls, however, note that the algorithm associated with each ball is processor intensive, so the maximum number of balls that still allow the application to run smoothly is dependent on your computer's speed.
Flash Player 9 / ActionScript 3.0
|