Malisa Huzaifa - Web Multimedia HTML6 Canvas & SVG

66 <html> <head> <meta charset="utf-8"> <title>HTML5 Canvas</title> </head> <body> <canvas id="canvas" width=300 height=300 style="border:3px solid #DC143C;"></canvas> </body> <script> window.onload=(function(){ var canvas=document.getElementById("canvas"); var ctx=canvas.getContext("2d"); var cw=canvas.width; var ch=canvas.height; ctx.strokeStyle='black'; ctx.fillStyle='green'; ctx.lineWidth=3; var PI=Math.PI; var fullCircle=PI*2; var sa=-PI/2; requestAnimationFrame(animate);

RkJQdWJsaXNoZXIy MTM3NDc5MQ==