/** @peep sketchcode */
size(200, 200);
int y = 20;
for (int x = 20; x < width; x += 20) {
rect(x-5, x-5, 10, 10);
}
/** @peep sketchcode */
size(200, 200);
for (int y = 20; y < height; y += 20)
{
for (int x = 20; x<= y; x += 20)
{
rect(x-5, y-5, 10, 10);
}
}
/** @peep sketchcode */
size(200, 200);
smooth();
strokeWeight(20);
noFill();
bezier(0, random(height), 0, random(height), width, random(height), width, random(height));
bezier(0, random(height), 0, random(height), width, random(height), width, random(height));
bezier(0, random(height), 0, random(height), width, random(height), width, random(height));
bezier(0, random(height), 0, random(height), width, random(height), width, random(height));
bezier(0, random(height), 0, random(height), width, random(height), width, random(height));
Comments
Nobody has said anything yet.