You need to use beginPath and endPath, otherwise you are stroking the
entire drawing every time.

If you're going to do much with <canvas> directly I recommend reading
through the entire API here:

http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#canvasrenderingcontext2d

It's quite readable and may save you some time.

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to