mstropka-Project 01-Self Portrait

Here is what I worked on for Project 1. I tried using as few shapes as possible to create an image that captured my likeness. because I only know how to make basic shapes, I had to mask off certain shapes to make more complex shapes. I would be interested in learning a more streamlined way of creating more complex shapes.

sketch

//Max Stropkay
//Section E
//mstropka@andrew.cmu.edu
//Assignment-02

function setup() {
    createCanvas(600, 600);




}
function draw() {
  background(225,225,225);


//hair
    rectMode(CENTER);
    fill(255,255,51);
    noStroke();
    rect(300,180,350,250);

//body
  fill(153,204,250);
  noStroke();
  ellipse(300,600,350,350);

//neck
  fill(225,204,153);
  stroke(153,204,200)
  ellipse(300,420,150,150);
//head
  fill(225,204,153);
  noStroke();
  ellipse(300,300,350,350);


//left eye
  fill(153,204,250);
  noStroke();
  ellipse(220,250,100,100);

  fill(0);
  noStroke();
  ellipse(240,235,40,40);

//right eye
  fill(153,204,250);
  noStroke();
  ellipse(400,275,75,75);

  fill(0);
  noStroke();
  ellipse(410,260,20,20);

// mouth
fill(0);
noStroke();
ellipse(250,400,80,60);

// hair triangles
  fill(225,225,225);
    triangle(100,200,50,25,300,10);
    triangle(300,100,310,10,400,1);


}

Leave a Reply