Self explanatory
Reasonably performant, a bit more optimized than the first algorithm. Runs best on TurboWarp https://turbowarp.org/914802175/fullscreen Shoutout to @jackson49 for bringing up the idea in the first place back in 2020 https://scratch.mit.edu/projects/367255976/