how to draw flower petals around circle javascript
size(400, 400);
background(#ffffff);
smooth();
how to draw flower petals around circle javascript
size(400, 400);
background(#ffffff);
smooth();
how to draw flower petals around circle javascript
size(400, 400);
background(#ffffff);
smooth();
// set centre point
translate(width/2, height/2);
// centre circle
ellipse(0, 0, 50, 50);
// draw 5 petals, rotating after each one
for (int i = 0; i < 5; i++) {
ellipse(0, -50, 50, 50);
rotate(radians(72));
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us