HIGHLANDS MIDDLE SCHOOL COMPUTERS
  • Home
  • LESSONS
    • 6TH GRADE
    • DREAM TEAM
    • 7TH GRADE >
      • Hour of Code
      • OTHER LESSONS (7TH)
    • 8TH GRADE >
      • OTHER LESSONS (8TH)
    • CAREER EXPLORATION
  • Games
  • COMPUTERS
    • Classroom Policies
    • About Mr. Larsen
    • Syllabus
    • High School Computers

Hour of Code

https://www.khanacademy.org/hourofcode

​

Picture
Picture
Picture

The code below created the pic above

​// hair ?
fill(0, 0, 0);
rect(99,103,203,283,28);
fill(18, 7, 0);
ellipse(201,123,203,183);
 
// face ?
fill(196, 154, 102);
ellipse(200, 196, 188, 254);
fill(0, 0, 0);
 
//left eye
fill(255, 255, 255);
ellipse(154,170,77,77);
ellipse(248,170,77,77);
fill(0, 0, 0);
ellipse(154,172,59,59);
fill(255, 255, 255);
fill(102, 69, 20);
ellipse(151,185,25,25);
fill(255, 255, 255);
ellipse(161,167,29,29);
 
//right eye
fill(0, 0, 0);
ellipse(249,170,59,59);
fill(102,69,20);
ellipse(243,183,25,25);
fill(255, 255, 255);
ellipse(250,167,27,27);
 
//bangs
fill(18, 7, 0);
noStroke();
triangle(207,35,102,99,99,290);
triangle(195,49,299,107,302,268);
 
//nose
 
fill(156, 117, 69);
ellipse(205,239,40,29);
 
//mouth
fill(189, 113, 132);
ellipse(204,284,57,30);
stroke(0, 0, 0);
line(176,281,232,282);

Picture
​background(130, 184, 76);
noStroke();
 
//arms
fill(130, 121, 123);
ellipse(245, 151, 31, 32);
ellipse(154, 151, 31, 32);
 
//ears
fill(185,222,216);
ellipse(230, 95, 45, 45);
ellipse(169, 95, 45, 45);
//brown part
fill(130,121,123);
ellipse(230,95,30,30);
ellipse(169,95,30,30);
 
//body
fill(185, 222, 216);
ellipse(200, 180, 105, 108);
 
//head
fill(185, 222, 216);
ellipse(200, 119, 71, 67);
 
//legs
fill(130,121,123);
ellipse(165,230,23,13);
ellipse(235,230,23,13);
 
//eyes
fill(1);
ellipse(215,113,12,12);
ellipse(184,113,12,12);
 
//nose
fill(130,121,123);
ellipse(200,124,14,13);
 
//wtv that is
ellipse (200,136,21,6);
 
//tree
fill(161, 131, 131);
rect(77, 232, 447, 39);
rect(349,1,51,407);
//leaves
fill(170, 209, 92);
ellipse(60,268,72,60);
ellipse(70,241,60,60);
ellipse(30,244,40,40);
ellipse(44,224,29,20);
ellipse(27,266,38,30);
ellipse(90,263,40,35);
 
//grass
rect(0,380,349,30);
  • Home
  • LESSONS
    • 6TH GRADE
    • DREAM TEAM
    • 7TH GRADE >
      • Hour of Code
      • OTHER LESSONS (7TH)
    • 8TH GRADE >
      • OTHER LESSONS (8TH)
    • CAREER EXPLORATION
  • Games
  • COMPUTERS
    • Classroom Policies
    • About Mr. Larsen
    • Syllabus
    • High School Computers