offscreen-canvas-gifler
v1.0.54
Published
Standalone library to render gif frames to an offscreen buffer
Downloads
43
Readme
Offscreen Canvas Gifler
Standalone library to render gif frames to an offscreen canvas
Usage
const gifler = new OffscreenCanvasGifler();
gifler.init('https://media.giphy.com/media/3osxY7MLrs5wP2wRgc/giphy.gif').then(() => {
gifler.setCanvasEl('#myCanvas');
gifler.animate();
});