Re:Illuminated.js – 2D lights and shadows rendering engine f...
by JackC on Friday May 11, 2012 @10:20AM
(#3959284)
Huh. I've never worked with canvas, but is it possible that moving the middle canvas itself would be faster than clearing and redrawing it every frame? Like you have two canvases side by side in a div with overflow hidden, move both canvases each frame, and when one of them is totally off screen, move it to the other side and draw new terrain. Or are you hoping to avoid animating the canvases themselves?
[ Parent
| on HN ]