Canvas destination-atop 習作 その2

See the Pen hello world. by kimmy (@kimmy) on CodePen.なかなかよい感じになりました。 HTML <canvas id="main"></canvas> JavaScript (function(win, doc) { "use strict"; var main = doc.getElementById("main"), mainCtx = main.getContext("2d"), sub = doc.createElement("canvas"), subCtx = sub.getContext("2d"), i = 0, WIDTH…