// Day 4: // Example: snow removal the HARD way // mjh-2013 // initialize program size(600, 400); background(255); strokeWeight(10); stroke(0); // draw sidewalk and border with neighbour line(10, 100, 590, 100); line(10, 200, 590, 200); stroke(227, 0, 0); line(350, 75, 350, 225); textSize(40); fill(127); text("Your sidewalk", 20, 50); text("Neighbour's", 350, 50); // let's shovel the snow fill(0); stroke(140); ellipse(25, 125, 50, 50); ellipse(75, 125, 50, 50); /* finish top half */ ellipse(125, 125, 50, 50); ellipse(175, 125, 50, 50); ellipse(225, 125, 50, 50); ellipse(275, 125, 50, 50); ellipse(325, 125, 50, 50); // bottom half of sidewalk ellipse(25, 175, 50, 50); ellipse(75, 175, 50, 50); ellipse(125, 175, 50, 50); ellipse(175, 175, 50, 50); ellipse(225, 175, 50, 50); ellipse(275, 175, 50, 50); ellipse(325, 175, 50, 50);