Home  >  Article  >  Software Tutorial  >  How to make Sierpinski triangle in geometric sketchpad

How to make Sierpinski triangle in geometric sketchpad

PHPz
PHPzforward
2024-04-22 10:31:28386browse

The Sierpinski triangle in Geometry Sketchpad is also called the sierpinski triangle. Its fractal nature is very interesting. The triangle is composed of countless reduced versions of itself. This tutorial will guide you to use the geometric sketchpad software to gradually create the Sierpinski triangle. Although it is difficult to make, the detailed steps and example illustrations will help everyone master it easily. Please continue reading, follow the explanation of php editor Yuzai, and explore the mystery of this fractal geometry!

1. Create a new geometric sketchpad file. Draw line segment AB.

Construct the equilateral triangle ABC. Double-click point A, which is marked as the center of rotation. Select line segment AB and point B, select the [Transform]-[Rotate] command, and set the rotation angle to 60 degrees. Click the [Rotate] button. Change the label of point B’ to C. Draw line segment BC.

How to make Sierpinski triangle in geometric sketchpad

3. Select the line segments AB, AC, and BC, select the [Construction]-[Midpoint] command, and draw the midpoints D, E, and F of the three. Draw line segments DE, EF, and DF.

How to make Sierpinski triangle in geometric sketchpad

4. Select points A and B, and select the [Transform]-[Iteration] command. Click A, D in sequence. Then select the [Add New Mapping] command in [Structure], and then click points D and B. Then select the [Add New Mapping] command in [Structure], and then click points E and F. As shown below. Select the [Add Iteration] command in [Display] and click the [Iteration] button.

How to make Sierpinski triangle in geometric sketchpad

5. The final effect is as shown in the picture, select the [File]-[Save] command.

How to make Sierpinski triangle in geometric sketchpad

The above is the detailed content of How to make Sierpinski triangle in geometric sketchpad. 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