tortuga-js
v1.0.1
Published
Tortuga is a minimal turtle graphics implementation in JavaScript and Canvas, intended to be used in modern browsers.
Downloads
3
Readme
Tortuga
Tortuga is a minimal turtle graphics implementation in JavaScript and Canvas, intended to be used in modern browsers.
Installation
To install it just include Tortuga.min.js
and start using it. It has no external dependencies.
Usage
Turtle Graphics and Logo are usually associated though they are different things. This turtle graphics lib is not quite intended to be used by kids as it has no special easy-to-use syntax, though it's quite simple anyway:
Documentation
For a complete documentation, check the docs section.
If you like to learn by tinkering with some code, check out the examples folder.
History
As I was perusing a book called Turtle Geometry (Abelson, Harold, Andrea A. diSessa. Turtle Geometry. Cambridge: MIT Press, 1983. Print.) I got interested in trying out the examples and exercises and I needed a tool to do it.
I did a brief search and couldn't find something simple enough and without any dependencies, almost all that I found were Logo implementations. Since it didn't seem overly complex, I decided to roll my own one and Tortuga was born.
The picture on top is from: Schöpf, Johann David. Naturgeschichte der Schildkröten. Erlangen: Johann Jakob Palm, 1792. Print.