This is an attempt by Nina Paley (art) and Atul Varma (code) to tinker with procedural art.
 
 
 
Go to file
Atul Varma bca699018c
Add animated GIF export. (#79)
This adds an "Export GIF" button _if and only if_ animation is enabled on the Mandala page.

The GIF has the same dimensions as the canvas at the time that the button was clicked.

Currently the animation is locked to 15 FPS, which I think might be the maximum rate that some platforms limit it to, but I'm not sure.  We can always adjust it in the future.
2021-04-10 17:11:12 -04:00
.github/workflows Run prettier during CI. (#85) 2021-04-07 19:39:55 -04:00
.vscode
assets/symbols Add files via upload 2021-04-08 18:58:19 -05:00
lib Add animated GIF export. (#79) 2021-04-10 17:11:12 -04:00
vendor Add animated GIF export. (#79) 2021-04-10 17:11:12 -04:00
.babelrc
.gitignore
.prettierignore Run prettier during CI. (#85) 2021-04-07 19:39:55 -04:00
README.md Run prettier during CI. (#85) 2021-04-07 19:39:55 -04:00
build-vocabulary.js
circle_spiral.toml
copy-svgs-from-dropbox.sh
globe.toml Add files via upload 2021-04-05 17:09:25 -05:00
index.html Add animated GIF export. (#79) 2021-04-10 17:11:12 -04:00
package-lock.json random colors now being sampled from hsluv (#80) 2021-04-06 20:33:08 -04:00
package.json Run prettier during CI. (#85) 2021-04-07 19:39:55 -04:00
skeleton.svg Add files via upload 2021-04-05 16:27:19 -05:00
tsconfig.json

README.md

This is an attempt by Nina Paley (art) and Atul Varma (code) to tinker with procedural art.

Right now there is no particular goal other than to explore various ideas. The project consists of a web site with multiple pages, each of which is an experiment of some kind.

It can be viewed online or iterated on locally using the instructions below.

Quick start

This requires NodeJS. It was started with NodeJS 14.15.4, but hopefully it should work with any recent version.

After cloning the repository and entering it, run:

npm run watch

then visit http://localhost:1234.

Running tests

To run tests interactively, run:

npm run test:watch

Code style

All code styling is managed by Prettier.

To format the code automatically, run:

npm run prettier:fix

You can alternatively install a Prettier extension for your editor; see its website for more details.

Deployment

To deploy the project to GitHub Pages, run:

npm run deploy