![]() 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. |
||
---|---|---|
.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