Fishtank
·
1min
I built a side-view aquarium simulator in Rust with Bevy, and it’s playable in the browser as WebAssembly.
Goldfish, tetras, angelfish, and guppies wander a glass tank, school with their own kind, and swim over when you drop in food. The scenery is all procedural meshes — gravel, swaying plants, rocks, a little castle, and an aerator sending up bubbles — so there’s nothing to download besides the WASM bundle.
Click anywhere in the water to scatter flakes. F adds a random fish, and R resets the tank.
If you want to dig into the code, build it natively for Linux, or see how the web build is wired up, the source is on GitHub: jasonslay/fishtank.