Monday, October 26, 2015

Put yourself in a place you've never been before!


This assignment was fun, and not too difficult for me. I enjoyed putting myself in a place I've never been and making it look like I belonged (the prom dress helped a little :) ). I focused on changing the tone in color my my part of the picture, since the background is very greenbased.

Tuesday, October 20, 2015

HTML Watermelon ... yum


This was by far the hardest project for me to complete. However, once I started to understand the techniques, it became more clear.It definitely helped to trace the inspiration picture onto a graph before starting the project on the computer. I think i did really good with color matching to the original image. To add more dimension to this photo, I would add the underpart of the watermelon and shade it darker green as seen in the inspiration picture.
The Inspiration:


My Code:

<!DOCTYPE HTML>
<html>
<head>
<script>
window.onload = function() {
var canvas = document.getElementById("myCanvas");
var context = canvas.getContext("2d");

////////////////////////////////////// start below this line ˇˇˇˇˇˇˇˇˇˇ


//background
context.beginPath();
context.rect(0, 0, 650, 500);
context.strokeStyle= '#FFFFFF'

var grd = context.createRadialGradient(90, 10, 0, 100, 100, 600);
grd.addColorStop(0, '#FFFFFF');
grd.addColorStop(1, '#66CCFF');
context.fillStyle = grd
context.fill();

context.stroke();

//main pink
context.beginPath();
context.moveTo(300, 0);
context.lineTo(50, 300);
context.quadraticCurveTo(300, 450, 555, 325);
context.closePath();
context.lineTo(300,0);
context.lineWidth = 5;
context.fillStyle = '#FF6666';
context.fill();
context.strokeStyle = '#000000';
context.stroke();

//side pink
context.beginPath();
context.moveTo(300, 0);
context.lineTo(350, 17);
context.lineTo(600, 300);
context.lineTo(555, 325);
context.closePath();
context.fillStyle = '#FF6666';
context.fill();
context.stroke();

//main green
context.beginPath();
context.moveTo(50, 300);
context.lineTo(0, 350);
context.quadraticCurveTo(300, 500, 605, 380);
context.lineTo(555, 325);
context.quadraticCurveTo(300, 450, 50, 300);
context.fillStyle = '#99FF99';
context.fill();
context.stroke();

//side green
context.beginPath();
context.moveTo(605, 380);
context.lineTo(645, 348);
context.lineTo(600, 300);
context.lineTo (555, 325);
context.lineTo(605, 380);
context.fillstyle ='#99FF99';
context.fill();
context.stroke();

//seeds
context.beginPath();
context.moveTo(290, 200);
context.lineTo(270, 220);
context.quadraticCurveTo(290, 245, 310, 220);
context.lineTo(290, 200);
context.closePath();
context.fillStyle = '#000000';
context.fill();
context.stroke();

context.beginPath();
context.moveTo(175, 250);
context.lineTo(155, 270);
context.quadraticCurveTo(175, 295, 197, 270);
context.lineTo(175, 250);
context.closePath();
context.fillStyle = '#000000';
context.fill();
context.stroke();

context.beginPath();
context.moveTo(405, 260);
context.lineTo(385, 280);
context.quadraticCurveTo(405, 305, 425, 280);
context.lineTo(405, 260);
context.closePath();
context.fillStyle = '#000000';
context.fill();
context.stroke();

context.beginPath();
context.moveTo(280, 300);
context.lineTo(260, 320);
context.quadraticCurveTo(280, 345, 300, 320);
context.lineTo(280, 300);
context.closePath();
context.fillStyle = '#000000';
context.fill();
context.stroke();

context.beginPath();
context.moveTo(200, 150);
context.lineTo(180, 170);
context.quadraticCurveTo(200, 195, 220, 170);
context.lineTo(200, 150);
context.closePath();
context.fillStyle = '#000000';
context.fill();
context.stroke();

context.beginPath();
context.moveTo(380, 160);
context.lineTo(360, 180);
context.quadraticCurveTo(380, 205, 400, 180);
context.lineTo(380, 160);
context.closePath();
context.fillStyle = '#000000';
context.fill();
context.stroke();

context.beginPath();
context.moveTo(310, 100);
context.lineTo(290, 120);
context.quadraticCurveTo(310, 145, 330, 120);
context.lineTo(310, 100);
context.closePath();
context.fillStyle = '#000000';
context.fill();
context.stroke();



////////////////////////////////////// end above this line ˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆ

};

</script>
</head>
<body>
<canvas id="myCanvas" width="800" height="600"></canvas>
</body>
</html>

The Product:

Wednesday, October 7, 2015

Vector Illustration




I did my  Vector illustration on a photo of Johnny, the lead singer of the band Highly Suspect. This was very time consuming and took me a while to get hte hang of. I am very happy with the face and hair results. To enhance this image i would add more detail to his shirt, and make some sort of a realistic background.