Skip to content

katistix/falling-sand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

falling-sand

A tiny "falling sand" simulation written in C using Raylib.

katistix falling-sand screenshot

how to run?

  1. make sure you have Raylib installed on your system
    • on macOS, you can install it using Homebrew: brew install raylib
  2. clone this repository and navigate to the project directory
  3. run make to compile the project
  4. run ./main to start the simulation

goals of this project

  • 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

current features

  • hold MOUSE_LEFT_BUTTON to place SAND
  • hold MOUSE_RIGHT_BUTTON to replace particles with AIR

About

A tiny "falling sand" simulation written in C using Raylib.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors