This is an attempt by Nina Paley (art) and Atul Varma (code) to tinker with procedural art.
 
 
 
Go to file
Webaissance 86a39b56e0
#56 Add logo and favicon (#205)
This does the following:
* Adds logo
* Adds favicon
* Creates css directory in dist
* Creates img directory in dist
* Updates /lib/page.tsx to use helmet to incporate the logo, favicon and style.css file
* adds a new file .gitattributes to make Windows use Linux line endings per https://prettier.io/docs/en/options.html

Co-authored-by: Webaissance <git@webais.com>
2021-07-11 12:04:10 -04:00
.github/workflows Use eslint. (#133) 2021-05-28 10:17:45 -04:00
.vscode Add .vscode dir. 2021-02-03 18:54:57 -05:00
assets added gradients to hearts 2021-07-10 09:08:53 -05:00
dist #56 Add logo and favicon (#205) 2021-07-11 12:04:10 -04:00
lib #56 Add logo and favicon (#205) 2021-07-11 12:04:10 -04:00
vendor Add a 'disable gradients' toggle. (#148) 2021-06-06 17:49:49 -04:00
.babelrc Always permalink to Mandalas. (#99) 2021-04-24 08:46:32 -04:00
.eslintrc Use eslint. (#133) 2021-05-28 10:17:45 -04:00
.gitattributes #56 Add logo and favicon (#205) 2021-07-11 12:04:10 -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 Add documentation on symbols. (#166) 2021-06-12 08:53:32 -07: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 randHue color algorithm (#194) 2021-07-03 09:34:30 -04:00
package.json Fix security vulnerabilities yet again. (#160) 2021-06-08 12:48:22 -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.

Adding symbols

Documentation for adding and changing symbols can be found in assets/symbols/_instructions.md.

Running tests

To run tests interactively, run:

npm run test:watch

Type checking

To make sure that everything type-checks okay, run:

npm run typecheck

Note that you may want to install a TypeScript plugin for your favorite editor. Aside from telling you what type errors you have in real-time, editor integration also provides code autocompletion and other affordances that can greatly improve your productivity. For more details, see Atul's Fun with TypeScript series of videos.

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