HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body> <canvas id="point" width="230" height="150">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, 5); ctx.bezierCurveTo(100,150, 200,10, 220,140); ctx.stroke(); </script> </body> </html>
OUTPUT
×

Save as Private