A tiny "falling sand" simulation written in C using Raylib.
- make sure you have Raylib installed on your system
- on macOS, you can install it using Homebrew:
brew install raylib
- on macOS, you can install it using Homebrew:
- clone this repository and navigate to the project directory
- run
maketo compile the project - run
./mainto start the simulation
- get familiar with Raylib and how to render a 2D game/application
- learn optimization algorithms and methods in order to make the simulation more permormant
- hold
MOUSE_LEFT_BUTTONto placeSAND - hold
MOUSE_RIGHT_BUTTONto replace particles withAIR
