change colour problem; trivial, I'm sure - but I can't figure it out
I simply want to draw two line segments, the first in blue, the second in red:
The problem is that the first blue line segment is gone over again - in red.
context.moveTo(0,0); context.lineTo(myCanvasWidth/2, myCanvasHeight/2);
context.strokeStyle = "blue";
context.strokeStyle = "red";