@algorisys/tinyfly 0.114.0 → 0.115.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 +6 -6
- package/docs/character-appearance.md +27 -2
- package/docs/editor-guide.md +1 -1
- package/docs/examples.md +1 -1
- package/docs/getting-started.md +1 -1
- package/docs/gsap-compat.md +1 -1
- package/docs/llm-guide.md +2 -0
- package/docs/maps.md +2 -2
- package/docs/teaching.md +1 -1
- package/lib/addons/characters.js +49 -46
- package/lib/addons/{cricket-play-BZNhfgOK.js → cricket-play-C5CkNOc6.js} +2187 -2005
- package/lib/addons/sports.js +1 -1
- package/lib/browser/tinyfly.iife.js +12 -12
- package/lib/browser/tinyfly.js +4806 -4624
- package/lib/browser/tinyfly.umd.js +12 -12
- package/lib/types/characters/character.d.ts +4 -0
- package/lib/types/characters/index.d.ts +2 -0
- package/lib/types/characters/look/illustrated-pen.d.ts +36 -0
- package/lib/types/characters/look/illustration-color.d.ts +13 -0
- package/lib/types/characters/look/pen.d.ts +18 -5
- package/llms-full.txt +38 -10
- package/llms.txt +30 -30
- package/package.json +1 -1
- package/skills/tinyfly/SKILL.md +3 -1
package/README.md
CHANGED
|
@@ -60,7 +60,7 @@ A lightweight, API-driven animation engine and visual editor for creating high-p
|
|
|
60
60
|
|
|
61
61
|
- **Soft cartoon story characters** - Opt-in `figure: 'organic'` adds filled shoulders, chest/waist/hip contours, supple limbs, small posed hands and deterministic cel shading on the existing rig. JSON body profiles keep anatomy independent of outline width; one skin colour covers body, face and hands under scene lighting and fog, and cel shading respects inherited opacity. Rear scalp hair and hats stay with the head through camera-sorted turns and nods. Foreground arms stay over waist garments in 2D and globally sorted 3D scenes, with only foreground arms promoted to garment depths so leaning head, neck, torso and legs retain world-object occlusion. Transparent organic skin keeps exposed body, head and both hand variants outline-only in every look. Editor Skin and Line controls resolve and edit imported body colour overrides. Leaf garment options are validated and copied at construction. Actor names are checked at runtime, and each head contour is reused for filling, shading and face clipping within a draw. Editable adult and child `softCartoonCharacter` presets, flowing hair, editable everyday/formal/casual/leaf clothing and the existing script, reach and lip-sync APIs support original stories. Try [**Soft Cartoon Characters**](https://tinyfly.app/examples/live-organic-characters): adults, children or an adult and child, with seven actions, face/hair controls and independent outfit editing. `outfitPreset()` supplies JSON wardrobe defaults; shirts, T-shirts, blouses, dresses, trousers, jeans, cargo, shorts, skirts, sleeves, collars, ties and colours remain editable. See [the appearance guide](docs/character-appearance.md).
|
|
62
62
|
- **Body shapes and measurements** - `body: { measurements: 'hourglass' }` (or `pear`, `rectangle`, `invertedTriangle`, `round`), or real girths `{ height, bust, underbust, waist, hip }` in any unit, give organic characters proportions that hold up at every turn: the torso has a side-view depth, so the bust, seat and belly read in profile and three-quarter views as well as from the front. Legs and clothing follow the hips, and the editor has a Body shape picker. See [the appearance guide](docs/character-appearance.md#body-shape-and-measurements).
|
|
63
|
-
- **Characters** - A poseable stick figure (`@algorisys/tinyfly/characters`): named poses, facial expressions (brows, eyes that widen, close and look around, mouth shapes), squash and stretch, rubber-hose limbs, blending, walk cycles and talking, all driven by timeline tracks. **Characters v2**: one skeleton in 3D drawn flat, turning front to side to back, resting on whatever touches the ground, reaching for points, in clean, pencil or
|
|
63
|
+
- **Characters** - A poseable stick figure (`@algorisys/tinyfly/characters`): named poses, facial expressions (brows, eyes that widen, close and look around, mouth shapes), squash and stretch, rubber-hose limbs, blending, walk cycles and talking, all driven by timeline tracks. **Characters v2**: one skeleton in 3D drawn flat, turning front to side to back, resting on whatever touches the ground, reaching for points, in clean, pencil, silhouette or illustrated (inked and painted, with light-weighted lines and shadow and highlight tones) looks, and a 🧍 Character element in the editor you pose and keyframe. **Character appearance**: 41 hairstyles, including soft sweeps, flowing bobs and cascading waves with scalp-attached curved locks and individual flexibility, 20 facial-hair styles, glasses, hats and ears as plain data on the head (they turn with it through all eight views), builds from toddler to tall, a recurring cast (`castMember`), 30 expressions with blush, tears and sweat, and hair that swings after a turn or a run and settles (`hairFollowTracks` keys the lag from the character's own tracks, so drawing stays stateless); four-legged animals' ears lay back on a run the way their tails already trail. Clothes are data too (`outfit.over`: an apron, a lab coat, a hoodie, a cardigan, overalls, a sari; boots), a mouth opens on teeth and a tongue, feet come in shapes, two people hug and help each other up (`embrace`, `helpUp`), and a cane in the hand or a wheelchair to ride are accessories any character can have, not part of an age ([guide](docs/character-appearance.md))
|
|
64
64
|
- **Dance and flips** - The stick figure dances disco, hip hop, breaking toprock, jazz, K-pop, Bollywood, Bhangra, Bharatanatyam (with mudras), the Charleston, tap (foot strikes as data, for tap sounds) and popping (side glide, moonwalk, forward glide, which travel with the planted foot staying put), and does front, back, layout, scissor and side flips, cartwheels, back handsprings, split leaps, toe touches and full splits. Wrists, ankles, foot turn-out, whole-body `spin` and `rise` are pose fields; moves are keyed in beats, so any tempo plays them; styles, grooves and routines are plain JSON (`danceFrame()`, `danceTracks()`, `flipPose()`, `flipTracks()`). In the editor a 🧍 Character dances from the playhead, in time with the music: an Audio element's tempo is detected (`detectTempo()`) or tapped, the timeline shows its beats and bars, and keyframes snap to them. Native v2 garba (two/three clap) and dandiya add body-local poses, circle formations with planted toes, paired stick-tip contacts, and timed full spins (`humanDanceFrame`, `danceCircleTracks`, `meetDandiya`, `characterScript3D`). Sparse custom keys keep numeric hand and pose values through JSON playback; rolled circles preserve native yaw-before-roll and foot grounding. Foot IK preserves authored hip turn-out for ankle and toe plants. Scripted dance entry preserves relaxed or explicitly posed hands through preceding holds. Script action boundaries retain preceding easing; festive examples solve contacts with their rendered body options. See [docs/dance.md](docs/dance.md)
|
|
65
65
|
- **Maps** - Animated maps on OpenStreetMap tiles or an offline world outline (also in pencil): the camera flies in, pins drop, routes draw themselves while a marker travels them; a 🗺 Map element in the editor with a one-click trip
|
|
66
66
|
- **Pencil sketch style** - Hand-drawn strokes with line boil (`sketch` style, `sketchPen`) for a pencil-test, Pencilmation-like look, on the stick figure and on canvas rect / circle / line / path shapes (also from the editor's Properties panel); a `drawOn` track draws any of those shapes on; the wobble is seeded by time, so renders stay deterministic
|
|
@@ -232,7 +232,7 @@ for what you import:
|
|
|
232
232
|
| `@algorisys/tinyfly/teach` | `lesson()` step builder and diagram primitives (cells, pointer, stack, queue, table, pipeline) | Anywhere |
|
|
233
233
|
| `@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) |
|
|
234
234
|
| `@algorisys/tinyfly/maps` | Animated maps: OpenStreetMap tiles or an offline world outline, places, routes that draw on, a camera that flies (`mapTarget`, `mapFlyTracks`, `fitView`, `WORLD_CITIES`) | Anywhere with a Canvas 2D context (tiles need a network) |
|
|
235
|
-
| `@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); **characters v2**: `character()` / `characterTarget()`, turnarounds front to back, contact, reaching, clean / pencil / silhouette looks; `hair`, `facialHair`, `glasses`, `hat`, `ears`, `face`, `feet`, `build`, `outfit` as data, `castMember()`, `HUMAN_EXPRESSIONS` with face marks; `embrace`, `helpUp`, `scenery` | Anywhere with a Canvas 2D context |
|
|
235
|
+
| `@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); **characters v2**: `character()` / `characterTarget()`, turnarounds front to back, contact, reaching, clean / pencil / silhouette / illustrated looks; `hair`, `facialHair`, `glasses`, `hat`, `ears`, `face`, `feet`, `build`, `outfit` as data, `castMember()`, `HUMAN_EXPRESSIONS` with face marks; `embrace`, `helpUp`, `scenery` | Anywhere with a Canvas 2D context |
|
|
236
236
|
| `@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) |
|
|
237
237
|
| `@algorisys/tinyfly/sports` | `cricketPlayer`, `cricketField`, `cricketAction`, `cricketClip`, `cricketPlay`, `cricketPlayClip`, `cricketCameraTracks`, `cricketEventAt`, field marking profiles/classification/overlays, shared `ballFlightTracks`; authored organic cricket stories and a 360° ground camera | Browser, Worker, Node; scene rendering through adapters |
|
|
238
238
|
| `@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 |
|
|
@@ -281,7 +281,7 @@ GSAP-shaped functions at the top level. Teaching embeds are included: add
|
|
|
281
281
|
itself.
|
|
282
282
|
|
|
283
283
|
```html
|
|
284
|
-
<script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.
|
|
284
|
+
<script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.115.0/cdn/tinyfly.iife.js"></script>
|
|
285
285
|
<script>
|
|
286
286
|
tinyfly.to('.box', { x: 200, rotate: 90, duration: 1, ease: 'power2.out' })
|
|
287
287
|
|
|
@@ -317,7 +317,7 @@ A teaching figure needs no code at all:
|
|
|
317
317
|
<script type="application/json" data-tinyfly-timeline>{ …timeline JSON with markers… }</script>
|
|
318
318
|
<figcaption>Appending to a full slice</figcaption>
|
|
319
319
|
</figure>
|
|
320
|
-
<script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.
|
|
320
|
+
<script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.115.0/cdn/tinyfly.iife.js" data-tinyfly-auto></script>
|
|
321
321
|
```
|
|
322
322
|
|
|
323
323
|
See [Teaching Animations](docs/teaching.md).
|
|
@@ -416,7 +416,7 @@ Without a build step, the player bundle puts the same functions on a `tinyfly` g
|
|
|
416
416
|
<div data-tinyfly="box" style="width: 60px; height: 60px; background: #4a9eff;"></div>
|
|
417
417
|
</div>
|
|
418
418
|
|
|
419
|
-
<script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.
|
|
419
|
+
<script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.115.0/cdn/tinyfly-player.iife.js"></script>
|
|
420
420
|
<script>
|
|
421
421
|
tinyfly.play('#animation', './animation.json', { loop: -1 })
|
|
422
422
|
</script>
|
|
@@ -525,7 +525,7 @@ Or skip the code entirely with declarative embeds (see [Teaching Animations](doc
|
|
|
525
525
|
<svg viewBox="0 0 720 200">…</svg>
|
|
526
526
|
<script type="application/json" data-tinyfly-timeline>{ …timeline JSON… }</script>
|
|
527
527
|
</figure>
|
|
528
|
-
<script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.
|
|
528
|
+
<script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.115.0/cdn/tinyfly-embed.iife.js" data-tinyfly-auto></script>
|
|
529
529
|
```
|
|
530
530
|
|
|
531
531
|
### Audio / Video Sync
|
|
@@ -133,6 +133,31 @@ accepts `mode: 'cel' | 'none'`, screen-space `light: [x, y]`, `shadow`,
|
|
|
133
133
|
Pencil and silhouette use their existing pens. Artist-authored painted
|
|
134
134
|
meshes remain a separate future capability.
|
|
135
135
|
|
|
136
|
+
### The illustrated look
|
|
137
|
+
|
|
138
|
+
`look: 'illustrated'` inks and paints the same shapes the clean look draws:
|
|
139
|
+
|
|
140
|
+
- Outlines are heavier on the side turned away from the light and thinner on
|
|
141
|
+
the lit side; open strokes (brows, mouth lines, folds, hair strands) taper
|
|
142
|
+
at their ends like a brush.
|
|
143
|
+
- Skin, clothes and hair are painted with a soft shadow, a narrower core
|
|
144
|
+
shadow and a highlight, mixed from each fill's own colour: shadows lean
|
|
145
|
+
toward red-violet, highlights toward warm yellow, greys shade cool
|
|
146
|
+
(`illustrationTones(colour)` returns the three tones).
|
|
147
|
+
- Faces get heavier arched brows, a lid shadow and crease, an iris glow, a
|
|
148
|
+
soft lower lip and cheek warmth.
|
|
149
|
+
|
|
150
|
+
```ts
|
|
151
|
+
character({
|
|
152
|
+
look: 'illustrated',
|
|
153
|
+
illustrated: { light: [-0.8, -0.6], weight: 0.6, taper: 0.7, shadow: 1, highlight: 0.6 },
|
|
154
|
+
})
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
Every option is optional. `light` points toward the light in screen space
|
|
158
|
+
and defaults to the body's `shading.light`; the others run 0..1. Drawing is
|
|
159
|
+
deterministic: the same character, pose and options give the same pixels.
|
|
160
|
+
|
|
136
161
|
Set `body.fill: 'none'` (or `skin: 'none'` without a body fill override) for
|
|
137
162
|
outline-only exposed body, head and hands in every look. Dot and articulated
|
|
138
163
|
hands omit skin fills and shading; clothing retains its own material.
|
|
@@ -290,7 +315,7 @@ Every style is the same few fields (`resolveHair(spec)` fills them all in):
|
|
|
290
315
|
| `ties` | Ponytails, buns and braids: `{ kind: 'ponytail' \| 'bun' \| 'braid', at: 'top' \| 'high' \| 'low' \| 'left' \| 'right', length?, size? }` |
|
|
291
316
|
| `locks` | Curved sections: `{ path, width, follow? }`; `width` is in head radii; `follow` scales their flex (default 1, 0 pins a lock) |
|
|
292
317
|
| `fall` | Hanging mass: `{ taper, wave }`, narrowing toward the ends (0..1 head radii) and a soft uneven hem (nonnegative head radii) |
|
|
293
|
-
| `shine` | Soft highlight opacity on the locks, 0..1 (default 0); drawn in the clean
|
|
318
|
+
| `shine` | Soft highlight opacity on the locks, 0..1 (default 0); drawn in the clean and illustrated looks |
|
|
294
319
|
| `coversEars` | The hair hides the ears |
|
|
295
320
|
|
|
296
321
|
A style stays a starting point: any style suits anyone.
|
|
@@ -501,7 +526,7 @@ coloured irises and highlights. `iris` sets their colour (default `#4b7fce`),
|
|
|
501
526
|
`lashes` enables outer lashes (default true), and `ageLines` sets subtle eye
|
|
502
527
|
and smile creases from 0 to 1 (default 0). `style: 'simple'` is the original
|
|
503
528
|
face and remains the default. Face style is separate from the pen's `look`
|
|
504
|
-
(`clean`, `pencil`, or `
|
|
529
|
+
(`clean`, `pencil`, `silhouette` or `illustrated`); `look: 'anime'` is not a pen style.
|
|
505
530
|
|
|
506
531
|
The existing `eye.left`, `eye.right`, `blink`, `lookX`, `lookY`, `pupil`, `lid`,
|
|
507
532
|
`bulge`, brows and mouth fields animate both styles. The coloured eye opening
|
package/docs/editor-guide.md
CHANGED
|
@@ -1143,7 +1143,7 @@ The dialog shows the generated HTML/JavaScript code with a **Copy Code** button.
|
|
|
1143
1143
|
**Steps to embed:**
|
|
1144
1144
|
1. Build the player: `npm run build:player`
|
|
1145
1145
|
2. Copy `lib/player/tinyfly-player.iife.js` to your project (or load
|
|
1146
|
-
`https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.
|
|
1146
|
+
`https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.115.0/cdn/tinyfly-player.iife.js`
|
|
1147
1147
|
instead; see [Deployment](DEPLOYMENT.md))
|
|
1148
1148
|
3. Copy the generated code into your HTML
|
|
1149
1149
|
4. Adjust the script `src` path if needed
|
package/docs/examples.md
CHANGED
|
@@ -743,7 +743,7 @@ For simple website embedding without a build system.
|
|
|
743
743
|
</html>
|
|
744
744
|
```
|
|
745
745
|
|
|
746
|
-
Build the player with `npm run build:player` to generate `lib/player/tinyfly-player.iife.js`, or load it from the CDN: `https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.
|
|
746
|
+
Build the player with `npm run build:player` to generate `lib/player/tinyfly-player.iife.js`, or load it from the CDN: `https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.115.0/cdn/tinyfly-player.iife.js`.
|
|
747
747
|
|
|
748
748
|
---
|
|
749
749
|
|
package/docs/getting-started.md
CHANGED
|
@@ -185,7 +185,7 @@ with a GSAP-style call (durations are in seconds here):
|
|
|
185
185
|
```html
|
|
186
186
|
<div class="box" style="width:60px;height:60px;background:#4a9eff"></div>
|
|
187
187
|
|
|
188
|
-
<script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.
|
|
188
|
+
<script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.115.0/cdn/tinyfly.iife.js"></script>
|
|
189
189
|
<script>
|
|
190
190
|
tinyfly.to('.box', { x: 200, duration: 1 })
|
|
191
191
|
</script>
|
package/docs/gsap-compat.md
CHANGED
|
@@ -74,7 +74,7 @@ Without a build step, the all-in-one bundle exposes the same functions on a
|
|
|
74
74
|
global — `tinyfly.to()`, `tinyfly.timeline()` and so on:
|
|
75
75
|
|
|
76
76
|
```html
|
|
77
|
-
<script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.
|
|
77
|
+
<script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.115.0/cdn/tinyfly.iife.js"></script>
|
|
78
78
|
<script>
|
|
79
79
|
tinyfly.to('.box', { x: 200, duration: 1 })
|
|
80
80
|
</script>
|
package/docs/llm-guide.md
CHANGED
|
@@ -217,6 +217,8 @@ from. The eight presets in `ANIME_CAST` (`animeBoy`, `animeGirl`,
|
|
|
217
217
|
Use `face: { style: 'anime', iris: '#4b7fce', lashes: true, ageLines: 0.6 }`
|
|
218
218
|
for coloured expressive eyes and optional creases; this is a face style,
|
|
219
219
|
not a `look` value. It uses the same expressions, blink, gaze and turn fields.
|
|
220
|
+
The `look` values are `clean`, `pencil`, `silhouette` and `illustrated`
|
|
221
|
+
(inked and painted, tuned with `illustrated: { light, weight, taper, shadow, highlight }`).
|
|
220
222
|
Age is proportions, hair, creases and clothes, never a stoop; a `cane` in a hand or
|
|
221
223
|
a `wheelchair()` to ride (`RIDING_POSES.wheeling`) is an accessory any
|
|
222
224
|
character can have. Expressions come from `HUMAN_EXPRESSIONS`
|
package/docs/maps.md
CHANGED
|
@@ -14,8 +14,8 @@ On a page with no build step, load the maps add-on after the browser bundle; it
|
|
|
14
14
|
adds to the same `tinyfly` global:
|
|
15
15
|
|
|
16
16
|
```html
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.
|
|
18
|
-
<script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.115.0/cdn/tinyfly.iife.js"></script>
|
|
18
|
+
<script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.115.0/cdn/tinyfly-maps.iife.js"></script>
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
It is a separate script because the offline world map it carries adds about
|
package/docs/teaching.md
CHANGED
|
@@ -25,7 +25,7 @@ path for all of that:
|
|
|
25
25
|
</figure>
|
|
26
26
|
|
|
27
27
|
<!-- once, anywhere on the page (a site-wide footer is fine) -->
|
|
28
|
-
<script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.
|
|
28
|
+
<script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.115.0/cdn/tinyfly-embed.iife.js" data-tinyfly-auto></script>
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
Every `[data-tinyfly-embed]` mounts when the page is ready, with no per-post
|
package/lib/addons/characters.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { H as we, A as bt, R as ce, B as Pe, D as Xt, E as on, F as at, G as ta, I as ye, J as oa, K as zo, L as nn, M as na, N as sa, O as Gs, P as sn, Q as Ys, S as ra, T as aa, U as ia, V as _e, W as la, X as Ke, Y as Us, Z as Xs, _ as Pn, $ as ha, a0 as xe, a1 as Le, a2 as Oe, a3 as ca, a4 as da, a5 as fa, a6 as Vs, a7 as Ae, a8 as $e, a9 as Js, aa as ua, ab as Lo, ac as je, ad as Zs, ae as ga, af as pa, ag as Qs, ah as ma, ai as ya, aj as ba, ak as wa, al as ka, i as va, h as Sa, c as Ma, j as $a, f as Ea, d as Aa, b as Ta, e as Pa, C as Oa, am as Ha, an as Ia, ao as xa, ap as ja, aq as _a, ar as Ka, as as Ca, at as Na } from "./cricket-play-
|
|
2
|
-
import { au as Ef, av as Af, aw as Tf, ax as Pf, ay as Of, az as Hf, aA as If, aB as xf, aC as jf, aD as _f, aE as Kf, aF as Cf, aG as Nf, aH as Rf, aI as Wf, aJ as zf, aK as Lf, aL as Ff, aM as Df, aN as qf, aO as Bf, aP as Gf, aQ as Yf, aR as Uf, aS as Xf, aT as Vf, aU as Jf, aV as Zf, aW as Qf, aX as eu, aY as tu, aZ as ou, a_ as nu, a$ as su, b0 as ru, b1 as au, b2 as iu, b3 as lu, b4 as hu, b5 as cu, b6 as du, b7 as fu, b8 as uu, b9 as gu, ba as pu, bb as mu, bc as yu, bd as bu, be as wu, bf as ku, bg as vu, bh as Su, bi as Mu, bj as $u, bk as Eu, bl as Au, bm as Tu, bn as Pu, bo as Ou, bp as Hu, bq as Iu, br as xu } from "./cricket-play-
|
|
1
|
+
import { H as we, A as bt, R as ce, B as Pe, D as Xt, E as on, F as at, G as ta, I as ye, J as oa, K as zo, L as nn, M as na, N as sa, O as Gs, P as sn, Q as Ys, S as ra, T as aa, U as ia, V as _e, W as la, X as Ke, Y as Us, Z as Xs, _ as Pn, $ as ha, a0 as xe, a1 as Le, a2 as Oe, a3 as ca, a4 as da, a5 as fa, a6 as Vs, a7 as Ae, a8 as $e, a9 as Js, aa as ua, ab as Lo, ac as je, ad as Zs, ae as ga, af as pa, ag as Qs, ah as ma, ai as ya, aj as ba, ak as wa, al as ka, i as va, h as Sa, c as Ma, j as $a, f as Ea, d as Aa, b as Ta, e as Pa, C as Oa, am as Ha, an as Ia, ao as xa, ap as ja, aq as _a, ar as Ka, as as Ca, at as Na } from "./cricket-play-C5CkNOc6.js";
|
|
2
|
+
import { au as Ef, av as Af, aw as Tf, ax as Pf, ay as Of, az as Hf, aA as If, aB as xf, aC as jf, aD as _f, aE as Kf, aF as Cf, aG as Nf, aH as Rf, aI as Wf, aJ as zf, aK as Lf, aL as Ff, aM as Df, aN as qf, aO as Bf, aP as Gf, aQ as Yf, aR as Uf, aS as Xf, aT as Vf, aU as Jf, aV as Zf, aW as Qf, aX as eu, aY as tu, aZ as ou, a_ as nu, a$ as su, b0 as ru, b1 as au, b2 as iu, b3 as lu, b4 as hu, b5 as cu, b6 as du, b7 as fu, b8 as uu, b9 as gu, ba as pu, bb as mu, bc as yu, bd as bu, be as wu, bf as ku, bg as vu, bh as Su, bi as Mu, bj as $u, bk as Eu, bl as Au, bm as Tu, bn as Pu, bo as Ou, bp as Hu, bq as Iu, br as xu, bs as ju, bt as _u } from "./cricket-play-C5CkNOc6.js";
|
|
3
3
|
import { getEasingFunction as mt, hashSeed as Fe, mat4 as ne, vec3 as ke, quat as We, Timeline as ve, unknownName as fe, createRandom as rn, springFollow as Bt, closestName as Fo } from "@algorisys/tinyfly";
|
|
4
4
|
import { f as Vt, h as Ra, a as er } from "./load-scene-oWNsYYC1.js";
|
|
5
5
|
import { l as tr, f as or } from "./shading-0lPgnXmD.js";
|
|
6
6
|
import { s as Wa, p as nr, b as an } from "./sketch-CYPUbk3Q.js";
|
|
7
|
-
import { c as
|
|
7
|
+
import { c as Cu, a as Nu } from "./sketch-CYPUbk3Q.js";
|
|
8
8
|
import { C as za } from "./target-properties-BtN9skb-.js";
|
|
9
|
-
import { I as
|
|
9
|
+
import { I as Wu, a as zu, b as Lu, c as Fu, d as Du, e as qu, f as Bu } from "./target-properties-BtN9skb-.js";
|
|
10
10
|
const bo = 0.5, Do = {
|
|
11
11
|
/** Flag: fingers together and straight, thumb bent in */
|
|
12
12
|
pataka: bt({ "thumb.curl": 0.3, "thumb.across": 0.6, "index.curl": 0, "middle.curl": 0, "ring.curl": 0, "pinky.curl": 0, spread: 0, turn: 2 }),
|
|
@@ -7999,6 +7999,7 @@ function uf(e, t = {}) {
|
|
|
7999
7999
|
"",
|
|
8000
8000
|
`- \`build\`: ${ue(o.character.builds)}`,
|
|
8001
8001
|
`- \`figure\`: ${ue(o.character.figureStyles)}`,
|
|
8002
|
+
"- `look`: `clean` (default), `pencil`, `silhouette`, `illustrated` (inked and painted: line weight follows the light, brush-tapered strokes, shadow/core/highlight tones from each fill; `illustrated: { light: [x, y], weight, taper, shadow, highlight }`, each 0–1)",
|
|
8002
8003
|
...Object.entries(o.character.body).map(([r, s]) => `- \`${r}\`: ${s}`),
|
|
8003
8004
|
`- \`hair\`: ${ue(o.character.hair)} (colours: ${ue(Object.keys(o.character.hairColors))} in \`HAIR_COLORS\`)`,
|
|
8004
8005
|
"- Flowing hair: `softSweep`, `flowingBob`, `cascadingWaves`; editable `locks: [{ path, width, follow? }]` with cubic `{ around, up, lift? }` points (around in degrees, dimensions in head radii), `fall: { taper, wave }` and `shine` (0–1). Roots stay attached; `hairFollowTracks` also drives flexible short locks.",
|
|
@@ -8714,7 +8715,7 @@ export {
|
|
|
8714
8715
|
Xs as HUMAN_GAGS,
|
|
8715
8716
|
_e as HUMAN_POSES,
|
|
8716
8717
|
ye as HUMAN_REST,
|
|
8717
|
-
|
|
8718
|
+
Wu as IDENTITY_CAMERA,
|
|
8718
8719
|
_l as MANGA_CAST,
|
|
8719
8720
|
Do as MUDRAS,
|
|
8720
8721
|
Pf as OUTFIT_PRESETS,
|
|
@@ -8746,8 +8747,8 @@ export {
|
|
|
8746
8747
|
e0 as airplane,
|
|
8747
8748
|
Ue as anchorError,
|
|
8748
8749
|
An as animalStrideLength,
|
|
8749
|
-
|
|
8750
|
-
|
|
8750
|
+
zu as animatableProperties,
|
|
8751
|
+
Lu as applyCamera,
|
|
8751
8752
|
Ya as applyGroove,
|
|
8752
8753
|
cs as assertBeats,
|
|
8753
8754
|
Ed as bakeDanceTracks,
|
|
@@ -8759,13 +8760,13 @@ export {
|
|
|
8759
8760
|
on as blendPose,
|
|
8760
8761
|
If as bodyProfileWidth,
|
|
8761
8762
|
xf as bodyShapeProfiles,
|
|
8762
|
-
|
|
8763
|
+
Cu as boilFrame,
|
|
8763
8764
|
Fi as boxMesh,
|
|
8764
8765
|
jf as brushingPose,
|
|
8765
8766
|
Sf as buildScene,
|
|
8766
8767
|
Tc as bus,
|
|
8767
|
-
|
|
8768
|
-
|
|
8768
|
+
Fu as cameraFromValues,
|
|
8769
|
+
Du as cameraPoint,
|
|
8769
8770
|
_0 as capabilities,
|
|
8770
8771
|
uf as capabilitiesMarkdown,
|
|
8771
8772
|
Ec as car,
|
|
@@ -8795,7 +8796,7 @@ export {
|
|
|
8795
8796
|
A0 as checkPropBeats,
|
|
8796
8797
|
ed as checkPropBeats3D,
|
|
8797
8798
|
Lh as checkSurfaceBeats,
|
|
8798
|
-
|
|
8799
|
+
qu as checkTracks,
|
|
8799
8800
|
k0 as chicken,
|
|
8800
8801
|
Nd as circlePath,
|
|
8801
8802
|
Tr as clipErased,
|
|
@@ -8819,7 +8820,7 @@ export {
|
|
|
8819
8820
|
Md as dancer,
|
|
8820
8821
|
of as defineAction,
|
|
8821
8822
|
nf as defineGait,
|
|
8822
|
-
|
|
8823
|
+
Bu as describeTarget,
|
|
8823
8824
|
Fc as desk,
|
|
8824
8825
|
h0 as dog,
|
|
8825
8826
|
Gc as door,
|
|
@@ -8891,11 +8892,12 @@ export {
|
|
|
8891
8892
|
Us as humanGaitStrideLength,
|
|
8892
8893
|
oa as humanPlan,
|
|
8893
8894
|
Qs as humanPose,
|
|
8894
|
-
eu as
|
|
8895
|
-
tu as
|
|
8896
|
-
ou as
|
|
8897
|
-
nu as
|
|
8898
|
-
su as
|
|
8895
|
+
eu as illustrationTones,
|
|
8896
|
+
tu as isHeld,
|
|
8897
|
+
ou as jointsInScene,
|
|
8898
|
+
nu as jointsToScene,
|
|
8899
|
+
su as leafOutfit,
|
|
8900
|
+
ru as leafOutfitContours,
|
|
8899
8901
|
mr as lipSyncKeyframes,
|
|
8900
8902
|
yn as lipSyncOver,
|
|
8901
8903
|
xd as lipSyncTracks,
|
|
@@ -8903,7 +8905,7 @@ export {
|
|
|
8903
8905
|
Sr as lookFields,
|
|
8904
8906
|
Dr as loosePartsOf,
|
|
8905
8907
|
a0 as lyingPose,
|
|
8906
|
-
|
|
8908
|
+
au as measuredHipWidth,
|
|
8907
8909
|
Td as meetDandiya,
|
|
8908
8910
|
Yd as meetHands,
|
|
8909
8911
|
Gd as meetingSpacing,
|
|
@@ -8915,15 +8917,15 @@ export {
|
|
|
8915
8917
|
xc as motorbike,
|
|
8916
8918
|
Ol as niceCeiling,
|
|
8917
8919
|
Un as objectPositionAt,
|
|
8918
|
-
|
|
8919
|
-
|
|
8920
|
-
|
|
8920
|
+
iu as organicBodyContours,
|
|
8921
|
+
lu as organicCenterLine,
|
|
8922
|
+
hu as outfitPreset,
|
|
8921
8923
|
M0 as owl,
|
|
8922
8924
|
Yi as panelMesh,
|
|
8923
8925
|
$0 as parrot,
|
|
8924
8926
|
pt as parseAnchor,
|
|
8925
8927
|
nr as partialPath,
|
|
8926
|
-
|
|
8928
|
+
Nu as pathLength,
|
|
8927
8929
|
kf as pedallingKeys,
|
|
8928
8930
|
qs as pedallingPose,
|
|
8929
8931
|
rf as persona,
|
|
@@ -8931,9 +8933,9 @@ export {
|
|
|
8931
8933
|
v0 as pigeon,
|
|
8932
8934
|
di as plantDanceFoot,
|
|
8933
8935
|
an as pointAlong,
|
|
8934
|
-
|
|
8936
|
+
cu as pointOnHead,
|
|
8935
8937
|
ga as pose,
|
|
8936
|
-
|
|
8938
|
+
du as poseTracks,
|
|
8937
8939
|
Tn as propActions,
|
|
8938
8940
|
pc as propAnchors3D,
|
|
8939
8941
|
En as propAt,
|
|
@@ -8957,36 +8959,37 @@ export {
|
|
|
8957
8959
|
Bh as reachOf,
|
|
8958
8960
|
Hr as resolveActingStyle,
|
|
8959
8961
|
fa as resolveCharacterPoseKeys,
|
|
8960
|
-
|
|
8961
|
-
|
|
8962
|
-
|
|
8963
|
-
|
|
8964
|
-
|
|
8965
|
-
|
|
8966
|
-
|
|
8967
|
-
|
|
8968
|
-
|
|
8962
|
+
fu as resolveFacialHair,
|
|
8963
|
+
uu as resolveGait,
|
|
8964
|
+
gu as resolveGlasses,
|
|
8965
|
+
pu as resolveHair,
|
|
8966
|
+
mu as resolveHat,
|
|
8967
|
+
yu as resolveHeadLook,
|
|
8968
|
+
bu as resolveHolding,
|
|
8969
|
+
wu as resolveIllustration,
|
|
8970
|
+
ku as resolveMeasurements,
|
|
8971
|
+
vu as resolveOrganicBody,
|
|
8969
8972
|
Vs as resolvePoseKeys,
|
|
8970
|
-
|
|
8971
|
-
|
|
8973
|
+
Su as resolveStickFrame,
|
|
8974
|
+
Mu as resolveStickPose,
|
|
8972
8975
|
wn as rideFloors,
|
|
8973
|
-
|
|
8976
|
+
$u as rotateAbout,
|
|
8974
8977
|
cn as routineBeats,
|
|
8975
|
-
|
|
8978
|
+
Eu as rubberLimb,
|
|
8976
8979
|
ud as scenePreset,
|
|
8977
8980
|
dd as scenery,
|
|
8978
8981
|
Kr as scriptActionSummaries,
|
|
8979
8982
|
Sn as scriptTracks,
|
|
8980
8983
|
Wd as scrubPath,
|
|
8981
|
-
|
|
8984
|
+
Au as seatHeight,
|
|
8982
8985
|
mn as shade,
|
|
8983
8986
|
Xi as shapeMesh,
|
|
8984
8987
|
Ws as sittingPose,
|
|
8985
|
-
|
|
8988
|
+
Tu as skeletonInView,
|
|
8986
8989
|
Wa as sketchPen,
|
|
8987
8990
|
ad as skyColors,
|
|
8988
8991
|
yr as smoothPath,
|
|
8989
|
-
|
|
8992
|
+
Pu as softCartoonCharacter,
|
|
8990
8993
|
jt as solveAt,
|
|
8991
8994
|
na as solvePlanSpace,
|
|
8992
8995
|
Fr as solveProp,
|
|
@@ -9004,13 +9007,13 @@ export {
|
|
|
9004
9007
|
je as stickFigureJoints,
|
|
9005
9008
|
Zs as stickFigureTarget,
|
|
9006
9009
|
Mi as stickToHuman,
|
|
9007
|
-
|
|
9010
|
+
Ou as strideLength,
|
|
9008
9011
|
me as surfaceBox,
|
|
9009
9012
|
sf as surfaceScript,
|
|
9010
|
-
|
|
9011
|
-
|
|
9012
|
-
|
|
9013
|
-
|
|
9013
|
+
Hu as sweepingPose,
|
|
9014
|
+
Iu as talkingMouth,
|
|
9015
|
+
xu as taperedLine,
|
|
9016
|
+
ju as taperedOutline,
|
|
9014
9017
|
Pc as tractor,
|
|
9015
9018
|
Hc as trainCar,
|
|
9016
9019
|
jc as tree,
|
|
@@ -9018,7 +9021,7 @@ export {
|
|
|
9018
9021
|
Ui as tubeMesh,
|
|
9019
9022
|
bn as valueAt,
|
|
9020
9023
|
De as vehicle,
|
|
9021
|
-
|
|
9024
|
+
_u as walkPose,
|
|
9022
9025
|
Xc as wheelchair,
|
|
9023
9026
|
Dd as whiteboard,
|
|
9024
9027
|
zd as withErased,
|