This program lets you watch grains of sand fall. The grains shift in color, according to the color algorithm assigned. You also can build bridges to change the sand’s falling behavior.


  • Left clicking spawns in new grains of sand
  • Right clicking draws a bridge
  • Space saves a screenshot

Black and white piles Differently shaded piles A randomly colored pile

# Python 2.7.7 Code
# Pygame 1.9.1 (for Python 2.7.7)
# Jonathan Frech 4th of October

Continue reading