Index / 2016 / Assignment 05 Mission 05
300×400 · p5.js instance mode
assignment_05_mission_05.pde 42 lines
int xNose = 140;
int NoseSpd = -1;

void setup() {
 size (300,400);
 background (#AAEBF7);
}

void draw() {
  
 background (#AAEBF7);
 strokeWeight(3);
  
 // Head
 fill(#FF820D);
 stroke(#C46710);
 ellipse(150,200,100,100); 
 
 // Eyes
 // Left Eye (Green)
 fill(#,127);
 stroke(#);
 ellipse(135,185,40,40);
 // Right Eye (Blue)
 fill(#,127);
 stroke(#);
 ellipse(165,185,40,40);
 
 // Nose
 fill(#FF0307,127);
 stroke(#D30206);
 rect(xNose,190,20,20);
 
 // Mouth
 fill(#363434);
 stroke(#);
 ellipse(150,230,40,15);
 
 // Movement
 xNose += NoseSpd;
 
}
read-only archive source from /2016/ASSIGNMENTS/A-05 Programming in Processing/assignment_05_mission_05/assignment_05_mission_05.pde

Description

This page is generated from the Processing project folder at /2016/ASSIGNMENTS/A-05 Programming in Processing/assignment_05_mission_05/assignment_05_mission_05.pde.

Archive

No companion assets were found in this sketch folder.