Skip to content

structnull/fallingsandsimulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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


About

falling sand simulation written in pure c

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published