A simple 2D raytracing visualization made with p5.js including walls (black) and mirros (grey).
Mirrored light rays are colored in blue to distinguish them from normal ones.
This project was heavily inspired by The Coding Train, especially his video on raytracing
To run the code just open index.html
in a webbrowser.