There are currently 3 blocks. Sand (blue), Air (grey), and Wall (black) Walls do not move, and sand falls (until reaching a solid surface) Walls have a 1/500 chance of "decaying" (turning into sand) Press Space to randomly place a sand particle Press Q to randomly clear a particle Press E to randomly place a wall (this will not appear until the screen refreshes) The entire screen refreshes every 25 frames to save on draw time
When I initially made this project, I made the particles update the original "world" rather than a separate file. It wound up looking cool so I have it available here: https://scratch.mit.edu/projects/207898577/ 100% made by me