Ray casting is a popular graphic rendering techniques in the 90s, used to render semi-3D worlds in many games. These repository contain demos for the ray-casting tutorials at permadi.com.
You can download actual release of our JavaScript library and the use it for your project or you can fork our repository.