This project is really resource intensive. Please use TurboWarp: https://turbowarp.org/726052645 Press the green flag to render some spheres with ray tracing. If you use TurboWarp, you can even change the stage size to render with a custom resolution. Source code: Johan-Mi/linrays on GitHub
This project is based on Ray Tracing in One Weekend by Peter Shirley.