Re:The Arbitrary Logo
by aberatiu on Monday May 25, 2015 @02:31PM
(#9601109)
Really nice result, but there's one thing about it that really bugs me. http://imgur.com/KYQDTYD (Chrome on a Windows machine, if that's of any help).
[ Parent
| on HN ]
Re:The Arbitrary Logo
by daxterspeed on Monday May 25, 2015 @06:59PM
(#9602088)
I believe this is caused by .clip() being "wonky" in Chrome. I think the better alternative to .clip() is:
context.closePath();
context.fill();
context.globalCompositeOperation = "source-atop";
In action: http://codepen.io/anon/pen/mJOOxv[1] http://www.w3.org/TR/2015/WD-2dcontext-20150514/#dom-context... [2] https://developer.mozilla.org/samples/canvas-tutorial/6_1_ca...