jQuery-turtle is a jQuery plugin for turtle graphics.With jQuery-turtle, every DOM element is a turtle that can be moved using turtle graphics methods like fd (forward), bk (back), rt (right turn), and lt (left turn). The pen function allows a turtle to draw on a full-document canvas as it moves.
Features:
Relative and absolute motion and drawing.
Functions to ease basic input, output, and game-making for beginners.
Operations on sets of turtles, and turtle motion of arbitrary elements.
Accurate collision-testing of turtles with arbitrary convex hulls.
Simplified access to CSS3 transforms, jQuery animations, Canvas, and Web Audio.
An interactive turtle console in either Javascript or CoffeeScript.