Code
size(500,300); background(111,88,149); smooth(); fill(0,200,0); stroke(0,255,0); strokeWeight(5); ellipse(225,70, 70,70); noFill(); strokeWeight(4); ellipse(225,70,90,90); strokeWeight(3); ellipse(225,70, 110,110); strokeWeight(2); ellipse(225,70, 130,130); strokeWeight(1); ellipse(225,70, 150,150); ellipse(225,70, 210,210); ellipse(225,70, 300,300); ellipse(225,70, 450,450); fill(234,125,21); strokeWeight(3); stroke(255,255,0); quad(1,200, 498,200, 498,298, 1,298); strokeWeight(2); fill(254,145,41); ellipse(100,250, 90,60); ellipse(100,220, 70,50); ellipse(100,200, 50,40); rect(400,230, 90,20); rect(410,210, 70,30); rect(420,190, 50,40); rect(430,170, 30,50); rect(440,150, 10,60); stroke(118,12,12); fill(188,12,12); ellipse(90,195, 2,2); ellipse(110,195, 2,2); line(130,220, 160,200); line(70,220, 40,200); ellipse(100,230, 2,2); ellipse(100,240, 2,2); ellipse(100,250, 2,2); ellipse(100,260, 2,2); noFill(); curve(120,195, 95,215, 105,215, 90,195);
0004 - Simple Landscape: More with basic primitives
Statement:In a canvas no larger than 640x480 pixels, create a landscape image using any graphics primitives you wish. (You may use typography if you're feeling advanced, but no pre-loaded images.)
hide statement