xxxxxxxxxx
33
function setup() {
createCanvas(1080, 720);
strokeWeight(2);
}
function draw() {
background(209, 242, 0);
let n = 8
let w = width/n
let h = height/n
translate(w/2.2,h/2);
for(let i=0; i<n; i++){
for(let a=0; a<n; a++){
push()
translate(i*w,a*h)
fill(234, 85, 154);
square(6,6,50)
for(let i=0; i<10; i++){
fill(0, 149, 199);
circle(540,360,200+ sin((frameCount+i*4)*0.1)*200)
fill(234, 85, 154)
circle(540,360,+ sin(frameCount*0.03)*200)
}
}