Created
December 20, 2011 12:29
-
-
Save dennisschaaf/1501422 to your computer and use it in GitHub Desktop.
Hand Drawn Circles in HTML5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Draw Hand Drawn Circle With Outline | |
ctx.beginPath(); | |
ctx.arc(100, 100, 80, 0, Math.PI * 2); | |
ctx.stroke(); | |
// Draw filled Hand Drawn Circle | |
ctx.beginPath(); | |
ctx.arc(300, 100, 80, 0, Math.PI * 2); | |
ctx.fill(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment