Galton board simulation.
I wanted to learn WebAssembly for a long time because this technology looks very appealing to me as it allows to write high performance web applications using one of my favorite language - Rust.
This project is my first attempt to make something using this technology. I've spent plenty amount of time thinking about iteresting and not too much complicated idea which would however involve 3d graphics and physics simulation.
Ensure you have Rust installed.
- Install cargo-web subcommand by following instructions from here https://docs.rs/crate/cargo-web
- Type cargo web start to compile and run project
- Type localhost:8000 in your browser, enjoy!
The project is more or less finished now and I'm actually very happy with the result. It took me 4 full days to make it work as intended.
I used kiss3d as a 3d engine and nphysics for physics simulation. Both libraries have bunch of good code examples to get familiar with.