Moving
using coordinates
We
have been moving the turtle around the screen by using the direction
commands: Forward, Backward, left and Right. There are two other ways
to move the turtle around by setting heading and coordinates
commands. These commands are found in the 'Turtle' palette.
Set
xy Command:
The
cartesian coordinates can
be viewed by clicking on the menu 'view --> Cartesian
coordinates'.
Set
xy command is used to set the coordinates
of x and y. Every point can be represented with the x-axis value and
y-axis value as we represent in graph. Similarly this command helps
in setting the x and y axis values of the point to which the turtle
is instructed to move.
No comments:
Post a Comment