Hello,In HTML5...how can i draw easily (no too much complex code please) an animated GIF in a canvas that works (with drawImage only first frame is shown in the canvas)
A:
Canvas animation is not part of the HTML5 spec. Either revert to GIF or consider a JavaScript-based library that renders SVG or falls back to Canvas/VML: http://raphaeljs.com/
Andrew Kolesnikov
2010-06-17 21:30:55
+1
A:
Use the procedure described here: http://www.brighthub.com/internet/web-development/articles/40515.aspx
Works better than fooling around with gifs inside canvas.
Travis
2010-09-14 15:41:50