News for hackers. Stuff that matters.
Re:Show HN: I also made a three-body simulation by nico on Wednesday April 17, 2024 @10:21PM (#40072322)
So nice to look at, thank you for posting this, really cool

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

Great work

Re:Show HN: I also made a three-body simulation by sulami on Wednesday April 17, 2024 @10:36PM (#40072387)
Thank you.

The clicking to restart is there mainly for phone users, I realized after sharing with a friend that hotkeys aren't very mobile-friendly. I don't have a good way to detect desktop vs. mobile clients, and technically one can also have a keyboard connected to a phone.

I've also been thinking about zooming, I'll see what I can do over my next lunch break :D