This is an attempt by Nina Paley (art) and Atul Varma (code) to tinker with procedural art.
 
 
 
Go to file
Atul Varma d663915f0e
Make creature strokes non-scaling. (#6)
This attempts to manually scale the strokes on creatures so they aren't affected by scale.

The weird thing here is that applying `vector-effect="non-scaling-stroke"` does not appear to do the trick--rather, it makes all the strokes look _super heavy_.  So in this PR we scale the stroke by the inverse of whatever we're cumulatively scaling by when we're drawing something.
2021-02-16 13:36:14 -05:00
.github/workflows Explicitly run tests on main branch. (#4) 2021-02-16 06:40:48 -05:00
.vscode
lib Make creature strokes non-scaling. (#6) 2021-02-16 13:36:14 -05:00
svg Use latest symbols. 2021-02-15 07:33:48 -05:00
vendor/bezier-js Add explanation for vendoring. 2021-02-13 08:27:35 -05:00
.babelrc
.gitignore Factor out svg-vocabulary.ts, increase symbol padding. 2021-02-15 08:33:33 -05:00
README.md Add test running to readme. 2021-02-16 06:30:02 -05:00
build-vocabulary.js Rename vocabulary.ts to vocabulary-builder.ts. 2021-02-15 12:37:25 -05:00
index.html
package-lock.json Add test suite. 2021-02-16 06:21:51 -05:00
package.json Add test suite. 2021-02-16 06:21:51 -05:00
tsconfig.json Enable stricter typescript checks, remove unused import. 2021-02-15 07:44:22 -05:00

README.md

All art is by Nina Paley!

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

Deployment

To deploy the project to GitHub Pages, run:

npm run deploy