WASD to move arrow keys to rotate camera R and F to change elevation resolution - increasing this will produce a higher-quality image quality - increases the amount of iterations the ray-tracer will perform. If this is too low, edges might look jagged
Don't expect high frame rates. On 60 quality and 18x24 resolution, I only get around 12FPS. If you want high-quality images like in the thumbnail, you'll have to increase the resolution and quality and wait a few minutes. Ray Tracing is an algorithm that can generate image by simulating how real light works. However, it is often very slow and demanding in terms of performance, and thus is rarely used in real-time contexts. However, by making the scene extremely simple(only 2 cubes and a floor), drastically lowering the resolution, and taking some shortcuts with the lighting effects, I was able to make a ray-tracer capable of running in real time on scratch. Note that it is impossible to make use of features such as hardware acceleration and multithreading on scratch, which could theoretically make it run a lot faster.