Turtle Commando: verschil tussen versies

Uit GeoGebra Manual
Ga naar: navigatie, zoeken
Regel 13: Regel 13:
  
 
Voorbeeld: Definieer achtereenvolgens volgende commando's: <br/>
 
Voorbeeld: Definieer achtereenvolgens volgende commando's: <br/>
:::<code>TurtleVooruit[turtle1, 3]</code><br/>
+
:::<code>TurtleVooruit[schildpad1, 3]</code><br/>
:::<code>TurtleLinks[turtle1, 90°]</code><br/>
+
:::<code>TurtleLinks[schildpad1, 90°]</code><br/>
:::<code>TurtleVooruit[turtle1, 3]</code><br/>
+
:::<code>TurtleVooruit[schildpad1, 3]</code><br/>
:::<code>TurtleLinks[turtle1, 90°]</code><br/>
+
:::<code>TurtleLinks[schildpad1, 90°]</code><br/>
:::<code>TurtleVooruit[turtle1, 3]</code><br/>
+
:::<code>TurtleVooruit[schildpad1, 3]</code><br/>
:::<code>TurtleLinks[turtle1, 90°]</code><br/>
+
:::<code>TurtleLinks[schildpad1, 90°]</code><br/>
:::<code>TurtleVooruit[turtle1, 3]</code><br/>
+
:::<code>TurtleVooruit[schildpad1, 3]</code><br/>
:::<code>TurtleLinks[turtle1, 90°]</code><br/>
+
:::<code>TurtleLinks[schildpad1, 90°]</code><br/>
  
 
Klik nu op de knop [[File:Animate_Play.png]]''Afspelen'' : De schildpad tekent een vierkant en keert terug naar zijn beginpositie.}}
 
Klik nu op de knop [[File:Animate_Play.png]]''Afspelen'' : De schildpad tekent een vierkant en keert terug naar zijn beginpositie.}}
  
 
{{Note| Zie ook de commando's [[TurtleVooruit Commando|TurtleVooruit]],  [[TurtleAchteruit Commando|TurtleAchteruit]],  [[TurtleLinks Commando|TurtleLinks]], [[TurtleRechts Commando|TurtleRechts]], [[TurtlePO Commando|TurtlePO]] en [[TurtlePN Commando|TurtlePN]].}}
 
{{Note| Zie ook de commando's [[TurtleVooruit Commando|TurtleVooruit]],  [[TurtleAchteruit Commando|TurtleAchteruit]],  [[TurtleLinks Commando|TurtleLinks]], [[TurtleRechts Commando|TurtleRechts]], [[TurtlePO Commando|TurtlePO]] en [[TurtlePN Commando|TurtlePN]].}}

Versie van 26 jun 2015 16:01

Sjabloon:Manual Page


Turtle[]
Creëert een Schildpad op de oorsprong, onder een hoek van 0° en met het spoor aan.
Onderaan in het Tekenvenster verschijnt meteen ook een knop Afspelen/Pauze.
Met deze knop en enkele aanvullende commando's kan je de schildpad laten bewegen.

Je kunt de schildpad laten vooruitgaan: TurtleVooruit of achteruitgaan: TurtleAchteruit over een bepaalde afstand,
draaien naar links: TurtleLinks of naar rechts: TurtleRechts met een gegeven hoek.
Met de commando's TurtlePO en TurtlePN kan je het spoor van de schildpad laten ophouden of hervatten.

Nota: Je kunt de schildpad gebruiken om meetkundige begrippen in te oefenen en b.v meetkundige figuren te tekenen.

Voorbeeld: Definieer achtereenvolgens volgende commando's:

TurtleVooruit[schildpad1, 3]
TurtleLinks[schildpad1, 90°]
TurtleVooruit[schildpad1, 3]
TurtleLinks[schildpad1, 90°]
TurtleVooruit[schildpad1, 3]
TurtleLinks[schildpad1, 90°]
TurtleVooruit[schildpad1, 3]
TurtleLinks[schildpad1, 90°]
Klik nu op de knop Animate Play.pngAfspelen : De schildpad tekent een vierkant en keert terug naar zijn beginpositie.
© 2024 International GeoGebra Institute