This is hosted at http://calormen.com/jslogo for playing with live.
Language Reference - this attempts to implement a subset of UCBLogo defined in in Brian Harvey's Computer Science Logo Style
For older browsers, clone polyfill into a sibling directory. For syntax highlighting, clone CodeMirror into a sibling directory. So you'll end up with a directory structure like:
jslogo/
polyfill/
CodeMirror/
to star repeat 5 [ fd 100 rt 144 ] end
star
to square :length repeat 4 [ fd :length rt 90 ] end
repeat 36 [ square 50 rt 10 ]
to randomcolor setcolor pick [ red orange yellow green blue violet ] end
repeat 36 [ randomcolor square random 200 rt 10 ]
window pu repeat 72 [ setlabelheight repcount fd repcount * 2.5 label "Logo bk repcount * 2.5 rt 10 ]
- Logo on Wikipedia
- Other Logo implementations that run in a Web browser:
- The Logo Foundation
- Berkeley Logo (UCBLogo)
- The Logo Tree Project
- Ian Bicking on Logo
- PyLogo
- Introduction to Computer Programming
- LogoForum
- Document deviations from UCB Logo standard
- Make these examples all work: Logo 15-word challenge
- Use Workers, so you can see the turtle move
- Tail-call optimization