A falling sand simulation written in Rust using the pixels crate for rendering.
This is an incomplete project from 2021 that is currently being refactored. The goal is to move the codebase into a proper game loop architecture with support for different types of particles.
Make sure you have Rust installed, then:
cargo run
pixels
- For pixel-level renderingwinit
- For window management and input handlingrand
- For random number generation
Based on the falling sand tutorial from: https://jason.today/falling-sand