This is an attempt by Nina Paley (art) and Atul Varma (code) to tinker with procedural art.
 
 
 
Go to file
Atul Varma d13c892f3d
Use esbuild instead of Parcel. (#131)
This replaces Parcel with [esbuild][].

esbuild has a number of advantages over Parcel:

* It is much, much, *much* faster. A Parcel build takes several seconds on my system, while esbuild takes 60-70 _milliseconds_.
* Parcel hard-crashes when I switch branches on Windows, esbuild doesn't.

The one disadvantage is that, as far as I can tell, esbuild doesn't support any kind of auto-reloading in the browser when you change things. IMO this isn't that big a deal and the benefits outweigh this minor inconvenience (and anyways, auto-reload has historically backfired so many times that I usually have been manually reloading the page whenever I make changes).

[esbuild]: https://esbuild.github.io/
2021-05-28 07:34:17 -04:00
.github/workflows Run prettier during CI. (#85) 2021-04-07 19:39:55 -04:00
.vscode Add .vscode dir. 2021-02-03 18:54:57 -05:00
assets Add support for gradients (#127) 2021-05-27 16:09:05 -04:00
dist Use esbuild instead of Parcel. (#131) 2021-05-28 07:34:17 -04:00
lib Use esbuild instead of Parcel. (#131) 2021-05-28 07:34:17 -04:00
vendor Always permalink to Mandalas. (#99) 2021-04-24 08:46:32 -04:00
.babelrc Always permalink to Mandalas. (#99) 2021-04-24 08:46:32 -04:00
.gitignore Use esbuild instead of Parcel. (#131) 2021-05-28 07:34:17 -04:00
.prettierignore Run prettier during CI. (#85) 2021-04-07 19:39:55 -04:00
CODE_OF_CONDUCT.md Convert code of conduct to markdown. 2021-05-25 15:00:31 -04:00
LICENSE.md Clarify some license stuff. 2021-04-25 09:41:02 -04:00
README.md Fix URL in README. 2021-05-18 19:56:38 -04:00
build-avro-typescript.js Always permalink to Mandalas. (#99) 2021-04-24 08:46:32 -04:00
build-vocabulary.js Always permalink to Mandalas. (#99) 2021-04-24 08:46:32 -04:00
package-lock.json Use esbuild instead of Parcel. (#131) 2021-05-28 07:34:17 -04:00
package.json Use esbuild instead of Parcel. (#131) 2021-05-28 07:34:17 -04:00
tsconfig.json Use esbuild instead of Parcel. (#131) 2021-05-28 07:34:17 -04:00

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