2 ms·
Recently I wrote a simple forest fire simulation to test out using egui in WASM. I was impressed by how simple it was to get up and running. https://maxbondabe
by maxbond 4y ago
Recently I wrote a simple forest fire simulation to test out using egui in WASM. I was impressed by how simple it was to get up and running.
https://maxbondabe.github.io/forest-fire https://maxbondabe.github.io/forest-fire
- hunterb123 4y agomissing the most important part. the underbrush.
- maxbond 4y agoYeah for sure, the goal was to learn egui and validate it's portability. The logic is largely lifted from the NetLogo model library (https://ccl.northwestern.edu/netlogo/models/Fire https://ccl.northwestern.edu/netlogo/models/Fire) and represents only the relationship with density and how far a fire is able to spread. I added a couple variations for fun (like using Perlin noise).
- Thaxll 4y agoThis is not backend related though, WASM is just a binary that can be executed by the browser.