This is a sand drop simulator using celullar automata. The sand is represented by a 2D grid of cells, and the simulation is done by updating the grid in discrete time steps.
Using Odin and Raylib.
Inspired by Youtube Videos:
https://www.youtube.com/watch?v=L4u7Zy_b868
https://www.youtube.com/watch?v=5Ka3tbbT-9E
https://www.youtube.com/watch?v=ArcHpsTXhb0
Left Mouse Button to drop sand