wonderburg7
12/13/2018 - 11:33 PM

something to do with circles.pde

int i = 0, j =0, k =0, y=0, r, degreepoint = 0, d1, d2;
int angle1, point;
int radius = 300;

void setup()
{
  size(800, 800);
  background(255, 254, 233);
  noLoop();
}


void draw() {


  strokeWeight(3);

  stroke(0, 0, 0);


  //translate(width*0.25, height*0.25);
  pushMatrix();
  translate(width*.5, width*.5);
 
  for (k = 0; k < 360; k++) { 
    angle1 = k;
    line(0, 0, radius*cos(radians(angle1)), radius*sin(radians(angle1)));
  }

  popMatrix();

  //save("circles.png");

  print("done");
}

/* float ry = 0, ry2, i, j;

void setup() {
  size(700, 700);
  background(57);
  smooth();
  noFill();
  stroke(2);
  noLoop();
}
  
  void draw() {
    
  beginShape();

 for(j = 0; j < height; j++){  
  for(i = 0; i < height; i++){
  //curveVertex(ry, i);
  ry += int(random(-2,2));
  line(ry2, i, ry,i);
   ry2 = ry;
  }
     ry =+ j*2;
  }
  
  endShape();

} */