@algorisys/tinyfly 0.75.0 → 0.76.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -172,7 +172,7 @@ for what you import:
172
172
  | `@algorisys/tinyfly/embed` | Teaching embeds: the player with step controls, captions, scenarios and one-script `[data-tinyfly-embed]` mounting; `validateEmbed`, `validateScenarios`, `renderFrame` | Browser (tools anywhere) |
173
173
  | `@algorisys/tinyfly/teach` | `lesson()` step builder and diagram primitives (cells, pointer, stack, queue, table, pipeline) | Anywhere |
174
174
  | `@algorisys/tinyfly/react`, `@algorisys/tinyfly/vue`, `@algorisys/tinyfly/svelte`, `@algorisys/tinyfly/solid` | `useTinyfly` hooks, a Svelte action and a Solid primitive: `live` animations scoped to a component and reverted on unmount | Browser (frameworks are optional peer dependencies) |
175
- | `@algorisys/tinyfly/characters` | Poseable stick figure: `stickFigureTarget`, `poseTracks`, `POSES`, `blendPose`, `walkPose`, `drawStickFigure` | Anywhere with a Canvas 2D context |
175
+ | `@algorisys/tinyfly/characters` | Poseable stick figure: `stickFigureTarget`, `poseTracks`, `POSES`, `blendPose`, `walkPose`, `drawStickFigure`; `stickFigureJoints` and `layers` for costumes, hair and props; `turn`, `sit` and ground contact; an organic look by default (`classic` keeps the old one) | Anywhere with a Canvas 2D context |
176
176
  | `@algorisys/tinyfly/headless` | `renderVideo`, `renderStills`, `FrameRenderer`: render a scene to MP4 or PNGs (see [Rendering Video from Code](docs/video-rendering.md)) | Node (`@napi-rs/canvas` optional peer, ffmpeg) |
177
177
  | `@algorisys/tinyfly/browser` | One script-tag bundle (`tinyfly.iife.js`): the engine, player, drivers, interaction, the GSAP-style `live` / `tf` facades, teaching-embed controls and mounting, and the `characters` stick figure. Not included: `export`, `adapters`, `teach`, the framework hooks, `headless` | Browser |
178
178
 
@@ -220,7 +220,7 @@ GSAP-shaped functions at the top level. Teaching embeds are included: add
220
220
  itself.
221
221
 
222
222
  ```html
223
- <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.75.0/cdn/tinyfly.iife.js"></script>
223
+ <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.76.0/cdn/tinyfly.iife.js"></script>
224
224
  <script>
225
225
  tinyfly.to('.box', { x: 200, rotate: 90, duration: 1, ease: 'power2.out' })
226
226
 
@@ -256,7 +256,7 @@ A teaching figure needs no code at all:
256
256
  <script type="application/json" data-tinyfly-timeline>{ …timeline JSON with markers… }</script>
257
257
  <figcaption>Appending to a full slice</figcaption>
258
258
  </figure>
259
- <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.75.0/cdn/tinyfly.iife.js" data-tinyfly-auto></script>
259
+ <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.76.0/cdn/tinyfly.iife.js" data-tinyfly-auto></script>
260
260
  ```
261
261
 
262
262
  See [Teaching Animations](docs/teaching.md).
@@ -355,7 +355,7 @@ Without a build step, the player bundle puts the same functions on a `tinyfly` g
355
355
  <div data-tinyfly="box" style="width: 60px; height: 60px; background: #4a9eff;"></div>
356
356
  </div>
357
357
 
358
- <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.75.0/cdn/tinyfly-player.iife.js"></script>
358
+ <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.76.0/cdn/tinyfly-player.iife.js"></script>
359
359
  <script>
360
360
  tinyfly.play('#animation', './animation.json', { loop: -1 })
361
361
  </script>
@@ -464,7 +464,7 @@ Or skip the code entirely with declarative embeds (see [Teaching Animations](doc
464
464
  <svg viewBox="0 0 720 200">…</svg>
465
465
  <script type="application/json" data-tinyfly-timeline>{ …timeline JSON… }</script>
466
466
  </figure>
467
- <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.75.0/cdn/tinyfly-embed.iife.js" data-tinyfly-auto></script>
467
+ <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.76.0/cdn/tinyfly-embed.iife.js" data-tinyfly-auto></script>
468
468
  ```
469
469
 
470
470
  ### Audio / Video Sync