TurtleGraphics: How do you make a turtle Jump?

in #programming7 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 
  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 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!

Sort:  

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!

Coin Marketplace

STEEM 0.22
TRX 0.20
JST 0.034
BTC 98504.77
ETH 3362.26
USDT 1.00
SBD 3.06