Tuesday, October 21, 2014

Ray Casting Trial

Today I spent almost the whole (haha) debugging my implementation of ray casting on Javascript. Ray casting is a technique used by game developers in the past to create a 3D feeling games on a 2D graphics, which in my opinion is very clever. It uses a 2D array to represent the whole 3D world. After implementing the technique, I am pretty amazed by the end result! Here is the link to the code I just wrote: Ray Casting on HTML5 Canvas