"SAND HEAP" APPLET
 
 
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.

 
 
Copyright (c) 1999-2007 - Bruno Bachelet - bruno@nawouak.net - http://www.nawouak.net
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation. See this license for more details (http://www.gnu.org).