create account

Turtle Random Walks by turtlegraphics

View this thread on: hive.blogpeakd.comecency.com
· @turtlegraphics ·
$5.73
Turtle Random Walks
@turtlegraphics aims to provide a set of simple-to-follow-and-fun-to-learn examples for [Logo Programming](https://steakovercooked.com/Software.Logo), which is known as Turtle Graphics for both parents and kids!.

## Logo Programming Source
```
cs to randomwalk
  repeat 100 [
    make "r parseInt(:random*3)
    if :r==0 [fd 20]
    if :r==1 [rt 90 fd 20]
    if :r==2 [lt 90 fd 20]
  ]   
end
randomwalk
```

`:random` returns a float number between 0 (inclusive) and 1. `parseInt`is a Javascript function that converts to integer. Please note that the expression in this LOGO version must not have spaces.

## Screenshot
![image.png](https://ipfs.busy.org/ipfs/QmYNeYEFmCYcwDWJdxrmKUhwTLV7n98RpACH5RjUM5YCxV)

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

## If you like this idea and update...
@turtlegraphics and the [LogoTurtle](https://chrome.google.com/webstore/detail/logo-turtle/dcoeaobaokbccdcnadncifmconllpihp) is maintained by @justyy 

Support him and his work as a [witness](https://steemit.com/witness-category/@justyy/justyy-just-another-witness) by

1. voting [him](https://steemconnect.com/sign/account_witness_vote?approve=1&witness=justyy) here, or
2. voting [him](https://v2.steemconnect.com/sign/account-witness-proxy?proxy=justyy&approve=1) as a proxy

Some of his contributions: **[SteemIt Tools, Bots, APIs and Tutorial](https://helloacm.com/tools/steemit/)** Thank you!
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorturtlegraphics
permlinkturtle-random-walks
categoryprogramming
json_metadata{"community":"busy","app":"busy/2.4.0","format":"markdown","users":["turtlegraphics","justyy"],"links":["/@turtlegraphics","https://steakovercooked.com/Software.Logo","https://chrome.google.com/webstore/detail/logo-turtle/dcoeaobaokbccdcnadncifmconllpihp","/@turtlegraphics","https://chrome.google.com/webstore/detail/logo-turtle/dcoeaobaokbccdcnadncifmconllpihp","/@justyy","https://steemit.com/witness-category/@justyy/justyy-just-another-witness","https://steemconnect.com/sign/account_witness_vote?approve=1&witness=justyy","https://v2.steemconnect.com/sign/account-witness-proxy?proxy=justyy&approve=1","https://helloacm.com/tools/steemit/"],"tags":["programming","busy","tutorial","graphics","logo"]}
created2018-05-28 11:34:30
last_update2018-05-28 11:34:30
depth0
children2
last_payout2018-06-04 11:34:30
cashout_time1969-12-31 23:59:59
total_payout_value4.830 HBD
curator_payout_value0.899 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,455
author_reputation505,124,969,261
root_title"Turtle Random Walks"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id58,095,714
net_rshares1,405,087,396,639
author_curate_reward""
vote details (52)
@steemitboard ·
Congratulations @turtlegraphics! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

[![](https://steemitimages.com/70x80/http://steemitboard.com/notifications/votes.png)](http://steemitboard.com/@turtlegraphics) Award for the number of upvotes

<sub>_Click on the badge to view your Board of Honor._</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



**Do not miss the [last announcement](https://steemit.com/steemitboard/@steemitboard/steemitboard-witness-update-2018-06-12) from @steemitboard!**

> Do you like [SteemitBoard's project](https://steemit.com/@steemitboard)? Then **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-turtlegraphics-20180613t060744000z
categoryprogramming
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2018-06-13 06:07:42
last_update2018-06-13 06:07:42
depth1
children0
last_payout2018-06-20 06:07:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length821
author_reputation38,975,615,169,260
root_title"Turtle Random Walks"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id60,543,196
net_rshares0
@steemitboard ·
Congratulations @turtlegraphics! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

[![](https://steemitimages.com/70x80/http://steemitboard.com/notifications/votes.png)](http://steemitboard.com/@turtlegraphics) Award for the number of upvotes

<sub>_Click on the badge to view your Board of Honor._</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



**Do not miss the [last post](https://steemit.com/steemitboard/@steemitboard/steemitboard-world-cup-contest-results-of-day-6) from @steemitboard!**

---
**Participate in the [SteemitBoard World Cup Contest](https://steemit.com/steemitboard/@steemitboard/steemitboard-world-cup-contest-collect-badges-and-win-free-sbd)!**
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: [@good-karma](https://v2.steemconnect.com/sign/account-witness-vote?witness=good-karma&approve=1) and [@lukestokes](https://v2.steemconnect.com/sign/account-witness-vote?witness=lukestokes.mhth&approve=1)

---

> Do you like [SteemitBoard's project](https://steemit.com/@steemitboard)? Then **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-turtlegraphics-20180620t110235000z
categoryprogramming
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2018-06-20 11:02:36
last_update2018-06-20 11:02:36
depth1
children0
last_payout2018-06-27 11:02:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,289
author_reputation38,975,615,169,260
root_title"Turtle Random Walks"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,477,468
net_rshares0