Digital Media Blog!!
Wednesday, December 14, 2016
Tuesday, November 29, 2016
Sunday, November 13, 2016
Saturday, November 5, 2016
Tuesday, October 25, 2016
Wednesday, October 19, 2016
Nike Coding
I chose Nike because it is my favorite clothing and shoe brand.
My Version
HTML Coding Graph
<!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.moveTo(184,160);
context.quadraticCurveTo(200, 285, 295, 247);
context.quadraticCurveTo(240, 262, 680, 150);
context.quadraticCurveTo(700, 150, 240, 320);
context.quadraticCurveTo(130, 350, 185, 157);
context.lineWidth = '6'; //Stroke width
context.fillStyle = 'rgb(0, 0, 0)'; //RGB Notation for color
context.fill();
context.stroke();
////////////////////////////////////// end above this line ˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆ
};
</script>
</head>
<body>
<canvas id="myCanvas" width="800" height="600"></canvas>
</body>
</html>
Tuesday, October 11, 2016
Subscribe to:
Posts (Atom)