I was surprised that I couldn't find this imprecise but nonetheless passable physics approximation anywhere else online. It appears to be an invention of the Scratch community. I think I'm going to try to make my own pseudo-physics engine.
Modified code from @Bihaann_1 https://scratch.mit.edu/projects/527180706/ Optimized slightly, Fixed up some bugs