AutoHotkey | Android | Arduino | COMM140 | Fractals | 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 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 |
horse_race2.mw2
86 KB |
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.
|
|
crowd1.mw2
101 KB |
A simple version of the crowd idea. Credit: |
November 2, 2003 crowd3.mw2
142 KB |
Keywords: math's, estimation, random numbers,
Credit: |
bounce.mw2
33 KB |
Fun with bouncing turtles. to reflect_red to reflect_blue |
maths1.mw2
66 KB |
; Author: Rupert
Russell ; 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
1 to go cg talkto "t_star
setsh "star ;
make sure ;
there is ;
always a |
falling.mw2
91KB |
Simulates falling objects. Each shape falls according to a different set of rulles. Generated from an idea by David Henderson
|
October 19, 2004 rotate.mw2
413 KB |
|
to
buz seth 40 make "x 0 forever [ |
|
guess1.mw2
12 KB |
to
new_number ct cc 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] settc "black print (se [Pick a number greater than ] min - 1) print (se [& less than ] max + 1 ) make "hiddenNumber (random (max - min)) + min
to ? |
normal_distribution.mw2 48 KB
|
to
bounce ; only bounce once per pin if :bounce [make "direction random 2] make "bounce "false
; pick a direction to bounce
at random |
MindReader.mw2
253 KB |
to
Become_a_Random_Shape ; each turtle becomes a random shape setsh 1 + random 25 end to Become_Answer ; choose which random shape
to become ; 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: November 25 2024. 11:02.30 am
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.