o
odin.langpkg.dev
packages / library / sand_automata_simulator

sand_automata_simulator

57f1467library

No description provided.

No license · updated 2 years ago

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

Right Mouse Button to remove sand

Mouse Wheel to change the brush size

Space Bar to destroy the sand under the mouse position

raylib.core.example.-.basic.window.2024-07-28.21-07-32.mp4