@algorisys/tinyfly 0.89.0 → 0.90.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
@@ -61,7 +61,7 @@ A lightweight, API-driven animation engine and visual editor for creating high-p
61
61
  - **The drawing hand** - `drawnPathTarget()` draws a sketched stroke on from a `draw` track while a cartoon hand holds the pencil at its end in a writing grip; the same hand can hold the eraser. `handAt()` gives one hand for a whole scene: it follows each stroke, lifts and glides to the next, and enters and leaves the page
62
62
  - **Erasing** - An eraser rubs out part of a target (`erasable()`, animated by an `erase` track) or of anything drawn in code (`withErased()`); clip-based, so it works in the browser and headless alike
63
63
  - **Cartoon hands** - A hand rig in 3D, drawn flat: thumb and fingers posed by numbers (`index.curl`, `thumb.across`, `spread`, `turn`), ready-made shapes (fist, point, thumbs-up, peace, OK, pinch, wave, pencil grip…), left and right, four or five fingers, in every look; the animator's hand and (opt-in) character gloves are built on it. See [docs/cartoon-hands.md](docs/cartoon-hands.md)
64
- - **Cartoon acting** - `actTracks()` turns the same key poses into acted motion: wind-ups, overshoot that settles or wobbles, joints that overlap (hips lead, wrists drag), eyes that dart ahead and blink on head turns, moving holds and jump squash, in `full`, `snappy` or `limited` styles. Gags come as data (`gag('take')`, double take, wind-up, tremble). It also adds speed lines from earlier frames (`drawStickSmear()`), dust puffs, impact stars, and drawing on twos for video (`drawingRate`). Output is plain keyframes. See [docs/acting.md](docs/acting.md)
64
+ - **Cartoon acting** - `actTracks()` turns the same key poses into acted motion: wind-ups, overshoot that settles or wobbles, joints that overlap (hips lead, wrists drag), eyes that dart ahead and blink on head turns, moving holds and jump squash, in `full`, `snappy` or `limited` styles. Gags come as data (`gag('take')`, double take, wind-up, tremble). A line of action (`bend`) curves the spine, and gaits have personality (bouncy, double bounce, sneak, strut, tired, run). Lip-sync works from text, Latin or Devanagari. `scriptTracks()` compiles a story written as beats (`{ do: 'walk', to: 640 }`, `{ do: 'take' }`, `{ do: 'say', say: '…' }`) into all of it. `cameraTracks()` films it with push-ins, cuts, shakes and follows. It also adds speed lines from earlier frames (`drawStickSmear()`), dust puffs, impact stars, and drawing on twos for video (`drawingRate`). Output is plain keyframes. See [docs/acting.md](docs/acting.md)
65
65
  - **Pencil story example** - `examples/pencil-story-hindi/index.html` tells a short Hindi story (प्यासा राहगीर, the thirsty traveller) Pencilmation-style with the browser bundle alone: the hand draws the scene and writes the narration, then rubs out the pot
66
66
  - **Captions** - `toSRT()` / `toWebVTT()` from narration cues or from a timeline's markers
67
67
 
@@ -236,7 +236,7 @@ GSAP-shaped functions at the top level. Teaching embeds are included: add
236
236
  itself.
237
237
 
238
238
  ```html
239
- <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.89.0/cdn/tinyfly.iife.js"></script>
239
+ <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.90.0/cdn/tinyfly.iife.js"></script>
240
240
  <script>
241
241
  tinyfly.to('.box', { x: 200, rotate: 90, duration: 1, ease: 'power2.out' })
242
242
 
@@ -272,7 +272,7 @@ A teaching figure needs no code at all:
272
272
  <script type="application/json" data-tinyfly-timeline>{ …timeline JSON with markers… }</script>
273
273
  <figcaption>Appending to a full slice</figcaption>
274
274
  </figure>
275
- <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.89.0/cdn/tinyfly.iife.js" data-tinyfly-auto></script>
275
+ <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.90.0/cdn/tinyfly.iife.js" data-tinyfly-auto></script>
276
276
  ```
277
277
 
278
278
  See [Teaching Animations](docs/teaching.md).
@@ -371,7 +371,7 @@ Without a build step, the player bundle puts the same functions on a `tinyfly` g
371
371
  <div data-tinyfly="box" style="width: 60px; height: 60px; background: #4a9eff;"></div>
372
372
  </div>
373
373
 
374
- <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.89.0/cdn/tinyfly-player.iife.js"></script>
374
+ <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.90.0/cdn/tinyfly-player.iife.js"></script>
375
375
  <script>
376
376
  tinyfly.play('#animation', './animation.json', { loop: -1 })
377
377
  </script>
@@ -480,7 +480,7 @@ Or skip the code entirely with declarative embeds (see [Teaching Animations](doc
480
480
  <svg viewBox="0 0 720 200">…</svg>
481
481
  <script type="application/json" data-tinyfly-timeline>{ …timeline JSON… }</script>
482
482
  </figure>
483
- <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.89.0/cdn/tinyfly-embed.iife.js" data-tinyfly-auto></script>
483
+ <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.90.0/cdn/tinyfly-embed.iife.js" data-tinyfly-auto></script>
484
484
  ```
485
485
 
486
486
  ### Audio / Video Sync