cupolaDance
function setup() {
createCanvas(windowWidth, windowHeight, WEBGL);
noStroke();
normalMaterial();
}
function draw() {
background(50);
rotateX(PI / 2);
orbitControl();
t = frameCount / 2000;
n = 90;
for (let i = 0; i < n; i += TWO_PI / n) {
push();
rotateY(PI / n);
rotateX(t * i);
translate(200 * sin(i), 0, 200 * cos(i));
cylinder(1000 / n, 1000 / n, 4, 12);
pop();
}
}