Try it in your browser (about 6 MB, no install): https://bwizrd.github.io/PitCrowd/
Repo: https://github.com/Bwizrd/PitCrowd
It's an old-style trading floor with nine pits, one per market. Each pit's crowd reacts to its price: a sharp move pulls traders in and the pit gets loud, and a quiet market empties out. Paper-trading bots walk the floor to the pits they trade, and Bitcoin's order book stands in its pit as walls of liquidity.
The Bevy side:
- One codebase, native and wasm (WebGL2). The browser demo runs a synthetic market inside the page, so there's no server.
- Each pit runs a small shouted auction among 18 traders in plain Rust, deterministic and unit-tested without a Bevy App: brokers bring customer orders and shout them before anyone fills them (so the pit gets loud before the price moves), and locals quote both sides and pull their quotes when the market goes fast. Bevy only renders it.
- bevy_ui for the panels (price board, leaderboard, trade ticket), plus a level 2 heatmap.
- Trimming Bevy's default features and building with wasm-opt took the release wasm from 119 MB (dev) to about 6 MB gzipped.
I should say up front that I'm new to Rust and built it with an AI coding assistant as a pair. I set the direction and tested everything that went in (about 350 tests, CI on Linux and macOS). I wrote up what that was like here: https://medium.com/@paulleppard/i-built-a-project-just-to-learn-rust-a-3d-animated-trading-floor-195df10c2c65
Locally it's one command (`./start-floor.sh`) on the same synthetic market. Paper trading only, nothing real.
I'd love feedback from people who know Bevy better than I do, especially on the crowd animation and on getting the wasm first load faster.