Turtle for Java
A Library by Leah Buechley. The Turtle library provides an implementation of a LOGO Turtle for Java.

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 collaborators 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.




DOWNLOAD

Download Turtle: Turtle.jar.





Reference


Basics


Turtle ()

forward ()
back ()
right ()
left ()

penUp ()
penDown ()

push ()
pop ()

goToPoint ()

drawPath ()
drawStep ()
drawTurtle ()


Turtle State


getX ()
getY ()
getHeading ()

setX ()
setY ()
setHeading ()


Other Handy Stuff


clearTurtleHistory ()