Play with materials in a box with gravity. Materials are represented as pixels and there are 4 different materials. Each of the materials have different rules on how they behave.
I made this demo and you can see all the different types and how they move around. Dark grey metal stays still. Blue water moves down and side to side so it flattens out like a liquid. Yellow sand moves down and makes triangles which look like sand dunes. Light grey gravel only moves straight down so the particles stack on top of eachother.
When you start the exe you will see this console and it will ask for grid size and tell you the controls. If you dont put a positive integer for size then it will crash.