A colorful falling sand physics simulator made with p5.js.
Draw sand particles with your mouse and watch them fall, pile, and slide.
๐ Play it Here
- p5.js
- JavaScript
- Drag your mouse to drop sand particles.
- Watch them fall and interact with gravity.
- The color hue shifts automatically as you draw.
- Reload the page to reset.
index.html โ The webpage.
sketch.js โ The p5.js simulation code.
style.css โ (Optional) Custom styles.
demo.gif โ Demo preview GIF.
README.md โ You're reading it.