Home >Software Tutorial >Computer Software >Tutorial on how to draw the Pythagoras tree using geometric sketchpad
Winter Rhapsody Strategy to Unlock All Skills PHP editor Xigua will reveal the secret to you! This character plot simulation game is based on a small town story and incorporates Japanese elements. It is full of challenges and skills are crucial. The game is full of interesting content and rich skill-based gameplay. Unlocking all skills will give you a more comprehensive gaming experience!
Create a new geometric sketchpad file and draw line segment AB. Double-click point A to mark point A as the center of rotation. Select point B, select the [Transform]-[Rotate] command, and rotate point B 90 degrees to obtain point B’. Double-click point B’ and mark point B’ as the center of rotation. Select point A, select the [Transform]-[Rotate] command, and rotate point A -90 degrees to obtain point A’. Draw line segments AB’, B’A’.
Select the line segment B’A’, select the [Construction]-[Midpoint] command, and draw the midpoint C of B’A’. Select point C and point A’ in turn, select [Construction]-[Draw a circle with the center and points on the circumference] command to draw circle C.
Select points A’, B’ and circle C, and select the [Construction]-[Arc on Circle] command. Keep the arc selected, select the [Construction]-[Point on Arc] command, and draw point D arbitrarily.
Hide circle C, point C, semicircle arc and line segment A’B’, and set the line type of line segment BA’ to a thick line. Construct line segment B’D and select it. Select the [Measure]-[Distance] command to measure the length of line segment B’D. Select points A, B, A’, and B’, select [Construction]-[Quadrilateral Interior] command, and fill the quadrilateral ABA’B’. Select the interior of the quadrilateral ABA’B’ and the length of the line segment BD’, select the [Display]-[Color]-[Parameters] command, adopt the default settings in the pop-up dialog box, and click OK.
Select point D, select [Edit]-[Operation Button]-[Animation] command, select [Forward] in the direction bar of the pop-up dialog box, and then click OK.
Select points A and B, and select the [Transform]-[Iteration] command. Click on points B’ and D in turn. Then select the [Structure]-[Add New Mapping] command, and then click points D and A’ in sequence. You can increase or decrease iterations in [Display]. Click the [Iterate] button. In this way, the Pythagoras tree is drawn. When you click the [Movement Point] button, the pattern will change as the point moves, as shown in the figure below.
The above is the detailed content of Tutorial on how to draw the Pythagoras tree using geometric sketchpad. For more information, please follow other related articles on the PHP Chinese website!