The Confetti applet is a visual effects demo that is similar to confetti floating through air. If the mouse is off the applet, the confetti is distributed randomly. When the mouse is on the applet, the confetti follows the mouse spraying forth like a fountain. Additionally, the confetti inherits the vertical and horizontal momentum of the mouse creating the illusion of being flung from the mouse location.
The Confetti tutorial explains line by line how to write this applet. Like the Plasma tutorial, it shows how to write pixels directly to the DataBuffer. However, it also gives an example of using the Java 1.1 low-level event model.