Skip to content

mUusitalo/js-ray-casting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

js-ray-casting

Simple ray casting demo using the HTML canvas element and vanilla JavaScript.

Requirements

js-ray-casting runs in the browser and is tested to work on the latest versions (as of February 22nd 2021) of Chrome, Edge and Firefox.

Running

Try it out here or alternatively download the source code and open index.html

Acknowledgements

This project was heavily inspired by The Coding Train's 2D Raycasting.

Demo