A simple Rust-based fluid dynamics simulation using SDL2 for rendering and input. Interact with particles via the mouse and keyboard.
- Rust & Cargo: Install Rust
- SDL2: Follow the instructions on the rust-sdl2 README for installing the SDL2 development libraries on Windows.
- Build & Run:
Open a terminal in the project root (whereCargo.tomlis located) and execute:cargo run
- Mouse: Move to interact; left-click attracts, right-click repels.
- Wheel: Adjust influence radius.
- Space: Pause/resume.
- R: Reset (Shift+R for alternate).
- H: Toggle heatmap.
- Right Arrow: Step one frame.
- Escape: Quit.