Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 733 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 733 Bytes

Sand Simulation

Trying to implement a simple sand simulator (with other elements) in Raylib :)

showcase

vid_showcase

Pre-requisites

  1. Raylib
  2. FFMPEG

Usage

make

This will build the project. If it does not run the executable: ./main

Controls/Keybinds:

  • s - Sand
  • w - Water
  • h - Solid
  • c - Smoke
  • Draw while holding LSHIFT to delete pixels
  • Enter - Clear the screen
  • r - toggle to send frames to ffmpeg
  • - and + - decrease or increase particle brush size

Bugs to fix

(fix everything tbh but still)

  1. Add interaction of water with sand
  2. Add gravity and water physics