![]()
A Library by Leah Buechley for the Processing programming environment. Last update, 07/02/2016.
The Turtle library provides an implementation of a LOGO Turtle for Processing.
Turtle Geometry (see the fabulous book of the same name by Hal Abelson and Andrea diSessa) provides a different way of thinking about geometry. You draw by driving around a "turtle". Programs are written from the point of view of this turtle, which enables you to take an embodied approach to geometry.
LOGO, a turtle-based programming language, was developed by Seymour Papert and a group of collaboraters in the late 1960s. It was presented as a novel way to introduce children to computer programming and mathematics. LOGO and Turtle Geometry remain strongly associated with children and education, but are full of beautiful tools and ideas that adult artists and programmers can fruitfully explore.
A previous turtle library for Processing, Terrapin, is great, but somewhat limited in functionality. This library provides a more full-featured implementation, including "push" and "pop" functionality as well as high-resolution drawing capabilities.
Download Turtle version 1.0.0 (1) in .zip format.
Unzip and put the extracted Turtle folder into the libraries folder of your Processing sketches. Reference and examples are included in the Turtle folder.
Keywords. Turtle, LOGO, Turtle Geometry, Mindstorms, Seymour Papert
Reference. Have a look at the javadoc reference here. A copy of the reference is included in the .zip as well.
Source. The source code of Turtle is available at GitHub, and its repository can be browsed here.
Find a list of examples in the current distribution of Turtle, or have a look at them by following the links below.
Basic Square Tree
Platform OSX 10.9.5
Processing 3.0
Dependencies None