Retro

by Nathan Dagher
  • Show Sketch
/**@peep sketchcode */
size (400,400);
background(26, 0, 255);
//begin stripes
stroke (255);
for (int y = 390; y >= 390; y -= 20) {
for (int x = 10; x <= 390; x += 4) {
  line(x, x, x, y);
}
}
//begin circles
noFill();
for (int d = 10; d < 390; d += 10) {
  ellipse(d, d, d, d);
}
  • Show Sketch
/**@peep sketchcode */
void setup(){
size (400,400);
}
void draw(){
background(100,100,100);
//begin stripes
stroke (255);
for (int y = 390; y >= 390; y -= 20) {
for (int x = 10; x <= 390; x += 4) {
  line(y, x, x, y);
}
}
//begin circles
noFill();
for (int d = 10; d < 390; d += 10) {
  ellipse(d, d, d, x);
}
}

Comments

Nobody has said anything yet.