Hi all, I’m have no idea with coding but I really tried hard to fix it.
I was stuck to draw on the flower petal code, I have tried for couple times but it not works.
The flower petal couldn’t be rotated. Plus, when I rotate it, the face will turn it up as well. I hope to get someone to look on my code and revise it. Thanks for advance
Attach below is my code in processing.
void setup (){
size(600,600);
}
void draw(){
background(0,0,153);
//first petal
fill(255,255,255);
ellipse(300,145,95,200);
ellipse(390,140,95,200);
//face
fill(255,219,77);
ellipse(300,300,300,300);
noStroke();
//eyes
fill(38,38,38);
ellipse(255,265,30,55);
ellipse(345,265,30,55);
//mouth
arc(300, 340, 65, 90, 0, 90);
}