A TypeScript version of this code is explained in "Your first project", a guide on the Typescene website: https://typescene.dev. This repository contains a pure JavaScript version.
To use this JavaScript-only version in development mode:
- Clone the repository
- Run
npm install
(to install Webpack and Typescene itself) - Run
npm start
To create and serve a production version in the dist/
folder:
- Run
npm build
- Run
npx http-server dist
and open the URL provided
Please report issues here or in the repository for the Typescene website.
This code is covered by an MIT license.