Ig you could see inside the project and change some things. This would've been a bit easier if there were vectors in scratch.
Took some of the 2d code from the video "Simulating Black Holes in C++" by kaven on YT, which was then ported over to scratch by me. I've redone the light warping to actually work in scratch. Trail was also changed to work in scratch. Made it possible to have more than 1 light ray, as scratch doesn't have vectors. Changed most of the Ray's function. The new light warping physics uses a simplified version of the Schwarzschild geodesic formula / calculation. I had to make the mass smaller while keeping the Schwarzchild radius the same as to fix some light warping problems.