Rusticles
Simple sand/water particle cellular automata implemented in Rust
Running the project
Before you start, make sure you have rustc and cargo installed.
You can check with
rustc --version
cargo --version
- Clone the repo
git clone https://github.com/Oscilous/Rusticles.git
- Change directory to the Rusticles project
cd Rusticles
- Build the executable
cargo build
- Run the executable
cargo run
Interacting with the simulation
- Left click on a empty pixel, to place a particle.
- Sand is selected by default.
- To change selected particle, left click on the wanted particle.
- Additionally, selected particle can be selected with the keyboard.
- Pressing "w" will select water as the selected particle.
- Pressing "s" will select sand as the selected particle.