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>
I don't understand how the aliens weren't able to lie but they were able to falsify scientific results<p>that's like the third most common form of lying
So nice to look at, thank you for posting this, really cool<p>Would love to be able to zoom in/out and rotate, I kinda was expecting to be able to do it with the mouse and was a bit surprised that clicking just restarted the animation/simulation<p>Great work
Interesting choice of modular coordinates. I wonder how gravity works here. Does it reach across the edge or is it confined to the modulo?<p>UI is a bit unfriendly on mobile. It doesn’t seem there’s a way to interact with it on a phone.
I think this is very cool, but the edge warping negates a lot of the chaos imho. It keeps things interacting in the center of the screen, but it prevents the chaos of bodies being yeeted out into the void.