Adafruit PixelDust Particle Simulation Arduino Library
|
This handles the "physics engine" part of a sand/rain simulation. The term "physics" is used loosely here...it's a relatively crude algorithm that's appealing to the eye but takes many shortcuts with collision detection, etc.
Not dependent on other libraries for compilation. HOWEVER, this code does not actually render anything itself and needs to be used in conjunction with a display-specific library to handle graphics.
Written by Phil "PaintYourDragon" Burgess for Adafruit Industries.
BSD license, all text here must be included in any redistribution.