Home  >  Article  >  Software Tutorial  >  How to make geometric drawing board Pythagorean tree

How to make geometric drawing board Pythagorean tree

WBOY
WBOYforward
2024-04-08 09:31:05792browse

php Xiaobian Yuzai will show you how to make the geometric drawing board Pythagorean tree. The Pythagorean tree is a geometric figure created using the Pythagorean theorem. The trunk and branches are drawn through right-angled sides of different lengths, presenting a lifelike tree shape. Making Pythagorean tree only requires simple geometric knowledge and some creativity. Let's explore the secret of making Pythagorean tree together!

1. Use the rotation method to draw the square ABCD

(1) Draw the line segment AB.

(2) Double-click point A and 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 D.

(3) Double-click point D and mark point D as the center of rotation. Select point A, select the [Transform]-[Rotate] command, and rotate point A -90 degrees to obtain point C.

(4) Draw line segments AD, DC, and BC.

How to make geometric drawing board Pythagorean tree

2. Construct the midpoint E of DC, and construct a circle with point E as the center and EC as the radius

(1) Select the line segment DC and select [Construct] —[Midpoint] command to draw the midpoint E of DC.

(2) Select point E and point C in turn, and select the [Construction]-[Draw a circle with the center of the circle and points on the circumference] command.

How to make geometric drawing board Pythagorean tree

3. Construct arc CD, and pick point F

(1) Select points C, D and circle E, select [Construction]-[ Arc on Circle] command.

(2) Keep the arc selected, select the [Construction]-[Point on Arc] command, and draw point F arbitrarily.

How to make geometric drawing board Pythagorean tree

4. Build Pythagorean tree animation button

(1) Select point F, click [Edit] - [Operation Button] - [Animation] to open [Properties of animation points of operation buttons] dialog box, select the [Animation] tab, set [Direction] to [Bidirectional]; [Speed] to [Slow].

(2) Then select the [Label] tab, enter [Pythagorean Animation Button] in the label bar, and click [OK].

(3)Adjust the position of the button.

How to make geometric drawing board Pythagorean tree

5. Hide some objects

Hide circle E, arc CD, and point E.

How to make geometric drawing board Pythagorean tree

6. Measure the length of FD and construct the interior of the square

(1) Select the moving point F and the fixed point D, click [Measure] - [ Distance], measure the distance FD.

(2) Select points A, B, C, and D, and click [Construction]-[Inside Quadrilateral].

How to make geometric drawing board Pythagorean tree

7. Set the default color parameters

Select FD=1.51 cm, inside the square, click [Display] - [Color] [Parameters] to open the color parameter dialog box, adopt the default settings, and click the [OK] button.

How to make geometric drawing board Pythagorean tree

8. New parameter

Click [Data] menu - [New parameter] to open the new parameter dialog box, enter [Parameter] in the [Name] box , click [OK] to create a new [Parameter Button].

How to make geometric drawing board Pythagorean tree

9. Build iteration

(1) After selecting points B, A, and [Parameter = 1.00] button, hold down the Shift key and click [ Transform]-[Depth Iteration], open the [Iteration] dialog box.

(2) Click points C and F in sequence on the image.

(3) Click the [Structure] button and click [Add New Mapping].

(4) Click points F and D in image 2, and click the [Iterate] button.

(5)Adjust the button position as shown in the figure.

How to make geometric drawing board Pythagorean tree

10. Draw the Pythagorean tree

Select the [Parameter=1.00] button, press the number button on the numeric keyboard, and change the parameter to 5, as shown in the figure below Display graphics. Click the [Pythagorean Animation Button] to see the moving Pythagorean tree. At this point you have completely drawn the beautiful [Pythagorean tree].

How to make geometric drawing board Pythagorean tree

The above is the detailed content of How to make geometric drawing board Pythagorean tree. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:zol.com.cn. If there is any infringement, please contact admin@php.cn delete