xxxxxxxxxx
22
let detailx = 24
let detaily = 24
function setup() {
createCanvas(400, 400, WEBGL);
}
function draw() {
background(0);
translate(0,0,-100);
rotateX(10);
rotateY(7);
//noStroke();
stroke(50);
for (let i=-5; i<0; i++){
let r = 50*i+frameCount/2
if (r<=0)
continue;
fill(255,50);
sphere(r,detailx,detaily);
}
}