[verified] feat: add reusable presentation-derived animation patterns
This commit is contained in:
1 parent
ecbbcf8ba0
commit
5b07a9a3e5
127 files changed
+72164
-157
No files matched your search
@@ -44,7 +44,7 @@ Start with the [discovery guide](references/industry-catalog.md). Choose by expl
|
||||
- [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.6.0/index.html`. This portable offline gallery includes Play, Replay, Settle and Seek for all 29 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.
|
||||
Build with `python3 scripts/build-gallery.py` and open `dist/animejs-gallery-0.7.0/index.html`. This portable offline gallery includes Play, Replay, Settle and Seek for all 33 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
|
||||
|
||||
@@ -52,10 +52,14 @@ Original code/documentation: MIT, RootAtSkic and Hermes Agent. Reveal.js and Ani
|
||||
|
||||
Local Chromium verification is included; no hosted CI or cross-browser certification is claimed. No automation credentials belong in this repository.
|
||||
|
||||
### Gallery hierarchy (0.6.0)
|
||||
### Presentation-derived patterns (0.7.0)
|
||||
|
||||
Open `dist/animejs-gallery-0.6.0/index.html` for all 29 previews, or `elements/index.html` and `compositions/index.html` inside that package. Each gallery embeds `examples/<id>.html` through relative iframe `src` and links to that same file. Each individual page is self-contained (CSS, configuration, renderer, pinned Anime.js and full license embedded), so it also plays offline by itself. Breadcrumb links require keeping the package hierarchy together. Extract the complete package before opening its index; no server is needed. Previous version artifacts are retained.
|
||||
Four reusable generic examples preserve the authorized reference’s expressive silver robot, split approval barrier, parallel-design delivery cycle and connected-memory relationships. Read the [presentation-patterns registry](references/registry-animejs-presentation-patterns.md) for provenance, use/avoid guidance, bounded parameters and actual lifecycle integration. The full library now has 33 examples, 15 registries and 49 HTML pages. Vendored runtime pins and prior versioned dist packages are unchanged.
|
||||
|
||||
### Gallery hierarchy (0.7.0)
|
||||
|
||||
Open `dist/animejs-gallery-0.7.0/index.html` for all 33 previews, or `elements/index.html` and `compositions/index.html` inside that package. Each gallery embeds `examples/<id>.html` through relative iframe `src` and links to that same file. Each individual page is self-contained (CSS, configuration, renderer, pinned Anime.js and full license embedded), so it also plays offline by itself. Breadcrumb links require keeping the package hierarchy together. Extract the complete package before opening its index; no server is needed. Previous version artifacts are retained.
|
||||
|
||||
The editable hierarchy mirrors this under `assets/animejs/`, sharing generated `catalog-data.js`, `gallery.js`, `gallery.css` and `assets/vendor/`. Industry descriptors in `catalogs/*.json` and renderer registrations in `industries/*.js` are the editable sources; the builder generates all wrappers without duplicated labels. Legacy configs remain in `examples.js`. Edit the configuration/renderer once, not the generated dist pages. Individual source documents select exactly one configuration using `body[data-example]`; unknown IDs fail explicitly, with no query-string fallback. Galleries never mount a renderer themselves. Every embedded document owns its lifecycle.
|
||||
|
||||
`python3 scripts/build-gallery.py` inlines local dependencies and records every page hash plus source hashes in `dist/animejs-gallery-manifest.json`. `scripts/test-gallery.mjs` tests both editable and built hierarchies, iframe identity, navigation, all 29 examples in normal/reduced motion and deterministic hold/cleanup behavior. A compact representative screenshot set and exact page hashes are recorded under `evidence/`. Every normal-motion example gets actual early playback, then accelerated natural completion at engine speed 12; representative legacy/industry examples also complete at speed 1. The report explicitly distinguishes these. Default build/tests fail on missing release sectors; `--allow-partial` is development-only and reports missing coverage. The complete release has 29 individual pages, 14 registry galleries, and the overall index: 44 HTML pages.
|
||||
`python3 scripts/build-gallery.py` inlines local dependencies and records every page hash plus source hashes in `dist/animejs-gallery-manifest.json`. `scripts/test-gallery.mjs` tests both editable and built hierarchies, iframe identity, navigation, all 33 examples in normal/reduced motion and deterministic hold/cleanup behavior. A compact representative screenshot set and exact page hashes are recorded under `evidence/`. Every normal-motion example gets actual early playback, then accelerated natural completion at engine speed 12; representative legacy/industry examples also complete at speed 1. The report explicitly distinguishes these. Default build/tests fail on missing release sectors; `--allow-partial` is development-only and reports missing coverage. The complete release has 33 individual pages, 15 registry galleries, and the overall index: 49 HTML pages.
|
||||
Reference in new issue
Block a user