Skip to content
Logo in JavaScript, modified to resemble FMS-logo
JavaScript HTML CSS
Branch: master
Clone or download
Pull request Compare This branch is 7 commits ahead of inexorabletash:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cm
l10n
.gitignore
15word.html
LICENSE.md
README.md
TODO-FMSLogo.txt
dialog.js
examples.txt
favicon.ico
floodfill.js
index.css
index.html
index.js
language.html
logo.css
logo.js
tests.html
tests.js
turtle.js

README.md

jslogo - Logo in JavaScript modified to resemble FMS-Logo

This forked version is modified so it more closely emulate FMSLogo sometimes used to tech kids programming, which is not yet able to run on GNU/Linux

FMSLogo-alike forked version is hosted at https://mnalis.com/skola/jslogo-fms/ for playing with live. See TODO for more information. For now, you need to click on "Examples" and run "FMSLogo compatibility initialisation" example to get FMSLogo compatibility.

Language Reference - this attempts to implement a subset of UCBLogo defined in in Brian Harvey's Computer Science Logo Style

Logo Examples

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 Links

To Do

  • Document deviations from FMS Logo implementation (and try to implement most often used features and document in language.html!)
  • Document deviations from UCB Logo standard
  • Make these examples all work: Logo 15-word challenge
  • Tail-call optimization
  • Make execution async so you can watch the turtle move
You can’t perform that action at this time.