Fun Experiments with HTML Canvas
A canvas implementation of a raycasting engine.
There are textured and untextured versions.
Random map generation from rot.js.
For squeezing a few extra frames out of the pixel by pixel rendering, the MDN article by Paul Roget Faster Canvas Pixel Manipulation with Typed Arrays was useful. But ultimately
putImageData is still terribly slow compared to
I'd like to make a
drawImage based renderer at some point.
Canvas implementation of an oldschool palette-cycling plasma effect based on math from Lode Vandevenne's CG Tutorials.
Text that slides up and down along a sine wave.
Glenn Fiedler's article, Fix Your Timestep! was tremendously helpful for coordinating the timing of the rendering and state updates.