Somewhat inspired by a recent post here, I also made a three-body simulation on a whim, meaning to try out macroquad[0] (verdict: really nice!). Thanks to the engine I could trivially target wasm as well, so others can get mesmerized too.<p>The source is available here: <a href="https://github.com/sulami/three-bodies">https://github.com/sulami/three-bodies</a><p>[0]: <a href="https://docs.rs/macroquad/latest/macroquad" rel="nofollow">https://docs.rs/macroquad/latest/macroquad</a>