Title:
Applications-draw-beautiful-flowers Download
Description: 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,
To Search:
File list (Check if you may need any files):
用程序绘制美丽的花\MSSCCPRJ.SCC
..................\~$绘制美丽的花.doc
..................\玫瑰线.frm
..................\玫瑰线.frx
..................\玫瑰线.vbp
..................\玫瑰线.vbw
用程序绘制美丽的花