Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Latest commit

 

History

History
19 lines (12 loc) · 640 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 640 Bytes

Canvas + Raycasting Experiment

Requires HTML5 canvas and requestAnimationFrame support.

Tested with Firefox 19 and Chromium 23. Chromium seems to be slightly faster in my tests, but I get around 30 FPS in both browsers.

I did this to try the HTML5 canvas element and to play around with Javascript. This demo is the result of a couple of hack sessions, so please keep it in mind when reading the code (as in "there are probably better ways of doing this").

References:

Juan J. Martínez [email protected]