Home  >  Article  >  Software Tutorial  >  How to use geometric sketchpad to create graphics translation and rotation

How to use geometric sketchpad to create graphics translation and rotation

WBOY
WBOYforward
2024-04-17 17:31:361025browse

php Xiaobian Yuzai brings you the operation method of making graphics translation and rotation in the geometric sketchpad. This tutorial will introduce in detail how to use the geometric sketchpad to draw graphics and adjust the position and direction of the graphics through translation and rotation operations. If you're looking for a guide on how to use Geometric Sketchpad for graphic manipulation, this tutorial will give you all the information you need. Read on to learn more about translation and rotation operations.

1. Use the geometric sketchpad to create graphics translation

Open the geometric sketchpad, select the [Polygon Tool] on the left toolbar, and draw any △ABC in the blank area of ​​the sketchpad,

How to use geometric sketchpad to create graphics translation and rotation

Select [Point Tool] to draw two points D and E in the blank area. Select these two points and execute the "Transform"-"Mark Vector" command.

How to use geometric sketchpad to create graphics translation and rotation

Select △ABC to be translated, execute the "Transform" - "Translate" command, and click the [Translate] button in the pop-up translation dialog box to get the translated triangle.

How to use geometric sketchpad to create graphics translation and rotation

2. Create graphic rotation animation with geometric sketchpad

Here we will take the △ABC drawn above as an example to introduce the method of rotating it 180 degrees.

Mark the center of rotation. Here is an example to set point C as the rotation center, select [Select Arrow Tool], select point C and double-click to set it as the rotation center; or select point C and execute the [Transform]-[Mark Center] command.

How to use geometric sketchpad to create graphics translation and rotation

Use the move selection tool to select △ABC, execute the [Transform] - [Rotate] command, enter the rotation angle of 180 degrees in the pop-up dialog box, and then click [Rotate]. Obtain the triangle A'B'C after rotating △ABC by 180 degrees, as shown in the figure.

How to use geometric sketchpad to create graphics translation and rotation

The above is the detailed content of How to use geometric sketchpad to create graphics translation and rotation. 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