Advertisement
metalx1000

Arch Basic

Jun 28th, 2013
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.53 KB | None | 0 0
  1. <!DOCTYPE HTML>
  2. <html>
  3.   <head>
  4.   </head>
  5.   <body>
  6.         <canvas id="MyCanvas" width="600" height="300"></canvas>
  7.  
  8.         <script>
  9.                 var canvas = document.getElementById('MyCanvas');
  10.                 var context = canvas.getContext('2d');
  11.  
  12.         var radius = 75;
  13.         var start = 4;
  14.         var end = 3;
  15.         var direc = false;
  16.  
  17.         context.beginPath();
  18.         context.arc(150,150, radius, start, end, direc);
  19.         context.lineWidth = 15;
  20.         context.strokeStyle = "Green";
  21.         context.stroke();
  22.         </script>
  23.   </body>
  24. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement