Template that replicates the look of retro FPS like Doom/Wolfenstein or dungeon crawlers using Drawing Canvas and Javascript.
You can check it out the source code! Basically though, I used the drawing canvas and basic 3D math. Here is an example tutorial sitepoint.com/building-3d-engine-javascript