Skip to content

Instantly share code, notes, and snippets.

@dennisschaaf
Created December 20, 2011 11:39

Revisions

  1. dennisschaaf revised this gist Dec 20, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion example1-drawLine.js
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    // Draw a long hand draw line in html5 canvas
    // Draw a long hand drawn line in html5 canvas
    ctx.beginPath();
    ctx.moveTo(300,35);
    ctx.lineTo(35,150);
  2. dennisschaaf created this gist Dec 20, 2011.
    5 changes: 5 additions & 0 deletions example1-drawLine.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    // Draw a long hand draw line in html5 canvas
    ctx.beginPath();
    ctx.moveTo(300,35);
    ctx.lineTo(35,150);
    ctx.stroke();