4 ms·
Great demos, thanks. Anyone know how the smooth scrolling is achieved? is there an equivalent of a BitBlt in HTML5 Canvas?
by damian2000 14y ago
Great demos, thanks. Anyone know how the smooth scrolling is achieved? is there an equivalent of a BitBlt in HTML5 Canvas?
- jokc 14y agoWhich demo are you referring to?
- chengsun 14y agoYes, Canvas has a drawImage method which takes a source image/canvas and draws it on the destination canvas. https://developer.mozilla.org/en-US/docs/Canvas_tutorial/Using_images#drawImage https://developer.mozilla.org/en-US/docs/Canvas_tutorial/Usi...