Home > Article > Software Tutorial > The specific method to realize the sliding of fixed-length line segments around the square using geometric sketchpad
1. Assume that the vertex of the square is ABCD. Open the geometric sketchpad courseware creation tool and use the custom tool to draw a square ABCD on the sketchpad. Then select the four sides of the square and press the shortcut key [Ctrl H] to hide them. In this way, the four vertices A, B, and C.D.
2. Construct the inside of the square. Click the polygon tool on the left sidebar with the mouse, select a polygon without borders, click points A, B, C, D in sequence, and finally click point A to complete the construction of the inside of the square.
3. Construct points on the boundary. Use the move tool to select the inside of the square, click the [Construct] menu on the upper menu bar, and select the [Point on Boundary] command from the drop-down option, thus constructing a point E on the boundary of the polygon.
4. Continue to execute the point construction command on the boundary, make another moving point F, and use the line segment tool to construct the line segment EF, as shown in the figure below.
5. Make animated buttons. Select points E and F in turn, execute the [Edit] - [Operation Buttons] - [Animation] command, click OK in the pop-up dialog box, and that's it. In this way, the animation point button will appear in the upper left corner of the drawing board. Click With this button, the line segment EF slides around the square.
The above is the detailed content of The specific method to realize the sliding of fixed-length line segments around the square using geometric sketchpad. For more information, please follow other related articles on the PHP Chinese website!