HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body> <canvas id="point" width="260" height="120">Your browser does not support the canvas element. </canvas> <script> var canvas = document.getElementById('point'); var ctx = canvas.getContext('2d'); ctx.beginPath(); ctx.moveTo(5, 100); ctx.quadraticCurveTo(230, 150, 250, 10); ctx.stroke(); </script> </body> </html>
OUTPUT
×

Save as Private