Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 967 Bytes

README.md

File metadata and controls

49 lines (32 loc) · 967 Bytes

Falling Sand Simulator

This is a simple Falling Sand Simulator built using C and the Raylib library.

Untitled1-ezgif com-optimize

Todo

  • add more sophicated interaction between particles.
  • [] add real physics interaction.
  • [] add more physical object types.
  • []

How to Build

To build and run the Falling Sand Simulator, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/structnull/fallingsandsimulation.git
  2. Navigate to the Project Directory:

    cd fallingsandsimulation
  3. Compile the Code:

    make
  4. Run the Simulator:

    ./sand

Controls

  • Left Mouse Button: Draw sand particles on the screen.

Dependencies