Created
September 17, 2014 15:28
-
-
Save rlieberman/5c1bba30ed3fd9a13a75 to your computer and use it in GitHub Desktop.
Pizza Pizza Static Processing Sketch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
size(1000, 790); | |
background(18, 255, 204); | |
//pizza shadow | |
noStroke(); | |
fill(54, 158, 136); | |
triangle(300, 150, 900, 150, 600, 750); | |
ellipseMode(CENTER); | |
ellipse(600, 150, 598, 100); | |
//pizza crust | |
noStroke(); | |
fill(194, 151, 52); | |
triangle(200, 100, 800, 100, 500, 700); | |
ellipseMode(CENTER); | |
ellipse(500, 100, 598, 100); | |
//pizza background | |
noStroke(); | |
fill(247, 204, 106); | |
triangle(225, 150, 775, 150, 500, 700); | |
ellipseMode(CENTER); | |
ellipse(500, 155, 545, 75); | |
//trying out a pepperoni | |
noStroke(); | |
ellipseMode(CENTER); | |
fill(140, 27, 1); | |
ellipse(590, 400, 100, 100); | |
//all the pepperonis | |
noStroke(); | |
ellipseMode(CENTER); | |
fill(140, 27, 1); | |
ellipse(370, 300, 100, 100); | |
ellipseMode(CENTER); | |
ellipse(550, 220, 100, 100); | |
ellipseMode(CENTER); | |
ellipse(480, 515, 100, 100); | |
//now it's time for some cheese | |
stroke(255, 247, 8); | |
strokeWeight(15); | |
strokeCap(SQUARE); | |
line(300, 250, 325, 200); | |
line(475, 300, 450, 250); | |
line(525, 450, 550, 500); | |
line(650, 300, 675, 250); | |
//green peppers | |
stroke(9, 222, 98); | |
strokeWeight(25); | |
strokeCap(SQUARE); | |
line(395, 450, 420, 460); | |
line(450, 210, 475, 200); | |
line(500, 410, 525, 400); | |
line(660, 170, 685, 180); | |
//black olives r the best | |
ellipseMode(CENTER); | |
stroke(0); | |
strokeWeight(12); | |
fill(153, 135, 106); | |
ellipse(375, 200, 30, 30); | |
ellipse(500, 628, 30, 30); | |
ellipse(450, 400, 30, 30); | |
ellipse(555, 315, 30, 30); | |
ellipse(640, 225, 30, 30); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment