TurtleGraphics: How do you make a turtle Jump?

in programming •  4 years ago  (edited)

@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 
  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.



Logo Software


If you like this idea and update...

@turtlegraphics and the LogoTurtle is maintained by @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!

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Congratulations @turtlegraphics! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

Upvote this notification to help all Steemit users. Learn why here!