feat: add tested Anime.js example registries and offline gallery

This commit is contained in:
jarvis-at-skic committed 2026-10-23 10:22:52 +00:00
1 parent 6854138486
commit 55e559dcd1
17 files changed
+388 -6

No files matched your search

+9 -1
View File
@@ -8,7 +8,7 @@ Run from this package directory:
```sh
python3 scripts/build.py
# Open dist/presentation-html-demo-0.1.0.html directly, fully offline.
# Open dist/presentation-html-demo-0.3.0.html directly, fully offline.
npm ci --ignore-scripts
npx playwright install chromium
npm test
@@ -36,6 +36,14 @@ For architecture decomposition, modular products and inspect/reassemble interact
`assets/mechanism.html` is an original editable SVG example. Build it with `python3 scripts/build-mechanism.py`, then open `dist/mechanism-demo-0.2.0.html`. All four state controls and all three components are covered by `scripts/test-mechanism.mjs`; `npm test` runs both the original deck and this new example.
## Runnable Anime.js library
- [Element registry](references/registry-animejs-elements.md): SVG draw, motion path and spatial stagger.
- [Composition registry](references/registry-animejs-compositions.md): dependency flow and assemble/explode/reassemble.
- `assets/animejs/examples.js`: editable configurations; `gallery.js`: shared renderer and lifecycle; `index.html`: local source preview.
Build with `python3 scripts/build-gallery.py` and open `dist/animejs-gallery-0.4.0.html`. This portable offline gallery includes Play, Replay, Settle and Seek for all five examples. `npm test` runs the deck, motion, mechanism and gallery suites. Registry coverage and source links are validated so new examples cannot silently go unlisted. Existing deck and mechanism artifact versions remain available.
## Licenses and scope
Original code/documentation: MIT, RootAtSkic and Hermes Agent. Reveal.js and Anime.js: MIT; Work Sans: SIL OFL 1.1. Notices are preserved alongside vendor bytes and embedded in the output. No copyrighted showcase artwork was scraped into the distributable. Research documents disclose unavailable pages and link-only references. See `references/examples.md` for attribution and reuse decisions.