// Variant of Example 4-7 from Reas/Fry book size(800, 300); strokeWeight(2); for (int i = 50; i < 700; i += 10) { line(i, 100, i+50, 200); }