Skip to content

DaringSVM20/falling-sand-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Falling Sand Simulator ๐ŸŒˆ

A colorful falling sand physics simulator made with p5.js.
Draw sand particles with your mouse and watch them fall, pile, and slide.

๐ŸŒ Live Demo

๐Ÿ‘‰ Play it Here

๐Ÿ› ๏ธ Built With

  • p5.js
  • JavaScript

๐ŸŽฎ How to Play

  • 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.

๐Ÿ“‚ Project Structure

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages