My Project
<!DOCTYPE HTML>
<html>
<head>
<script>
window.onload = function() {
var canvas = document.getElementById("myCanvas");
var context = canvas.getContext("2d");
////////////////////////////////////// start below this line ˇˇˇˇˇˇˇˇˇˇ
context.beginPath();
context.arc(375, 300, 175, 0, 2*Math.PI, false);
context.lineWidth = 15;
context.fillStyle = "red"
context.fill();
context.strokeStyle = "red";
context.stroke();
context.beginPath();
context.moveTo(301.4, 100);
context.lineTo(301.4, 300);
context.lineWidth = 48;
context.strokeStyle = "white";
context.stroke();
context.beginPath();
context.arc(375, 300, 90, 0, 2*Math.PI, false);
context.lineWidth = 15;
context.fillStyle = "white"
context.fill();
context.strokeStyle = "white";
context.stroke();
context.beginPath();
context.arc(375, 300, 52, 0, 2*Math.PI, false);
context.lineWidth = 15;
context.fillStyle = "red"
context.fill();
context.strokeStyle = "red";
context.stroke();
////////////////////////////////////// end above this line ˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆ
};
</script>
</head>
<body>
<canvas id="myCanvas" width="800" height="600"></canvas>
</body>
</html>
Graph Reference:
Original Image Reference :
Artist Statement:
No comments:
Post a Comment