First Attempt At Processing

In Computational Media, ITP

I’ve been taking a look at my classmates processing work for this week’s assignment and I’m really blown away by some of the ideas and execution. Seeing their work simply motivates me to make some considerable strides in Processing going forward. For the time being, I’m still awkwardly clumsy with the medium but I gave it my best shot! I present to you—Buck Teeth Sun With Shades. A true chef d’oeuvre.


 

Week1 screenshot

Code

size(600,400);
background(255,255,255);

// Pink Lines
stroke (#FFCCFF,255);
strokeWeight(12);
line(0,0,600,0);
stroke(#FFCCFF, 245);
line(0,20,600,20);
stroke(#FFCCFF, 235);
line(0,40,600,40);
stroke(#FFCCFF, 225);
line(0,60,600,60);
stroke(#FFCCFF,215);
line(0,80,600,80);
stroke(#FFCCFF, 205);
line(0,100,600,100);
stroke(#FFCCFF, 195);
line(0,120,600,120);
stroke(#FFCCFF, 185);
line(0,140,600,140);
stroke(#FFCCFF, 175);
line(0,160,600,160);
stroke(#FFCCFF, 165);
line(0,180,600,180);
stroke(#FFCCFF, 155);
line(0,200,600,200);
stroke(#FFCCFF, 145);
line(0,220,600,220);
stroke(#FFCCFF, 135);
line(0,240,600,240);
stroke(#FFCCFF, 125);
line(0,260,600,260);
stroke(#FFCCFF, 115);
line(0,280,600,280);
stroke(#FFCCFF, 105);
line(0,300,600,300);
stroke(#FFCCFF, 95);
line(0,320,600,320);
stroke(#FFCCFF, 85);
line(0,340,600,340);
stroke(#FFCCFF, 75);
line(0,360,600,360);
stroke(#FFCCFF, 65);
line(0,380,600,380);

// Grey Lines
stroke (155,255);
strokeWeight(12);
line(0,10,600,10);
stroke(155,245);
line(0,30,600,30);
stroke(155,235);
line(0,50,600,50);
stroke(155,225);
line(0,70,600,70);
stroke(155,215);
line(0,90,600,90);
stroke(155,205);
line(0,110,600,110);
stroke(155,195);
line(0,130,600,130);
stroke(155,185);
line(0,150,600,150);
stroke(155,175);
line(0,170,600,170);
stroke(155,165);
line(0,190,600,190);
stroke(155,155);
line(0,210,600,210);
stroke(155,145);
line(0,230,600,230);
stroke(155,135);
line(0,250,600,250);
stroke(155,125);
line(0,270,600,270);
stroke(155,115);
line(0,290,600,290);
stroke(155,105);
line(0,310,600,310);
stroke(155,95);
line(0,330,600,330);
stroke(155,85);
line(0,350,600,350);
stroke(155,75);
line(0,370,600,370);
stroke(155,65);
line(0,390,600,390);
stroke(155,55);

// Sun
stroke(#FF9900, 210);
strokeWeight(8);
fill(#FFFF99, 220);
ellipse(295,195,180,180);

// Left Lens
stroke(0);
strokeWeight(4);
fill(#D8CFC7, 220);
rect(230,160, 55, 40, 3);

// Right Lens
stroke(0);
strokeWeight(4);
fill(#D8CFC7, 220);
rect(302,160, 55, 40, 3);

// Frame
stroke(0);
line(285,180,300,180);
stroke(0);
line(230,180,210,160);
stroke(0);
line(358,180,380,160);

// Mouth
stroke(#FF9900, 210);
strokeWeight(6);
fill(#F0D1B2, 220);
arc(292, 220, 80, 80, 0, PI, CHORD);

// buck teeth
noStroke();
fill(255);
rect(283,225, 10, 8, 3);
rect(298,225, 10, 8, 3);

Submit a comment