Drawing, from Lisp

Every pixel below is placed by the Common Lisp in this page — the source is in a <script type="text/common-lisp"> tag, which the browser leaves alone and the Lisp picks up once it is running. Nothing here is JavaScript.

loading…

The code that drew it, read out of the page by itself:

…

The vocabulary it uses — js:query, js:call, js:get, js:set — is Lisp, in js.lisp, standing on a few imported shim functions, and the names are the ones clysm's js package uses, so the same code reads the same on either. That file is served beside this page rather than built into it, so adding to it is editing Lisp and reloading. What the browser gives you is reached by name at run time, which is why the list is short and can grow. Back