TurtleGraphics: How do you make a turtle Jump?

Words
135
Reading
1 min
Listen
Play
8y

turtlegraphics@turtlegraphics aims to provide a set of simple-to-follow-and-fun-to-learn examples for Logo Programming, which is known as Turtle Graphics for both parents and kids!.

Logo Programming Source

color blue cs 
repeat 8 [
  jump 100 
  rt 45 
  text[steem]
  lt 45 
  jump -100 
  rt 45
]

How do you make a turtle Jump? The answer is jump or jmp keyword. It is equivalent to penup, forward then pendown but only more elegant as jump will remember the current status of the turtle as it could be already in the status of penup.

The text is used to print a string of text to the canvas without turtle actually moving.

Screenshot

image.png

Logo Software

https://chrome.google.com/webstore/detail/logo-turtle/dcoeaobaokbccdcnadncifmconllpihp

If you like this idea and update...

turtlegraphics@turtlegraphics and the LogoTurtle is maintained by justyy@justyy

Support him and his work as a witness by

  1. voting him here, or
  2. voting him as a proxy

Some of his contributions: SteemIt Tools, Bots, APIs and Tutorial Thank you!

TurtleGraphics: How do you make a turtle Jump? | Ecency