{"id":7849,"date":"2020-06-06T13:52:00","date_gmt":"2020-06-06T20:52:00","guid":{"rendered":"https:\/\/blog.austinity.com\/?p=7849"},"modified":"2020-06-06T14:13:43","modified_gmt":"2020-06-06T21:13:43","slug":"logo-turtle-fun","status":"publish","type":"post","link":"https:\/\/blog.austinity.com\/?p=7849","title":{"rendered":"LOGO turtle fun"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>home<br> clearscreen<br> cleartext<\/p><p>make &#8220;cnt 0<br> make &#8220;size 10<br> make &#8220;wafer 200<br> make &#8220;whalf :wafer\/2<br> ; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br> TO SQUARE :length <br> REPEAT 4 [FW :length RT 90]<br> FW :length<br> END<br> ; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p><p>; draw the origin and wafer<br> home<br> circle 5<br> circle :whalf<\/p><p>; move turtle to top left to start drawing grid<br> pu<br> fw :whalf<br> lt 90<br> fw :whalf<br> rt 90<br> pd<\/p><p>;orient turtle looking EAST<br> RT 90<\/p><p>; draw the grid<br> ; two rows of squares at a time<br> ; go out to the EAST, down back to the west<br> ; drop down two rows and reorient the turtle to the EAST<br> ;; do it again.. (outer loop)<br> REPEAT 10 [REPEAT 2 [ REPEAT 20 [ SQUARE :size make &#8220;cnt :cnt+1 ] RT 90 FW :size<em>2 RT 90 ] RT 90 FW :size<\/em>2 LT 90 ]<\/p><p>;REPEAT 4 [REPEAT 2 [REPEAT 20 [SQUARE :size make &#8220;cnt :cnt+1] RT 90 FW :size*4 RT 90]RT 90 FW :size LT 90]<\/p><p>; SQRT exists as undoc fct\u2026<br> make &#8220;y SQRT :cnt<br> print [&#8220;number &#8220;of &#8220;squares ]<br> print :cnt<\/p><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"520\" height=\"555\" src=\"https:\/\/blog.austinity.com\/wp-content\/uploads\/2020\/06\/Screen-Shot-2020-06-06-at-3.50.02-PM.png\" alt=\"\" class=\"wp-image-7850\" srcset=\"https:\/\/blog.austinity.com\/wp-content\/uploads\/2020\/06\/Screen-Shot-2020-06-06-at-3.50.02-PM.png 520w, https:\/\/blog.austinity.com\/wp-content\/uploads\/2020\/06\/Screen-Shot-2020-06-06-at-3.50.02-PM-281x300.png 281w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"http:\/\/logo.twentygototen.org\/aKZEG1GN\"><br><br>Run at logo.twentygototen.org<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>home clearscreen cleartext make &#8220;cnt 0 make &#8220;size 10 make &#8220;wafer 200 make &#8220;whalf :wafer\/2 ; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- TO SQUARE :length REPEAT 4 [FW :length RT 90] FW :length END ; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; ; draw the origin and wafer home circle 5 circle :whalf ; move turtle to top left to start drawing grid pu fw :whalf &hellip; <a href=\"https:\/\/blog.austinity.com\/?p=7849\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">LOGO turtle fun<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7849","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.austinity.com\/index.php?rest_route=\/wp\/v2\/posts\/7849","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.austinity.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.austinity.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.austinity.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.austinity.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7849"}],"version-history":[{"count":2,"href":"https:\/\/blog.austinity.com\/index.php?rest_route=\/wp\/v2\/posts\/7849\/revisions"}],"predecessor-version":[{"id":7852,"href":"https:\/\/blog.austinity.com\/index.php?rest_route=\/wp\/v2\/posts\/7849\/revisions\/7852"}],"wp:attachment":[{"href":"https:\/\/blog.austinity.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.austinity.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7849"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.austinity.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}