I’ve never heard of a good way to draw lines in Javascript…until this guy rocked my world! Why didn’t anyone think of this a long time ago?! I don’t know about you, but I sat home every night trying to come up with a good way to draw lines and I never got this. He must be one of those “wizards” I’ve heard so much about
While your head is exploding with the possibilities, make sure to check out his mouse tracker. Oooo…pretty. Something to replace my nights drawing lines
Drawing lines in JavaScript | www.p01.org
Shazam! Any line can be reproduced by stretching a diagonal. If you need more to be convinced, just look the figure below.

Pfah. That’s the ol’ Flash 4 trick.
I guess you Javascripters are finally catching up.
muhahaha.