Log In  


My First Cartridge

Cart #orbital_toy-0 | 2023-11-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
11

Teaching myself PICO-8, I remade an old Mac screensaver that I used to find mesmerizing. This is by no means a valid physics simulation, but feels just real enough to be fun.

Thanks to freds72 and Felice for the antialiasing and musurca for the fast distance approximation.

11


This is so cool!
I spent so long staring at it hoping it would become stable.
Really like the antialiasing on the circles


It ended up pretty stable when I was looking at it just now. I played around with these kind of sims so much as a kid :)
I haven't looked at the code - I presume there's a randomness to the initialisation.
Nice.


Thanks, I also have found a few stable orbits. I should add “nudge” and “reset” button actions.

Indeed the first positioning and motion vectors are random. Everything else is simple physics, coefficients chosen via a rigorous process of letting it run for a while and seeing what felt fun to watch.


2

It became stable for a little while here with 3 bodies. And then it violently exploded like always.

Edit: I got another one here that was stable for at least 4 minutes.


1

Some trails, maybe toggle-able would be nice here.



[Please log in to post a comment]