[Media] I am building a falling sand engine in Rust and it's so sexy

230 points luzzotica 85 comments
[Media] I am building a falling sand engine in Rust and it's so sexy

Particle interactions are in and adding more is relatively easy:

- Lava

- Water

- Spout

- Sand

- Wood/Plant

- Fire

- Etc.

There's even physics bodies and collisions and destruction of objects using rapier2d!

And with chunks in parallel it can get up to ~2-3M simulated pixels and still maintain a good 57 FPS. At least that was before I added physics bodies. That number might be lower now (I am still trying to optimize the physics bodies, they are horrendous right now).

Fetching love the efficiency of rust!