Progress 2/11/14
////////////////CORAL//////////////
var x = 100;
var y = 580;
var x1 = 100;
var y1 = 500;
context.beginPath();
context.moveTo(x, y);
context.lineTo(x1, y1);
context.lineWidth = 10;
context.strokeStyle = '#FF0033';
context.lineCap = "round";
context.stroke();
var x = 150;
var y = 500;
var x1 = 100;
var y1 = 550;
context.beginPath();
context.moveTo(x, y);
context.lineTo(x1, y1);
context.lineWidth = 10;
context.strokeStyle = '#FF0033';
context.lineCap = "round";
context.stroke();
var x = 115;
var y = 470;
var x1 = 130;
var y1 = 518;
context.beginPath();
context.moveTo(x, y);
context.lineTo(x1, y1);
context.lineWidth = 10;
context.strokeStyle = '#FF0033';
context.lineCap = "round";
context.stroke();
var x = 60;
var y = 500;
var x1 = 100;
var y1 = 550;
context.beginPath();
context.moveTo(x, y);
context.lineTo(x1, y1);
context.lineWidth = 10;
context.strokeStyle = '#FF0033';
context.lineCap = "round";
context.stroke();
var x = 90;
var y = 455;
var x1 = 60;
var y1 = 500;
context.beginPath();
context.moveTo(x, y);
context.lineTo(x1, y1);
context.lineWidth = 10;
context.strokeStyle = '#FF0033';
context.lineCap = "round";
context.stroke();
var x = 80;
var y = 525;
var x1 = 70;
var y1 = 550;
context.beginPath();
context.moveTo(x, y);
context.lineTo(x1, y1);
context.lineWidth = 10;
context.strokeStyle = '#FF0033';
context.lineCap = "round";
context.stroke();
///////////////////Me (head and hair)/////////////////
var centerX = canvas.width / 2;
var centerY = canvas.height / 2;
var radius = 50;
context.beginPath();
context.arc(centerX, centerY, radius, 0, 2 * Math.PI, false);
context.fillStyle = "#660000";
context.fill();
context.closePath();
context.beginPath();
context.rect(350, 292, 100, 119);
context.fillStyle = "#660000";
context.fill();
context.closePath();
var centerX = canvas.width / 2;
var centerY = canvas.height / 2;
var radius = 40;
context.beginPath();
context.arc(centerX, centerY, radius, 0, 2 * Math.PI, false);
context.fillStyle = "#FFCC99";
context.fill();
context.closePath();
///////////////Body/////////////////
var x = 400;
var y = 300;
var x1 = 400;
var y1 = 400;
context.beginPath();
context.moveTo(x, y);
context.lineTo(x1, y1);
context.lineWidth = 50;
context.strokeStyle = '#FFCC99';
context.lineCap = "round";
context.stroke();
//////////////Arms & Legs//////////////
var x = 370;
var y = 445;
var x1 = 383;
var y1 = 420;
context.beginPath();
context.moveTo(x, y);
context.lineTo(x1, y1);
context.lineWidth = 10;
context.strokeStyle = '#FFCC99';
context.lineCap = "round";
context.stroke();
var x = 370;
var y = 445;
var x1 = 383;
var y1 = 420;
context.beginPath();
context.moveTo(x, y);
context.lineTo(x1, y1);
context.lineWidth = 10;
context.strokeStyle = '#FFCC99';
context.lineCap = "round";
context.stroke();
No comments:
Post a Comment