{"size": 705, "ext": "js", "max_stars_repo_path": "RobertoAlesi/P5.js/Generatore di Pattern/sketch.js", "max_stars_repo_name": "emanuelepizzuti/archive", "max_stars_repo_stars_event_min_datetime": "2021-03-05T14:17:04.000Z", "max_stars_repo_stars_event_max_datetime": "2021-10-05T10:06:33.000Z", "max_issues_repo_path": "RobertoAlesi/P5.js/Generatore di Pattern/sketch.js", "max_issues_repo_name": "LucillaCesaroni/archive", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "RobertoAlesi/P5.js/Generatore di Pattern/sketch.js", "max_forks_repo_name": "LucillaCesaroni/archive", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 18.5526315789, "max_line_length": 56, "alphanum_fraction": 0.475177305}
var spz = 10;
var t = 0;

function setup() {
  createCanvas(windowWidth, windowHeight);
  rectMode(CENTER);
//  frameRate(160);
}

function draw() {
  background(0,10);
  
    // fill(float(noise(t)*255));

  for (var x = 0; x<= windowWidth; x+=5) {
    for (var y = 0; y<= windowHeight; y+=5) { 
      var posX = spz * x;    
      var posY = spz * y; 
      
      if(x%3==0 || y%3==0){
        stroke(255);
       
         circle(posX, posY, 90- frameCount%90);
        }
      else if(x%1==0 || y%1==0){
       // push(); 
        stroke(255);
        noFill();
        //rotate(frameCount%2*TWO_PI)
        rect(posX, posY, frameCount%120,frameCount%120);
   
      }
      t++
      
     }
   }
}
