Applet
SAND HEAP
 
 
PRESENTATION
 

This Java applet animates grains of sand falling to form a heap.

 
EXAMPLES
 

You can specify the size of the applet as well as its different colors (the background and the heap), the size of the grains of sand and the refreshing period of the animation (in milliseconds).

Wait a few seconds to see heaps forming...
 
 
SOURCE CODE
 

Here is the source code of the applet: SandHeap.java.

 
DOWNLOADING
 

Click here to download the applet and its source code.