{"size": 563, "ext": "js", "max_stars_repo_path": "benchmark/p5.js/test/manual-test-examples/webgl/origin/center_origin/sketch.js", "max_stars_repo_name": "icpc17/UFFOptimizer", "max_stars_repo_stars_event_min_datetime": "2018-12-18T16:18:55.000Z", "max_stars_repo_stars_event_max_datetime": "2020-02-22T09:31:36.000Z", "max_issues_repo_path": "benchmark/p5.js/test/manual-test-examples/webgl/origin/center_origin/sketch.js", "max_issues_repo_name": "icpc17/UFFOptimizer", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "benchmark/p5.js/test/manual-test-examples/webgl/origin/center_origin/sketch.js", "max_forks_repo_name": "icpc17/UFFOptimizer", "max_forks_repo_forks_event_min_datetime": "2019-02-20T20:36:57.000Z", "max_forks_repo_forks_event_max_datetime": "2020-01-21T12:38:41.000Z"}
{"max_stars_count": 8, "max_issues_count": null, "max_forks_count": 2, "avg_line_length": 17.59375, "max_line_length": 49, "alphanum_fraction": 0.4245115453}
function setup(){
  createCanvas(windowWidth, windowHeight, WEBGL);
}

function draw(){

  background(255);

  rotateY(frameCount * 0.01);

  var gap = 200;
  var w = 100;
  var h = 100;

  for(var i = -2; i < 3; i++){
    for(var j = -2; j < 3; j++){
      basicMaterial( (i+2) * 40, (j+2) * 40, 0);
      push();
      translate(i*gap, j*gap,0);
      plane();
      pop();
      // quad(
      //   i * gap, j * gap, 0,
      //   i * gap + w, j * gap, 0,
      //   i * gap, j * gap + h, 0,
      //   i * gap + w, j * gap + h, 0
      //   );
    }
  }
  

}