Adobe Connect | Adobe Conect Custom Pods | AutoHotkey | Android | Arduino | Blog | COMM140 | Fractals | Grammar Checkers | Knots | a Million Dots | Processing | RedBubble | Tutorials | Weather | World Time Meeting Planner |
Home > MicroWorlds Logo (Turtle Graphics) Links & Examples > Examples > MicroWorlds Maths Projects
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
This is a horse race that uses a simple animation technique that does not require setsh "horse1 etc.
This is a simple race between 4 turtles. The race however is currently rigged with an advantage to the fish.
The fish uses a procedure called race_faster
whereas the car uses a slightly slower version called race.
The turtles stop racing when they reach the colour green.
This project also demonstrated the process of animating a turtle with the trot procedure used by the horse.
A simple version of the crowd idea.
November 2, 2003
Keywords: math's, estimation, random numbers,
Fun with bouncing turtles.
; Author: Rupert
; Purpose: To generate a random collection of turtles
; Children can also click & drag turtles on the
screen in response to instructions.
; Note to you may add or remove turtles as you wish
; Key Learning Area (KLA): Mathematics
; Learning Outcome: 1.5
; Created: July 25, 2004 - version
setsh "star ;
make sure ;
there is ;
Simulates falling objects.
Each shape falls according to a different set of rulles.
Generated from an idea by David Henderson
October 19, 2004
make "x 0
if min > max [settc "red print [Please set min to less than max] stopall]
if min = max [settc "red print [Please set max to more than min] stopall]
print (se [Pick a number greater than ] min - 1)
print (se [& less than ] max + 1 )
make "hiddenNumber (random (max - min)) + min
normal_distribution.mw2 48 KB
; only bounce once per pin
if :bounce [make "direction random 2]
make "bounce "false
; pick a direction to bounce
; each turtle becomes a random shape
setsh 1 + random 25
; choose which random shape
; change each turtle in turn
to the same random shape
pirate-map.mw2 449 KB
pirate-map.zip 140 KB
This is an example of a pirates map the objective is to give the turtle commands that will lead it to the gold.
I have drawn the background using stamps of turtles and then used freezebg to freeze the background image that way if you make a mistake you can start again with the CG button and the background does not disappear.
Note that I have stamped the text onto the background as well this is the best way to ensure that the text font and size stay consistent.
Last refreshed: March 19 2018. 05:51.56 pm
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.