xxxxxxxxxx
27
function setup() {
createCanvas(1400, 775, WEBGL);
}
function draw() {
background("#ff0000");
normalMaterial();
rotateX(QUARTER_PI)
rotateZ(frameCount * 50)
rotateY(frameCount * 0.01)
noStroke()
torus(75, 5)
torus(108, 5)
torus(141, 5)
torus(175, 5)
torus(208, 5)
torus(241, 5)
torus(275, 5)
torus(308, 5)
torus(341, 5)
rotateY(frameCount * 0.01)
rotateX(frameCount * 0.01)
ellipsoid(50, 50, 50)
}