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
.vscode
lib
svg
vendor/bezier-js
.babelrc
.gitignore
README.md
build-vocabulary.js
index.html
package-lock.json
package.json
tsconfig.json

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