![]() Here we attempt to use arrowhead symbols in SVGs to allow artists to specify the orientation of attached symbols, rather than attempting to auto-detect it via projecting the circles onto the shape and using the normal as we did in #2. It seems like this logic is both much simpler and less error-prone, especially around corners. It also gives artists much more control over the placement of attachments. The one fragile aspect of the implementation is that we assume the first point of the arrow shape is its tip, and that the third point is its indented bottom. This appears to be consistent across all of Nina's SVGs, so far at least... |
||
---|---|---|
.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.
Deployment
To deploy the project to GitHub Pages, run:
npm run deploy