A JavaScript test for simulating raycasting, with the addition of a neual network which uses that function to pathfind.