[verified] feat: expand public animation library across 12 industries
This commit is contained in:
1 parent
3bb9555e6a
commit
ecbbcf8ba0
144 files changed
+61323
-187
No files matched your search
@@ -21,9 +21,9 @@ python3 scripts/build-gallery.py
|
||||
CHROMIUM_EXECUTABLE=/path/to/chrome node scripts/test-gallery.mjs
|
||||
```
|
||||
|
||||
The dependency-free Python builder embeds the shared pinned Anime **4.5.0** UMD, CSS, configuration, runtime and Anime license into each `dist/animejs-gallery-0.5.0/examples/<id>.html` individual page. The overall and registry galleries reuse those exact pages via relative iframe sources and open-example links; galleries do not run their own animation renderer. It emits `dist/animejs-gallery-manifest.json` with artifact and input SHA-256 hashes. No CDN, external fonts, runtime fetches, bundler or Reveal dependency. Tests use the repository's existing Playwright dependency.
|
||||
The dependency-free Python builder embeds the shared pinned Anime **4.5.0** UMD, CSS, configuration, runtime and Anime license into each `dist/animejs-gallery-0.6.0/examples/<id>.html` individual page. The overall and registry galleries reuse those exact pages via relative iframe sources and open-example links; galleries do not run their own animation renderer. It emits `dist/animejs-gallery-manifest.json` with artifact and input SHA-256 hashes. No CDN, external fonts, runtime fetches, bundler or Reveal dependency. Tests use the repository's existing Playwright dependency.
|
||||
|
||||
For reuse, load vendor → configurations → runtime with a `<main>` present and `data-example="<registered-id>"` on the body (unknown IDs throw; query strings do not select examples), or extract `mount(host, config)` and the relevant recipe branch into your owner. The published `animeGallery.mount` returns `play()`, `replay()`, `seek(milliseconds)`, `settle()`, `state()`, `destroy()`. Keep recipe IDs unchanged when tuning configuration. `kind` is catalog metadata, not a renderer selector. Timing is in milliseconds; use positive finite durations, valid SVG paths inside the 400×220 viewBox, and short labels. This is an editable reference, not an untrusted-config validator.
|
||||
For reuse, load vendor → configurations → runtime with a `<main>` present and `data-example="<registered-id>"` on the body (unknown IDs throw; query strings do not select examples), or extract `mount(host, config)` and the relevant recipe branch into your owner. The published `animeGallery.mount` returns `play()`, `replay()`, `seek(milliseconds)`, `settle()`, `state()`, `destroy()`. Keep recipe IDs unchanged when tuning configuration. `kind` is catalog metadata, not a renderer selector. Legacy named beats are computed by the runtime from each mounted recipe, including the actual grid-stagger end; generated metadata marks this with `beatSource: "runtime"` rather than fixed beat times. Industry recipes retain explicitly authored beats. Timing is in milliseconds; use positive finite durations, valid SVG paths inside the 400×220 viewBox, and short labels. This is an editable reference, not an untrusted-config validator.
|
||||
|
||||
## Lifecycle and accessibility contract
|
||||
|
||||
@@ -39,7 +39,7 @@ All five recipes and gallery code are original examples written for this package
|
||||
|
||||
## Direct runnable pages
|
||||
|
||||
- [Registry gallery](../dist/animejs-gallery-0.5.0/elements/index.html) · [Editable registry gallery](../assets/animejs/elements/index.html)
|
||||
- [Draw a connection](../dist/animejs-gallery-0.5.0/examples/svg-draw.html) · [Editable example](../assets/animejs/examples/svg-draw.html)
|
||||
- [Follow a route](../dist/animejs-gallery-0.5.0/examples/motion-path.html) · [Editable example](../assets/animejs/examples/motion-path.html)
|
||||
- [Propagate from the center](../dist/animejs-gallery-0.5.0/examples/spatial-stagger.html) · [Editable example](../assets/animejs/examples/spatial-stagger.html)
|
||||
- [Registry gallery](../dist/animejs-gallery-0.6.0/elements/index.html) · [Editable registry gallery](../assets/animejs/elements/index.html)
|
||||
- [Draw a connection](../dist/animejs-gallery-0.6.0/examples/svg-draw.html) · [Editable example](../assets/animejs/examples/svg-draw.html)
|
||||
- [Follow a route](../dist/animejs-gallery-0.6.0/examples/motion-path.html) · [Editable example](../assets/animejs/examples/motion-path.html)
|
||||
- [Propagate from the center](../dist/animejs-gallery-0.6.0/examples/spatial-stagger.html) · [Editable example](../assets/animejs/examples/spatial-stagger.html)
|
||||
Reference in new issue
Block a user