xxxxxxxxxx
78
function setup() {
}
function draw() {
//Pollen
createCanvas(400, 400);
frameRate(random(3,7));
background('YellowGreen');
noStroke();
//Circle
fill('DarkOliveGreen');
ellipse(200, 200, 400, 400);
fill('Snow');
circle (200, 200, random(200,250));
fill('YellowGreen');
ellipse (200, 200, 150, 150);
//Stem
fill('ForestGreen');
triangle(200, 200, 150, 400, 250, 400);
//1Petal
strokeWeight(60);
stroke(184, 210, 236);
line(random(0,50), random(180,220), 130, 200);
//2Petal
strokeWeight(60);
stroke(184, 210, 236);
line(250, 200, random(300, 400) , random(170,230));
//3Petal
strokeWeight(60);
stroke(random(170,184), 210, random(200,236));
line(random(180,220), random(10,100), 200, 200);
//4Petal
strokeWeight(60);
stroke(random(150,190), random(190,220), 236);
line(random(25,60), random(10,150), 200,200);
//5Petal
strokeWeight(60);
stroke(random(150,190), random(190,220), 236);
line(200,200, random(280,330),random(290,340));
//6Petal
strokeWeight(60);
stroke(190, random(190,210), random(200,236));
line(200,200,random(290,320),random(25,50));
//7Petal
strokeWeight(60);
stroke(190, random(190,210), random(200,236));
line(random(40, 80), random(320,350), 200,200);
//LowestPetal
strokeWeight(60);
stroke(190, random(190,210), random(200,236));
line(200,200, random(180,220), random(300,350));
//Center
noStroke();
fill('Khaki');
circle(200,200,random(100, 120));
}