https://www.youtube.com/watch?v=VLZjd_Y1gJ8
Inspired by Noita, this is a simple "falling sand" simulation to demonstrate the mechanics and ideas behind Cellular Automata.
NOTE(john): Currently requires at least OpenGL v3.3 to run. This will be addressed in the future to allow for previous opengl versions.
- windows:
- You'll need to have Visual Studio 2015 or greater.
- From start menu, search for "x64 Native Tool Command Prompt for {Insert your Version Here}"
- Navigate to where you have
EP01_SandSim
repo placed - run
proc\win\cl.bat
- The executable will be placed in
bin\
- run
bin\SandSim.exe
- mac:
- You'll need gcc
- From the terminal,
cd
into the root directory for this project. - run
bash ./proc/osx/gcc.sh
- The exectuable will be placed in
bin/
- run
./bin/SandSim
- linux:
- You'll need gcc
- From the terminal,
cd
into the root directory for this project. - run
bash ./proc/linux/gcc.sh
- The exectuable will be placed in
bin/
- run
./bin/SandSim
[
: Decrease paint tool radius]
: Increase paint tool radiusc
: Clear canvas of all particlesi
: Enable/Disable all UIp
: Pause simulationb
: Enable/Disable post-processingesc
: Quit application- Left click mouse to paint particles into scene
- Right click mouse to erase particles from scene
- The user can drag & drop images into the program. Any
.png
,.jpeg/.jpg
images will work.