News for hackers. Stuff that matters.
Re:(Literally) Drawing the HTML 5 Logo in Canvas with Javasc... by richchan on Wednesday January 26, 2011 @06:43PM (#2145836)
Yep.. Apparently calling jquery ui's disable method doesn't disable the handler -- guess I should've read the docs...

Anyway, thanks for pointing it out. I will try to fix it when I get home. Before then, have fun with the "interesting effects". =)

Re:(Literally) Drawing the HTML 5 Logo in Canvas with Javasc... by olalonde on Wednesday January 26, 2011 @07:09PM (#2145929)
How did you generate the "var levelX" arrays?
Re:(Literally) Drawing the HTML 5 Logo in Canvas with Javasc... by richchan on Thursday January 27, 2011 @12:01AM (#2146651)
I would love to say that I made a very sophisticated automated tool for this.. but it was mostly just me hacking a simple script that lets me manually select coordinates and preview the lines; while console.log()ing the coordinates and copy-and-pasting into the arrays.

The "borders" for each layer are easier -- all the coordinates come from the SVG, after translating and scaling.