size(900, 300); noStroke(); for (int y=0; y<300; y+=5) { for (int x=0; x<900; x+=5) { fill(266-(x+y)*0.3, 266-(x+y)*0.2, 266-(x+y)*0.4); rect(x, y, 5, 5); } } noStroke(); smooth(); for (int a=0; a<=25; a++) { float r = random(40); float p = random(300); float k = random(300); float m = random(300); fill(random(255), random(255), random(255), random(255)); ellipse(p, m, r, r); fill(random(255), random(255), random(255), random(255)); rect(k, p, r, r); } stroke(5); line(330, 0, 330, 300); smooth(); translate(450, 70); strokeWeight(5); for (int i=0; i<=360; i+=5) { rotate(radians(12)); line(0, 0, 10, 60); if (i%2==0) { stroke(#FF0303); } else { stroke(#1F8DFF); } } smooth(); translate(-100, -120); strokeWeight(5); for (int i=0; i<=360; i+=5) { rotate(radians(12)); line(0, 0, 10, 60); if (i%2==0) { stroke(#620076); } else { stroke(#F002B9); } } smooth(); translate(50, 155); strokeWeight(5); for (int i=0; i<=360; i+=5) { rotate(radians(12)); line(0, 0, 10, 60); if (i%2==0) { stroke(#F08502); } else { stroke(#02F0D2); } }
|