tags:

views:

508

answers:

2

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
+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