====== Larissa's Surprising Space: Geometry ====== [[larissa-kuo| by Larissa Kuo]] function setup() { createCanvas(1920, 1080); } function draw() { background(4, 94, 204); noStroke() //big earth fill(100, 157, 250) ellipse(1000,600,900) stroke(255); line(650,680,800,850) line(650,680,770,530) line(770,530,740,350) line(740,350,930,270) line(930,270,1150,330) line(1150,330,1300,500) line(1300,500,1300,720) line(1300,720,1070,950) line(1070,950,800,850) line(650,680,1020,740) line(1020,740,800,850) //spaceport fill(58, 158, 105) ellipse(650,680,140) //forest fill(58, 158, 105) ellipse(1020,500,200) //medical fill(58, 158, 105) ellipse(800,850,150) //living fill(58, 158, 105) ellipse(1020,740,250) //finacial fill(58, 158, 105) ellipse(1070,950,130) //trash fill(58, 158, 105) ellipse(1300,720,160) //water fill(58, 158, 105) ellipse(1300,500,150) //farm fill(58, 158, 105) ellipse(1150,330,150) //electricity fill(58, 158, 105) ellipse(770,530,140) //contruction fill(58, 158, 105) ellipse(740,350,130) //for fun fill(58, 158, 105) ellipse(930,270,140) //rocket fill(250, 251, 252); rect(200, 250, 95, 155, 30); fill(58, 158, 105); triangle(200, 265, 295, 265, 248, 175); ellipse(248, 306, 55, 55); fill(4, 94, 204); ellipse(248, 306, 45, 45); noFill(); }