Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML>
- <html>
- <head>
- </head>
- <body>
- <canvas id="MyCanvas" width="600" height="300"></canvas>
- <script>
- var canvas = document.getElementById('MyCanvas');
- var context = canvas.getContext('2d');
- context.beginPath();
- context.moveTo(188,150);
- context.quadraticCurveTo(288, 0, 488, 50);
- context.lineCap = "round";
- context.lineWidth = 15;
- context.strokeStyle = 'Blue';
- context.stroke();
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement