Difference between revisions of "TurtleLeft Command"
From GeoGebra Manual
m (Text replace - "" to "") |
m |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|3D}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|3D}} | ||
− | |||
;TurtleLeft[ <Turtle>, <Angle> ] | ;TurtleLeft[ <Turtle>, <Angle> ] | ||
:The turtle turns to the left by a given angle. | :The turtle turns to the left by a given angle. | ||
− | :{{example| 1=<div><code><nowiki>TurtleLeft[turtle, 1]</nowiki></code> turns the turtle to the left by 1 rad, if [[File: Animate_Pause.png]]'' Pause'' button is displayed. Otherwise you must press the [[File: Animate_Play.png]]'' Play'' button so that the rotation is effected.</div>}} | + | :{{example| 1=<div><code><nowiki>TurtleLeft[turtle, 1]</nowiki></code> turns the turtle to the left by 1 rad, if [[File: Animate_Pause.png|link=]]'' Pause'' button is displayed. Otherwise you must press the [[File: Animate_Play.png|link=]]'' Play'' button so that the rotation is effected.</div>}} |
:{{example| 1=If you enter <code><nowiki>TurtleLeft[turtle, 1°]</nowiki></code> the turtle turns to the left by 1 degree. }} | :{{example| 1=If you enter <code><nowiki>TurtleLeft[turtle, 1°]</nowiki></code> the turtle turns to the left by 1 degree. }} | ||
{{Note| See also [[Turtle Command|Turtle]], [[TurtleBack Command|TurtleBack]], [[TurtleForward Command|TurtleForward]] and [[TurtleRight Command|TurtleRight]] commands.}} | {{Note| See also [[Turtle Command|Turtle]], [[TurtleBack Command|TurtleBack]], [[TurtleForward Command|TurtleForward]] and [[TurtleRight Command|TurtleRight]] commands.}} |
Revision as of 15:07, 11 August 2015
- TurtleLeft[ <Turtle>, <Angle> ]
- The turtle turns to the left by a given angle.
- Example:
TurtleLeft[turtle, 1]
turns the turtle to the left by 1 rad, if Pause button is displayed. Otherwise you must press the Play button so that the rotation is effected.
- Example: If you enter
TurtleLeft[turtle, 1°]
the turtle turns to the left by 1 degree.
Note: See also Turtle, TurtleBack, TurtleForward and TurtleRight commands.