Please sign in to access this page
this is called the Abelian Sand pile model. It mimicks how a pile of sand would build up and then topple after the sides reach a critical angle. It uses very simple rules but can create complex patterns if you keep adding sand in the same place :)
right click and hold on one pixel to see the cool patterns! left click to add sand one grain at a time
No followers yet
Once you ship this you can't edit the description of the project, but you'll be able to add more devlogs and re-ship it as you add new features!
Working on modelling the interactions of sand grains in a sand pit! The pit is divided into cells and each cells holds X grains of sand. the user can use the mouse to add grains to cells, when a cell gets >4 grain the pile topples into the neighbouring cells and that cell returns to 0. This can create chain reactions of topples called a cascade. If sand is added to only one cell the result is always symmetrical and can create really neat patterns. This is called an Abelian sandpit! Note that even one grain of sand out of place will destroy symmetry and create chaos :) I wrote using p5.js edited in VS code and deployed with LiveServer extension. super happy with the result