Buzzfeed have librarified the code from the repo tommitytom posted. I haven’t tried it yet but it looks good.
More Related Contents:
- How to clear the canvas for redrawing
- HTML5 Canvas Resize (Downscale) Image High Quality?
- Stopping GIF Animation Programmatically
- Disable Interpolation when Scaling a
- How to draw an inline svg (in DOM) to a canvas?
- How to draw an oval in html5 canvas?
- Best way to detect that HTML5 is not supported
- Getting mouse location in canvas [duplicate]
- JavaScript: Extract video frames reliably
- Capture frames from video with HTML5 and JavaScript
- How to draw polygons on an HTML5 canvas?
- JavaScript: getting ImageData without canvas
- Load image from url and draw to HTML5 Canvas
- HTML Canvas: How to draw a flipped/mirrored image?
- make canvas as wide and as high as parent
- How to fill the whole canvas with specific color?
- HTML5 responsive canvas: resizing the browser canvas draw disappear
- Is there a way to curve / arc text using CSS3 / Canvas
- How to scale an imageData in HTML canvas?
- Angle gradient in canvas
- Preventing Canvas Clear when Resizing Window
- How to draw a blurry circle on HTML5 canvas?
- Rasterizing an in-document SVG to Canvas
- Canvas text rendering (blurry)
- How to detect shape on a transparent canvas?
- HTML5 Canvas API – formatting individual words with italics
- HTML Canvas Full Screen
- javascript: upload image file and draw it into a canvas
- JavaScript runtime error: ‘$’ is undefined
- canvas- Cropping images in different shapes