I was feeling nostalgic over the holidays, and extolling the virtues of one of the first languages I enjoyed as a kid: LOGO. Then I dug back into the syntax of LOGO. Compared to modern programming languages, words like “terse” and “arcane” spring to mind.
I decided I wasn’t that nostalgic after all, but I did want to bring some of the cool graphics capabilities of that venerable language to JavaScript. Instead of making a LOGO interpreter in JavaScript (it’s been done), I made a small API to achieve turtle graphics in a more familiar setting.
Check out a couple code demos (view source):
The API attaches itself to a canvas tag, and supports chaining. I also decided to add some convenient methods for more traditional cartesian and polar coordinate systems.
More info can be found at the project page on GitHub. The open source project is in its early stages, but it’s already fun and potentially useful. Enjoy!




[...] This post was mentioned on Twitter by Markus Leutwyler. Markus Leutwyler said: RT @balmer: Turtle Wax: LOGO-style graphics re-imagined for JavaScript and HTML5 Canvas: http://wp.me/pTyBa-1r [...]
Logo was my first language too, learned it at school at the age of 9 or so. I found it real fun, but it still took me a long time to notice my professional future was programming and IT. Thanx for bringing those good old times back, Dave!