# Sean Meng – Project 04

``````//Sean(Han) Meng
//Section B
//hmeng@andrew.cmu.edu
//Project 4

function setup() {
createCanvas(400, 300);

}

function draw() {

background(0);

//First upper eyelip
stroke(87, 250, 255)
for (var i = 0; i < 100; i +=1)
line(width/20 + i*10, 0, 0, height + i*(-10))
//Second upper eyelip
stroke(153, 50, 204)
for (var i = 0; i < 100; i +=1)
line(width/5 + i*10, 0, 0, height + i*(-10))
//First lower eyelip
stroke(0, 0, 205)
for (var i = 0; i < 100; i +=1)
line(width/20 + i*10, height, width, height + i*(-10))
//Second lower eyelip
stroke(255, 128, 128)
for (var i = 0; i < 100; i +=1)
line(width/5 + i*10, height, width, height + i*(-10))

//Pupil
fill(75, 0, 130)
ellipse(200, 150, 150, 150)

fill(0, 0, 128)
ellipse(200, 150, 100, 100)

}``````

In this project, I explore the coding method that I learned to draw complex shape. This “eye” was consisted of for eyelips that are drew with straight lines. But the way they overlapped create a delusion that there is a curve at the very end of them. And I use the bold colors to add aesthetic value to it.