All examples By author By category About

emeeks

Canvas to dataURL to IMG Element

100 Circles are drawn with random colors using canvas, and each is stored as a dataURL and sent to an array. The array is then used to create a div with 100 image elements, each resized to 50px x 50px.

You'll need to click "open this in a new window" if you're viewing it on bl.ocks.org and want to see the small circles.