gd-web-env

Luna Moth's logo

Luna Moth - GD web environment

A Generative Design programming environment running in the web browser.

This project is in a really rough state so feel free to make any suggestions.

Live demo

The Luna Moth live demo is here: Luna Moth live demo.

Getting started

If you already have the environment working, you may want to check the instructions file to get started.

Building

You need to have node.js and gulp installed.

Then open up a console in the repository’s root directory and run npm install. This will install all dependencies required for the web page itself and for the rest of the build process.

Run gulp to build the web page.

Running

After the web page as been built, what remains is starting the server and opening up the environment.

You’ll need to install Racket.

Afterwards, you need to install Rosetta using Racket’s package manager, Raco, or through DrRacket.

Finally, run server/server.rkt using Racket. It should open the index page in a web browser when it loads.

Note: If you don’t need to export to CAD, you can just use a static http server like http-serve.