This is a simple implementation of the ray casting
algorithm in JavaScript to produce a pseudo-3D effect, as seen in old-school FPS games.
Use WASD keys to move into the maze.
The picture is from the Dutch animated film Agent 327 (license CC-BY-SA, based on an original character © Martin Lodewijk)