Introduction - If you have any usage issues, please Google them yourself
1. Algorithm Overview
If using an event loop to control the angle β from 0 to 2π, then draw the flower is static. If the timer event so that β increases every time a certain value, and draw the corresponding line segment, then draw the flower is dynamic. If you add a timer event in the time factor, that equation becomes: x = Asin (nβ) cos (β+ t), y = Asin (nβ) sin (β+ t) changing the value of t, and Each t draw β from 0 to 2π corresponding to the graphics, then draw the flowers will spin. If the line drawn between the endpoints, then draw the flower is hollow if drawn from the center line to the end, the draw of the flower is solid.
2. Interface design
Start VB6.0, add the following controls: used to select the pattern of the combo box Combo1 (the nickname as a list in front of the six items), the effect of the combo box for selecting Combo2 (list of contents as follows: static, dynamic and rotary) , n used to change the scroll bar HScroll1, n used to display the label Label1,