Another example of using Scheme to generate HTML and JavaScript. This example is based on the Three.js "Creating a scene" tutorial.
You will need:
- Chicken Scheme
- html-tags:
chicken-install html-tags - spock:
chicken-install spock - Make
- curl (or just download three.min.js yourself)
Run make to generate the HTML and JS files, then open "index.html" in a web browser.
Optionally, you can use Guard to automatically generate the HTML/JS when the Scheme files change. gem install guard then run guard inside the source directory.