its been a while, but i think i just looked up some formulas and applied them
maybe, i wrote an article on the game that explores some of the inner workings here - https://nerdyteachers.com/PICO-8/Pico-View/?issue=14#superworldofgoo
maybe, i wrote an article on the game that explores some of the inner workings here - https://nerdyteachers.com/PICO-8/Pico-View/?issue=14#superworldofgoo