Logo (programming language)
- The article about graphical symbols is at Logo
In 1969, it was used to control a Floor Turtle. Commands were added to send the turtle forwards and backwards, and to turn the turtle to left or right. This turtle had pen with different colors. When it moved, it left a trail on the floor.
This was very useful. When a new version of Logo was developed to draw graphics on a screen, it used the same commands. This was called Turtle graphics.
Examples[change | edit source]
Hello World[change | edit source]
Load the Logo program. Type the next line in the command box.
print [Hello World!]
The computer replies.
Example Showing Graphics and Functional Programming[change | edit source]
A spiral drawn using recursion. Using the editor, type in this new definition.
to spiral :size if :size > 30 [stop] ; a condition stop fd :size rt 15 ; many lines of action spiral :size *1.02 ; the tailend recursive call end
Type this in the command box.
Other Websites[change | edit source]
- MSWLogo For Windows
- FMSLogo For Windows
- Berkeley Logo (UCBLogo)
- Microworlds Microworlds, a commercial Logo for Mac and Windows
- Elica a 3D Logo for Windows
- Lhogho a Logo compiler for Linux and Windows
- A Logo Tutorial for the OLPC project
- The Great Logo Adventure, Jim Muller A book for children.
- Computer Science Logo Style, Brian Harvey, MIT Press (3 volumes) ISBN 0-262-58148-5, ISBN 0-262-58149-3, ISBN 0-262-58150-7. Advanced books.
References[change | edit source]
- http://logothings.wikispaces.com/ Early History Wikispace