Essentially, all the ray calculations for a frame are inside a long Numba decorated function with fastmath=True, this way we can achieve about 100 times more frames per second for the same resolution (in the first part I'm using all cores of my CPU and only one with Numba). I think this is truly amazing, on the level of mine C++ implementation or better.
More details: • Supercharged Python with Numba: 3d game ra...