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