Retro lines using <canvas>

Just poking around with the canvas element. This is a simple script using a bunch of sines and cosines to draw some lines while shifting the color. Performance seems to be good in Firefox 1.5b, however, for some reason it plummets to a stutter after a while when the drawing surface is too large.