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.
-
Notifications
You must be signed in to change notification settings - Fork 0
AlexLukasT/Raytracing-2D
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published