New parameters. Open the geometric sketchpad, click [Data] - New Parameter in the menu bar, fill in the number of sides 8 in the [Value] box of the pop-up [New Parameter] dialog box, the unit [None], and click the [OK] button. In this way, a box will appear in the upper left corner of the canvas with the number of sides written in it. This is our new parameter.
Select the regular polygon tool. Click [Customize Tools] in the left sidebar, select [Regular Polygon] - Positive n deformation (inner n ≤ 42),
draw a regular octagon. Click the newly created parameter with the mouse, and a point will appear. This point is the center of the regular octagon to be made. Then drag the mouse to draw a regular octagon of a certain size.
The above is the detailed content of How to create a regular octagon using the Geometry Sketchpad custom tool. For more information, please follow other related articles on the PHP Chinese website!