header

 

More links

AutoHotkey | Android | Arduino | COMM140Fractals | Grammar Checkers | Knots | A Million Dots Activity |  Processing | Processing for Scratch Users | RedBubble | Tutorials | Weather | World Time Meeting Planner | Favicon Generator.

Home > MicroWorlds Logo (Turtle Graphics) Links & Examples > Examples > MicroWorlds Turtles

MicroWorlds Turtles

LOGO why is it a turtle?

The following programs are a collection of examples most of which I have created for my own amusement or as teaching aids. You are welcome to download copies and play with them. You may also place copies on your website as long as you add a link to this page and e-mail me details of where you are using them.

If you switch to the procedures page using Ctrl + F or Pages | Procedures you will see that most of these examples use procedures. if the example has no procedures then right click on the turtle and see if there is any code programmed directly into the turtle.

Colours can also have code associated with them. Click on the Paint Brush button to view the colour pallet. Any colours with a black dot in the center of the colour has logo code programmed into it. Double click on the colour to view the associated code.

Note: these example programs are written using MicroWorlds Version 2.05

The Following MicroWorlds programs are free software; you can redistribute and/or modify them under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

These programs are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

MicroWorlds logo.zip

logo.zip 4KB Ziped with Winzip  from www.winzip.com use winzip to unzip

Draws the MicroWorlds turtle.

MicroWorlds art1.zip

art1.zip 36KBZiped with Winzip  from www.winzip.com use winzip to unzip

See: Art2 below

An example of playing with drawing "brushes"

Uses 2 turtles. One turtle moves towards the other to draw the "brush"

MicroWorlds Headings
August 10, 2004

headings.mw2 75 KB

headings.zip 15 KB Ziped with Winzip  from www.winzip.com use winzip to unzip

The heading names were created using Paint Shop Pro.
Create the text as a vector, copy it and paste as a new turtle into MicroWorlds.

Headings

Demonstrates using turtles as text

MicroWorlds Circle

circles1.zip 8KB Ziped with Winzip  from www.winzip.com use winzip to unzip

Inspired by the online essay going in circles
http://llk.media.mit.edu/projects/circles/

MicroWorlds Circle

circles2.zip 4KB Ziped with Winzip  from www.winzip.com use winzip to unzip

Note this version uses:

talkto [t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 t17 t18 t19 t20 t21 t22 t23 t24 t25 t26 t27 t28 t29 t30 t31 t32 t33 t34 t35 t36]
repeat 30 [fd 4]

instead of:

everyone [repeat 30 [fd 4]]

because each turtle moves forward at the same time. Using everyone [repeat 30 [fd 4]] moves each turtle one after the other which spoils the effect.

Inspired by the online essay going in circles
http://llk.media.mit.edu/projects/circles/circles.html

Demonstrates control of multiple turtles at once

MicroWorlds ring-around-a-rosie

ring-around-a-rosie.zip 5KB Ziped with Winzip  from www.winzip.com use winzip to unzip

Inspired by the online essay going in circles
http://llk.media.mit.edu/projects/circles/

http://llk.media.mit.edu/projects/circles/rosie.html

September 4, 2004

triangles1.mw2 22 KB
triangles1.zip 12 KB
triangles1.exe 72 KB

Get MicroWorlds Web Player Plugin version
GNU License.txt


Published under the GNU GPL


Draws sets of triangles. Uses simple checkboxes to toggle between B/W & colour triangles and Automatic or Manual positioning of turtles.

Uses 3 turtles that follow each other.

Turtles can be positioned manually or automatically

MicroWorlds making turtles
August 9, 2004

make_turtles.mw2 52 KB

make_turtles.zip 10 KB Ziped with Winzip  from www.winzip.com use winzip to unzip

Demonstrates how to make and remove turtles using procedures

based on code from: http://www.microworlds.com/library/math/geoboard/geoboard.zip

to remove_all_turtles

  newturtle "create_a_dummy_turtle ; this is necessary
                                   ; to make sure that there
                                   ; is a current turtle

  make "number_of_turtles count get first pagelist "turtles
  repeat :number_of_turtles [
    carefully [remove who][]       ; remove current turtle
    ]
end


April 8, 2005

MindReader.mw2 253 KB
MindReader source code

to Align_Turtles
   ; align all the turtles t1 - t99
   make "x_gap 74
   make "y_gap 38.5

   make "x_offset -325
   make "y_offset 193

   make "t_counter 1
   make "loop_counter 0

   repeat 10 [
      ; setx
      repeat 10 [
         talkto word "t :t_counter
         setx :x_offset + (:x_gap * :loop_counter)
         make "t_counter :t_counter + 1
      ]
      make "t_counter :t_counter - 10
      make "y_gap_counter 0
      
      ; sety
      repeat 10 [
         talkto word "t :t_counter
         sety :y_offset - (:y_gap_counter * :y_gap)
         make "t_counter :t_counter + 1
         make "y_gap_counter :y_gap_counter + 1
      ]
      make "loop_counter :loop_counter + 1
   ]
end

to cycle
   ; cycle the turtle on the instructions page through
   ; all 26 large windings
   setsh (random 26) + 27
   wait 10
   cycle
end

APA citation:
Russell, R. (2016, July 04, 02:14 pm). Microworlds turtles.
     Retrieved April 25, 2024, from http://www.rupert.id.au/microworlds/index.php


Last refreshed: April 25 2024. 09:37.16 pm

rupert dot russell at acu dot edu dot au Support Wikipedia

Creative Commons License This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.


827 Visits since November 16, 2004