Prev Demo
Quadrature Curves
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Quadraturecurve</title> </head> <body> <canvas id="myCanvas" width="578" height="200"></canvas> <script> var c = document.getElementById("myCanvas"); var ctx = c.getContext("2d"); ctx.beginPath(); ctx.moveTo(20, 20); ctx.quadraticCurveTo(50, 100, 100, 20); ctx.stroke(); </script> </body> </html>
Note: We DO NOT save your trial code in our database.
Output