Prev Demo
Counterclockwise()
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>ConterClockwise</title> </head> <body> <h2 style="color:green">Counter clockwise </h2> <canvas id="myCanvas" width="400" height="250" style="border:5px solid red;"> </canvas> <script> var canvas = document.getElementById('myCanvas'); var context = canvas.getContext('2d'); context.beginPath(); context.arc(100, 75, 50, 1.8 * Math.PI, 2.2 * Math.PI, true); context.stroke(); </script> </body> </html>
Note: We DO NOT save your trial code in our database.
Output