static void varyPolyWithColor(PolygonWithColor l, int w, int h) { int i = random(l(l.points)+1); if (i == 0) l.color = varyColor(l.color); else l.points.set(i-1, varyPoint(l.points.get(i-1), w, h)); }