Question: Write a program that will draw a flower each petal in the flower can be 137.5 degrees from the previous. The petals themselves can be
Write a program that will draw a flower each petal in the flower can be 137.5 degrees from the previous.
The petals themselves can be constructed from any primitives, but they should be "interesting". They should have varying lengths/sizes (getting longer as they trace the spiral), and colours (use a predictable or constrained random choice). For this question, you do not need to limit yourself to OpenGL-style beginShape() and endShape() geometry: you may use any of the Processing 2D primitives you like.
The complete flower should be centered, and fill most of the window. Use any coordinate system that you are comfortable working in.
Here's an example with uninteresting petals (triangles), yours should look better:

Use processing.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
