A utility for drawing lines.
void drawLine(num x1, num y1, num x2, num y2) { _ctx.beginPath(); _ctx.moveTo(x1, y1); _ctx.lineTo(x2, y2); _ctx.stroke(); }