Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 483 Bytes

README.md

File metadata and controls

8 lines (6 loc) · 483 Bytes

Raytracing-2D

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.

Imgur