This is a template for creating generative artwork which works with the Alba.art platform.
If you prefer to use TypeScript (recommended), please use this template.
- Click "Use this template" (or clone the repo).
- Run
npm install
- Run
npm start
for a development environment.
When you're ready to add your code to the Alba platform, use the command npm run build
. This will create a file in the dist
directory called index.<hash>.js
. You should be able to copy the content of that file directly into the Alba platform.
There is an example.js
file which shows an implementation of a simple project. You can use this as a reference, or run npm run example
to see it live.