5 - Ell­i­p­s­e loop 2.0

by Michael McCammon
  • Show Sketch
/**@peep sketchcode */
 
size (500, 500);
background (0, 240, 150);
 
noStroke();
fill(245, 30, 90);
smooth();
for (int x = -width/50; x <= 350; x += width/50){
  for (int y = -height/50; y <= 350; y += height){
    float ix = y+x/16.0; 
    float iy = x+y/16.0;
    float iw = 3*width/100 + x/2;
    float ih = height/50;
 ellipse (ix + 250,iy + 50,iw, ih);
  }
}

Comments

Nobody has said anything yet.