Skip to content

Instantly share code, notes, and snippets.

@baxter
Created June 10, 2010 11:45
Show Gist options
  • Save baxter/432874 to your computer and use it in GitHub Desktop.
Save baxter/432874 to your computer and use it in GitHub Desktop.
var canvas = document.getElementById("c");
var context = canvas.getContext("2d");
// Draw a circle
context.beginPath();
context.arc(75,75,50,0,Math.PI*2,true);
context.stroke();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment