@algorisys/tinyfly 0.99.0 → 0.100.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.
Files changed (38) hide show
  1. package/README.md +8 -8
  2. package/docs/acting.md +10 -6
  3. package/docs/character-appearance.md +45 -7
  4. package/docs/editor-guide.md +38 -3
  5. package/docs/examples.md +1 -1
  6. package/docs/getting-started.md +1 -1
  7. package/docs/gsap-compat.md +1 -1
  8. package/docs/llm-guide.md +20 -7
  9. package/docs/maps.md +2 -2
  10. package/docs/props.md +61 -1
  11. package/docs/teaching.md +1 -1
  12. package/lib/addons/characters.js +5882 -4858
  13. package/lib/browser/tinyfly.iife.js +14 -14
  14. package/lib/browser/tinyfly.js +7145 -6121
  15. package/lib/browser/tinyfly.umd.js +14 -14
  16. package/lib/types/characters/acting/character-script.d.ts +14 -2
  17. package/lib/types/characters/acting/script.d.ts +9 -0
  18. package/lib/types/characters/capabilities.d.ts +2 -0
  19. package/lib/types/characters/character.d.ts +8 -1
  20. package/lib/types/characters/hair-follow.d.ts +12 -6
  21. package/lib/types/characters/hands/held-items.d.ts +6 -2
  22. package/lib/types/characters/head/face.d.ts +6 -1
  23. package/lib/types/characters/index.d.ts +3 -2
  24. package/lib/types/characters/interactions.d.ts +60 -0
  25. package/lib/types/characters/props/families/animals.d.ts +6 -0
  26. package/lib/types/characters/props/families/birds.d.ts +16 -0
  27. package/lib/types/characters/props/families/furniture.d.ts +102 -0
  28. package/lib/types/characters/props/index.d.ts +1 -0
  29. package/lib/types/characters/props/presets.d.ts +15 -2
  30. package/lib/types/characters/props/ride-3d.d.ts +4 -1
  31. package/lib/types/characters/scenery.d.ts +126 -0
  32. package/lib/types/characters/species/human-motion.d.ts +17 -0
  33. package/lib/types/characters/species/human.d.ts +6 -0
  34. package/lib/types/characters/wardrobe/basic-outfit.d.ts +16 -5
  35. package/llms-full.txt +205 -40
  36. package/llms.txt +29 -29
  37. package/package.json +2 -2
  38. package/skills/tinyfly/SKILL.md +13 -6
@@ -4,8 +4,9 @@ import type { CharacterLayers } from '../character';
4
4
  * body's parts through the character's pen (so they match the look). The
5
5
  * base is a top and trousers whose sleeves grow out of the shirt's shoulders
6
6
  * with no seam; the options change its cut (long or no sleeves, shorts, a
7
- * skirt) and add pieces worn over it (a collar, a tie, an apron, a lab coat).
8
- * The defaults are the original T-shirt and trousers, unchanged.
7
+ * skirt) and add pieces worn over it (a collar, a tie, an apron, a lab coat,
8
+ * a hoodie, a cardigan, overalls, a sari) and boots on the feet. The defaults
9
+ * are the original T-shirt and trousers, unchanged.
9
10
  */
10
11
  export interface BasicOutfitOptions {
11
12
  /** Shirt colour (default red) */
@@ -20,9 +21,19 @@ export interface BasicOutfitOptions {
20
21
  collar?: boolean;
21
22
  /** A tie down the front, in this colour */
22
23
  tie?: string | null;
23
- /** Worn over the clothes: an apron or a lab coat (default none) */
24
- over?: 'apron' | 'labCoat' | null;
25
- /** The apron's or lab coat's colour (default: white coat, tan apron) */
24
+ /**
25
+ * Worn over the clothes (default none): an apron, a lab coat, a hoodie (a
26
+ * loose top with a hood at the back, a front pocket and long sleeves), a
27
+ * cardigan (open down the front, buttoned, long sleeves), overalls (a bib
28
+ * on the chest with straps over the shoulders, in the trousers' colour) or
29
+ * a sari (a drape to the ankles with the pallu over the near shoulder)
30
+ */
31
+ over?: 'apron' | 'labCoat' | 'hoodie' | 'cardigan' | 'overalls' | 'sari' | null;
32
+ /** The colour of what is worn over (default: white coat, tan apron, grey hoodie, olive cardigan, green sari) */
26
33
  overColor?: string;
34
+ /** On the feet: nothing (default), or boots to above the ankle */
35
+ shoes?: 'none' | 'boots';
36
+ /** The boots' colour (default dark brown) */
37
+ shoeColor?: string;
27
38
  }
28
39
  export declare function basicOutfit(options?: BasicOutfitOptions): CharacterLayers;
package/llms-full.txt CHANGED
@@ -204,7 +204,7 @@ with a GSAP-style call (durations are in seconds here):
204
204
  ```html
205
205
  <div class="box" style="width:60px;height:60px;background:#4a9eff"></div>
206
206
 
207
- <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.99.0/cdn/tinyfly.iife.js"></script>
207
+ <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.100.0/cdn/tinyfly.iife.js"></script>
208
208
  <script>
209
209
  tinyfly.to('.box', { x: 200, duration: 1 })
210
210
  </script>
@@ -412,7 +412,7 @@ Without a build step, the all-in-one bundle exposes the same functions on a
412
412
  global — `tinyfly.to()`, `tinyfly.timeline()` and so on:
413
413
 
414
414
  ```html
415
- <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.99.0/cdn/tinyfly.iife.js"></script>
415
+ <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.100.0/cdn/tinyfly.iife.js"></script>
416
416
  <script>
417
417
  tinyfly.to('.box', { x: 200, duration: 1 })
418
418
  </script>
@@ -2278,7 +2278,7 @@ For simple website embedding without a build system.
2278
2278
  </html>
2279
2279
  ```
2280
2280
 
2281
- 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.99.0/cdn/tinyfly-player.iife.js`.
2281
+ 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.100.0/cdn/tinyfly-player.iife.js`.
2282
2282
 
2283
2283
  ---
2284
2284
 
@@ -5490,6 +5490,7 @@ Shapes, text, images, video, lines, arrows and paths are added from the
5490
5490
  | **🗺 Map** | An animated map: places, a route between them, and a camera (see [Maps](#maps)) |
5491
5491
  | **🧊 3D Scene** | A real 3D scene seen through its camera: meshes, lights, characters and props (see [3D Scenes](#3d-scenes)) |
5492
5492
  | **⌨ Code** | A code panel whose lines a Character's beats aim at and change (see [Code](#code)) |
5493
+ | **📊 Chart** | A bar, line, pie or donut chart from data, whose bars and slices beats aim at, change and ride (see [Charts](#charts-1)) |
5493
5494
 
5494
5495
  Polygon and star are **parametric** paths: change the sides/points/inner ratio in
5495
5496
  the Property Panel and the shape regenerates, and they rescale cleanly when you
@@ -5629,11 +5630,13 @@ Dances and flips are written as they are, and turn acting off.
5629
5630
  character's tracks and kept on the element (`beats` in the JSON). Write them
5630
5631
  as JSON (`[{ "do": "walk", "to": 320, "mood": "happy" }, { "do": "say",
5631
5632
  "say": "Hello!" }, { "do": "take" }]`) and click **🎬 Run beats**; the
5632
- timeline grows to fit. A beat can aim at a **⌨ Code** element's lines
5633
+ timeline grows to fit. A beat can aim at a **⌨ Code** element's lines or a
5634
+ **📊 Chart** element's bars, points and slices
5633
5635
  (`"target": { "surface": "Code 1", "anchor": "line:2" }`, also for `to`,
5634
5636
  `toward` and `onto`) and change them (`"then": { "surface": "Code 1",
5635
5637
  "edit": "highlight", "anchor": "line:2", "at": "contact" }`): the edits
5636
- become tracks on that element. Problems are named by beat (an unknown
5638
+ become tracks on that element, and a figure standing on a bar or a line
5639
+ rides it as it moves. Problems are named by beat (an unknown
5637
5640
  action, mood or place) before anything is written. The AI prompt bar writes
5638
5641
  beats this way too.
5639
5642
 
@@ -5718,6 +5721,28 @@ Its tracks are on the element, named `object.property` (`box.rotateY`,
5718
5721
  DOM and Canvas previews and in GIF / WebP / MP4 export. See [3D
5719
5722
  Scenes](scene-3d.md) for the same from code.
5720
5723
 
5724
+ ### Charts
5725
+
5726
+ A **📊 Chart** element is a `chart()` from code: a bar, line, pie or donut
5727
+ chart drawn by code into its box. In the property panel: the **Kind**,
5728
+ **Title**, **Theme** (light or dark), **Max** (the top of the scale; blank
5729
+ for a round number above the data), **Value labels** (a prefix, a suffix,
5730
+ decimal places, and whether to show them), **Axis titles**, the **Data** as
5731
+ JSON (`[{ "id": "q1", "label": "Q1", "value": 45 }, …]`; `"hidden": true`
5732
+ starts a bar, point or slice out of sight) and, for several series, the
5733
+ **Series** (`[{ "id": "plan", "label": "Plan" }, …]`, each datum then with
5734
+ `"values": { "plan": 40, … }`). Bad data is named under the fields instead of
5735
+ breaking the stage.
5736
+
5737
+ Its bars, points and slices are places. A Character's **Beats** aim at them
5738
+ (`{ "surface": "Chart 1", "anchor": "bar:q2" }`), change them (`set` to a
5739
+ value, `show` a hidden one, `highlight`, `pull` a slice out) and ride them:
5740
+ a figure that leaps `onto` a bar is carried up as the bar grows. The edits are
5741
+ tracks on the Chart element named `bar.q2.value`, `slice.a.pull` and so on,
5742
+ which you can also key by hand. Charts show in the DOM and Canvas previews and
5743
+ in GIF / WebP / MP4 export. See [Charts](acting.md#charts) for the same from
5744
+ code.
5745
+
5721
5746
  ### Selecting Elements
5722
5747
 
5723
5748
  - **Click** an element to select it
@@ -6511,7 +6536,7 @@ The dialog shows the generated HTML/JavaScript code with a **Copy Code** button.
6511
6536
  **Steps to embed:**
6512
6537
  1. Build the player: `npm run build:player`
6513
6538
  2. Copy `lib/player/tinyfly-player.iife.js` to your project (or load
6514
- `https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.99.0/cdn/tinyfly-player.iife.js`
6539
+ `https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.100.0/cdn/tinyfly-player.iife.js`
6515
6540
  instead; see [Deployment](DEPLOYMENT.md))
6516
6541
  3. Copy the generated code into your HTML
6517
6542
  4. Adjust the script `src` path if needed
@@ -6550,6 +6575,16 @@ The preview panel supports three rendering modes, switchable via the renderer se
6550
6575
 
6551
6576
  All three renderers play the same animation — switch between them to verify cross-renderer compatibility.
6552
6577
 
6578
+ Every renderer is editable on stage. The DOM preview's elements take the
6579
+ pointer themselves; the Canvas and SVG previews draw into one surface, so a
6580
+ transparent hit layer over the drawing carries the same boxes, handlers and
6581
+ selection chrome (resize and rotation handles, path points), placed by the
6582
+ animation and the camera exactly as the drawing is. Clicking selects (the
6583
+ topmost element first), dragging moves, handles resize and rotate, and the
6584
+ grid, snapping, rulers, guides, the pen tool and camera panning work the
6585
+ same whichever preview is on. Characters, charts, props and 3D scenes, which
6586
+ only the Canvas preview draws fully, can be arranged there directly.
6587
+
6553
6588
  ### Onion skinning
6554
6589
 
6555
6590
  In the **Canvas** renderer, click **🧅 Onion** to show faint **ghost frames**
@@ -7492,14 +7527,22 @@ one probably meant, and `propScript` throws on them.
7492
7527
  | `car()`, `truck()`, `bus()`, `tractor()`, `cart()`, `trainCar()`, `bike()`, `motorbike()` | `drive` (`to`), `brake` (`to`, a skid with locked wheels), `bump`, `honk`, `door` (`open`), `lights` (`on`) — doors and lights where it has them |
7493
7528
  | `tree()` | `sway` (`wind`, `for`), `shake`, `shedLeaves` |
7494
7529
  | `house()` | `door` (`open`), `lights` (`on`), `smoke` (`for`, runs in the background), `shake` |
7530
+ | `chair()` | `tip` (`for`: back on its rear legs, then settles), `fall` |
7531
+ | `desk()` | `drawer` (`open`) |
7532
+ | `bed()` | `bounce` (`for`: the mattress gives and springs back) |
7533
+ | `door()` | `open` (`open`, `for`), `slam`, `knock` (`for`) |
7534
+ | `wheelchair()` | `roll` (`to`; the wheels turn the distance), `brake` (`to`, wheels locked), `wheelie` (`for`) |
7495
7535
  | `helicopter()` | `takeOff` (`height`), `fly` (`to`, `height`), `hover`, `land` |
7496
7536
  | `airplane()` | `takeOff` (`to`, `height`), `fly` (`to`, `height`), `loop`, `land` (`to`) |
7497
7537
  | `horse()` | `walk`, `trot`, `canter`, `gallop` (`to`), `rear`, `buck`, `neigh`, `graze`, `sit`, `lie`, `jump`, `nod`, `swish` |
7498
7538
  | `dog()` | `walk`, `trot`, `run` (`to`), `bark`, `wag`, `sniff`, `sit`, `lie`, `jump`, `nod`, `swish` |
7499
7539
  | `cat()` | `walk`, `trot`, `run` (`to`), `meow`, `arch`, `pounce` (`to`), `sit`, `lie`, `jump`, `nod`, `swish` |
7500
7540
  | `cow()` | `walk`, `trot` (`to`), `moo`, `graze`, `sit`, `lie`, `jump`, `nod`, `swish` |
7541
+ | `goat()` | `walk`, `trot`, `gallop` (`to`), `bleat`, `graze`, `sit`, `lie`, `jump`, `nod`, `swish` |
7542
+ | `rabbit()`, `squirrel()` | `walk`, `gallop` (`to`: a hop, a scamper), `squeak` / `chatter`, `graze` (nibble), `sit`, `lie`, `jump`, `nod`, `swish` |
7501
7543
  | `songbird()`, `crow()` | `hop`, `walk` (`to`), `peck` (`for`), `flap` (`for`), `fly` (`to`, `height`), `glide` (`to`, `height`), `land` (`height`, `to`), `tweet` / `caw` |
7502
7544
  | `chicken()` | `walk` (`to`), `peck`, `flap`, `flutter`, `cluck` (it cannot fly) |
7545
+ | `pigeon()`, `duck()`, `owl()`, `parrot()` | As the songbird: `hop`, `walk`, `peck`, `flap`, `fly`, `glide`, `land`, and `coo` / `quack` / `hoot` / `squawk` |
7503
7546
 
7504
7547
  **Line art.** `propTarget({ …, style: 'stick' })` (or `drawSolvedProp(…, { style: 'stick' })`)
7505
7548
  draws a prop as line art to go with stick figures: tubes (legs, necks, tails,
@@ -7526,7 +7569,8 @@ neck stretches down to reach), and it walks with its head bobbing or hops.
7526
7569
  air) and flies to `height` metres; `glide` holds the wings out still and sinks
7527
7570
  gently toward `height` on the way to `to` (from the ground it flies the first
7528
7571
  stretch); `land` comes down to the ground or to a
7529
- perch (`height`). Perch it with anchors:
7572
+ perch (`height`), and landing above the ground its toes curl round the perch
7573
+ (`grip`, cleared as it takes off). Perch it with anchors:
7530
7574
 
7531
7575
  ```js
7532
7576
  const branch = propAt(treeTarget, { time: 0 }, 'tree').anchor('branch')
@@ -7550,6 +7594,26 @@ Make your own from the family generators: `vehicle(spec)` takes:
7550
7594
 
7551
7595
  `tree(spec)` and `house(spec)` take sizes and colours.
7552
7596
 
7597
+ **Furniture.** `chair()`, `desk()`, `bed()` and `door()` stand on the ground
7598
+ facing the viewer, and their places are anchors a figure uses them at: a
7599
+ chair's `seat` (ride it with `propRide({ anchor: 'seat' })`, a `seated` pose
7600
+ and `offset: { y: seatHeight(height) }`), `back` and `front`; a desk's `top`,
7601
+ `edge`, `drawer` and the `chair` spot in front; a bed's `mattress`, `pillow`,
7602
+ `foot` and `side`; a door's `handle`, `doorway`, `front` and `beyond` (a figure
7603
+ goes through from `front` to `beyond`, and the door is drawn over it until it
7604
+ opens). Each takes sizes and colours (`chair({ seatHeight: 0.5 })`, `door({
7605
+ hinge: 'right' })`). As surfaces (`propSurface`), their controls are edits a
7606
+ beat makes: `set` or `switch` `control:open`, `control:drawer`, `control:tip`.
7607
+
7608
+ A `wheelchair()` is furniture that moves: a seat and back on a frame, two big
7609
+ rimmed wheels, castors and footrests. It `roll`s to a place with its wheels
7610
+ turning exactly the distance (in 3D, its `roll` move does the same in
7611
+ metres), `brake`s with them locked, and tips back for a `wheelie`. Any
7612
+ character rides its `seat` in the `wheeling` pose (`RIDING_POSES.wheeling`:
7613
+ sitting up, hands down at the rims), and a pusher stands at `handles` in the
7614
+ `push` pose. It is an accessory, not an age or a build: who uses it is the
7615
+ story's choice, like a `cane` in a hand.
7616
+
7553
7617
  ## Figures with props
7554
7618
 
7555
7619
  - **Riding.** `propRide({ prop, propId, propTracks, anchor: 'seat', figure, figureId, start, end, offset })`
@@ -7568,6 +7632,37 @@ Make your own from the family generators: `vehicle(spec)` takes:
7568
7632
  See the gallery cards **Road Trip**, **Windy Day**, **Helicopter**,
7569
7633
  **Traffic**, **Horse & Cart**, **Farmyard**, **Birds** and **3D Scene: Village**.
7570
7634
 
7635
+ ## Scenery
7636
+
7637
+ `scenery(options)` is the world behind the figures: a canvas target that draws
7638
+ a sky (the sun and moon on their arcs, stars at night, clouds drifting on the
7639
+ wind, rain that slants with it, snow that drifts, hills or a city on the
7640
+ horizon, the ground) or a room (a wall, a floor and a window on that sky). Its
7641
+ values are tracks, so a day passes and weather comes and goes as keyframes,
7642
+ and every frame is drawn from its time alone:
7643
+
7644
+ ```js
7645
+ const sky = scenery({ x: 0, y: 0, width: 720, height: 400, hour: 9, clouds: 0.4, horizon: 'hills' })
7646
+ sky.set('hour', { at: 0, value: 20, duration: 12000 }) // dawn to night
7647
+ sky.set('wind', { at: 3000, value: 0.8, duration: 1000 })
7648
+ sky.set('rain', { at: 5000, value: 0.8, duration: 1500 })
7649
+ const tracks = sky.tracks('sky') // hour, wind, rain keys on 'sky'
7650
+ sky.anchor('sun', 4000) // where the sun is then
7651
+ ```
7652
+
7653
+ `hour` runs 0–24, `clouds`, `rain` and `snow` 0–1, `wind` −1 (from the right)
7654
+ to 1 (from the left). The same wind streams a character's hair:
7655
+ `hairFollowTracks(target, tracks, who, { wind })`. `kind: 'room'` draws a wall
7656
+ and a floor with a `window` on the sky; `horizon` is `hills`, `city` (lit
7657
+ windows at night) or `flat`; `colors` recolour any of it.
7658
+
7659
+ `scenePreset(name, { width, height })` lays out a scene as plain data (the
7660
+ scenery and where the props stand) and `buildScene` builds it into targets:
7661
+ `park` (a late-morning sky over hills, two trees and a bench), `street` (the end
7662
+ of the afternoon against the city: houses, a car, a tree), `office` (a room
7663
+ with a desk, a chair and a door) and `home` (a room at night with a bed, a
7664
+ chair and a door). The Park Day card plays a day over the park.
7665
+
7571
7666
  ## In 3D scenes
7572
7667
 
7573
7668
  Props stand in `@algorisys/tinyfly/scene-3d` scenes too:
@@ -7624,10 +7719,16 @@ in `@algorisys/tinyfly/characters`.
7624
7719
 
7625
7720
  ## Props
7626
7721
 
7627
- For objects in a story (vehicles, trees, houses, aircraft, animals, birds),
7628
- use the presets (`car()`, `tree()`, `helicopter()`, `dog()`, `crow()`…) with
7722
+ For objects in a story (vehicles, trees, houses, furniture, aircraft,
7723
+ animals, birds), use the presets (`car()`, `tree()`, `chair()`, `door()`,
7724
+ `wheelchair()`, `helicopter()`, `dog()`, `goat()`, `owl()`…) with
7629
7725
  `propTarget` and `propScript`; the catalog lists each preset's actions,
7630
- controls and anchors, and `checkPropBeats` checks prop beats. `style: 'stick'`
7726
+ controls and anchors, and `checkPropBeats` checks prop beats. Furniture has
7727
+ the places a figure uses it at as anchors (`seat`, `top`, `mattress`,
7728
+ `handle`, `doorway`): aim beats at them rather than guessing a spot. For a
7729
+ sky or a room behind everything use `scenery()` (or `scenePreset('park')`),
7730
+ whose `hour`, `clouds`, `wind`, `rain` and `snow` are tracks, not a drawing
7731
+ of your own. `style: 'stick'`
7631
7732
  draws any prop as line art to go with stick figures. A bird's `lift` is in
7632
7733
  metres: to perch it on a branch or a roof, work the height out from that
7633
7734
  prop's anchor (`propAt(tree, frame, 'tree').anchor('branch')`). In a 3D
@@ -7643,9 +7744,14 @@ seated with `propRide3D` and spliced into its script with `spliceTracks`. See `d
7643
7744
 
7644
7745
  A v2 character's appearance is plain options to `character()`, never drawing
7645
7746
  code: `build` (`child`, `tall`, `short`…), `hair` (a style name, or
7646
- `{ style, color, length, … }`), `facialHair`, `glasses`, `hat`, `ears: true`
7647
- and `outfit: { shirt, trousers }`. `castMember('grandpa', 300)` gives a whole
7648
- ready-made character to start from. Expressions come from `HUMAN_EXPRESSIONS`
7747
+ `{ style, color, length, … }`), `facialHair`, `glasses`, `hat`, `ears: true`,
7748
+ `face: { teeth, tongue }` (shown when the mouth opens), `feet` (`round`,
7749
+ `flat`, `pointed`, `big`) and `outfit: { shirt, trousers, over: 'hoodie' |
7750
+ 'cardigan' | 'overalls' | 'sari' | 'apron' | 'labCoat', shoes: 'boots' }`.
7751
+ `castMember('grandpa', 300)` gives a whole ready-made character to start
7752
+ from. Age is hair, glasses and clothes, never a stoop; a `cane` in a hand or
7753
+ a `wheelchair()` to ride (`RIDING_POSES.wheeling`) is an accessory any
7754
+ character can have. Expressions come from `HUMAN_EXPRESSIONS`
7649
7755
  and are pose fields, as are the face marks `blush`, `tears` and `sweat` (0–1),
7650
7756
  so any face goes with any action or view. Hair and hats turn with the head:
7651
7757
  don't draw a different hairstyle per view. Hanging hair swings on its own:
@@ -7654,7 +7760,9 @@ posing per frame, `hairFollow` once and `hairMotionAt(keys, t)` each frame)
7654
7760
  rather than keying `hair.swing` by hand. Put things in hands with `holding`
7655
7761
  (`{ right: 'mug' }`, `{ both: 'parcel' }`; the pose field `held.both` lets go),
7656
7762
  and for two characters touching use `meetHands('handshake', a, b)` with the
7657
- two standing `meetingSpacing(…)` apart, never two separate clips. See
7763
+ two standing `meetingSpacing(…)` apart, `embrace(a, b)` for a hug at
7764
+ `embraceSpacing` and `helpUp(helper, sitter, progress)` for a help-up at
7765
+ `helpUpSpacing`, never two separate clips. See
7658
7766
  `docs/character-appearance.md`.
7659
7767
 
7660
7768
  ## Surfaces
@@ -7821,7 +7929,7 @@ path for all of that:
7821
7929
  </figure>
7822
7930
 
7823
7931
  <!-- once, anywhere on the page (a site-wide footer is fine) -->
7824
- <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.99.0/cdn/tinyfly-embed.iife.js" data-tinyfly-auto></script>
7932
+ <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.100.0/cdn/tinyfly-embed.iife.js" data-tinyfly-auto></script>
7825
7933
  ```
7826
7934
 
7827
7935
  Every `[data-tinyfly-embed]` mounts when the page is ready, with no per-post
@@ -8896,8 +9004,8 @@ On a page with no build step, load the maps add-on after the browser bundle; it
8896
9004
  adds to the same `tinyfly` global:
8897
9005
 
8898
9006
  ```html
8899
- <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.99.0/cdn/tinyfly.iife.js"></script>
8900
- <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.99.0/cdn/tinyfly-maps.iife.js"></script>
9007
+ <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.100.0/cdn/tinyfly.iife.js"></script>
9008
+ <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.100.0/cdn/tinyfly-maps.iife.js"></script>
8901
9009
  ```
8902
9010
 
8903
9011
  It is a separate script because the offline world map it carries adds about
@@ -9289,6 +9397,11 @@ Beards: `none`, `stubble`, `goatee`, `soulPatch`, `chinStrap`, `circle`,
9289
9397
  The crown sits over the hair; hair below the brim still shows.
9290
9398
  - `ears: true` adds ears: they stick out past the head from the front and
9291
9399
  behind, and sit on the head with a curl when turned toward the viewer.
9400
+ - `face: { teeth: true, tongue: true }` shows a row of upper teeth hanging
9401
+ from the top of the mouth, and a tongue lying in the bottom of it, whenever
9402
+ the mouth opens past 0.3 (a laugh, a shout, a wail). The mouth's shape is
9403
+ still the pose's `mouth`, `smile` and `mouthWidth`; a closed or barely open
9404
+ mouth shows neither. Default: neither, so a plain face draws as before.
9292
9405
 
9293
9406
  ## Builds
9294
9407
 
@@ -9305,9 +9418,16 @@ field can still be set on its own (`headSize`, `shoulderWidth`, `hipWidth`,
9305
9418
  | `broad`, `curvy`, `stocky` | Shoulder and hip widths (stocky: a larger head) |
9306
9419
  | `kid`, `child`, `toddler` | Larger head, shorter limbs |
9307
9420
 
9421
+ `feet` sets the feet's shape: `round` (the default blob), `flat` (a shoe,
9422
+ longer and even), `pointed` (a slipper, tapering to the toe) or `big` (clown's
9423
+ feet, half as long again and wide). The shape is clearest in profile, where
9424
+ the foot points along the ground; from the front it points at the viewer.
9425
+
9308
9426
  Age, posture and accessories are separate choices: a child build is only
9309
9427
  proportions, and an older character is shown by hair and glasses, never by a
9310
- stoop unless one is posed. The same poses, gaits and actions work on every
9428
+ stoop unless one is posed. A cane (`holding: { right: 'cane' }`) and a
9429
+ wheelchair (the `wheelchair()` prop, ridden in the `wheeling` pose) are
9430
+ accessories any character can have, not part of an age. The same poses, gaits and actions work on every
9311
9431
  build; `humanGaitStrideLength(gait, height, stride, legLength)` gives a build's
9312
9432
  stride so its feet stay planted.
9313
9433
 
@@ -9328,7 +9448,8 @@ character({ outfit: { over: 'labCoat' } })
9328
9448
  | `bottom` | `trousers` (default), `shorts`, `skirt` |
9329
9449
  | `collar` | `true` for a shirt collar |
9330
9450
  | `tie` | A colour, for a tie down the front |
9331
- | `over`, `overColor` | `apron` or `labCoat`, and its colour |
9451
+ | `over`, `overColor` | `apron`, `labCoat`, `hoodie` (a loose top with a hood at the back, a front pocket and long sleeves), `cardigan` (open down the front, buttoned), `overalls` (a bib with straps, in the trousers' colour) or `sari` (a drape to the ankles with the pallu over the near shoulder), and its colour |
9452
+ | `shoes`, `shoeColor` | `boots` to above the ankle, and their colour |
9332
9453
 
9333
9454
  The front details (collar, tie, apron, the coat's opening) show from the
9334
9455
  front and turn away with the body; from behind an apron shows its ties.
@@ -9347,6 +9468,28 @@ family: `boy`, `girl`, `youngMan`, `youngWoman`, `man`, `woman`, `grandpa`,
9347
9468
  const family = ['man', 'woman', 'girl', 'grandma'].map((name) => character(castMember(name, 280)))
9348
9469
  ```
9349
9470
 
9471
+ ## Hugs, help-ups and everyday cycles
9472
+
9473
+ Two people, more than hands: `embrace(a, b)` is a hug. Both turn toward each
9474
+ other, lean in and tilt their heads together, and each reaches its right arm
9475
+ over the other's shoulder and its left round the other's waist, exactly, from
9476
+ where the two stand (`embraceSpacing(a, b)` apart). `helpUp(helper, sitter,
9477
+ progress)` is one person helping another up off the floor as a function of how
9478
+ far along it is: at 0 the sitter sits on the floor and the helper bows to take
9479
+ its hand, at 1 both stand, and in between the hands stay joined at a point
9480
+ that rises with them (`helpUpSpacing(helper, sitter)` apart). Both return
9481
+ plain poses (`a`, `b`, or `helper`, `sitter`) and whether they `reached`.
9482
+
9483
+ ```js
9484
+ const hug = embrace({ character: cook, x: 300 }, { character: grandpa, x: 300 + embraceSpacing(cook, grandpa) })
9485
+ const rising = helpUp({ character: cook, x: 300 }, { character: grandpa, x: 300 + helpUpSpacing(cook, grandpa) }, 0.5)
9486
+ ```
9487
+
9488
+ Everyday actions as cycles, like a gait: `humanCyclePose('sweeping', phase,
9489
+ base)` sweeps a broom side to side (hold one: `holding: { right: 'broom' }`)
9490
+ and `'brushing'` works a hand across a surface in front at chest height; `phase`
9491
+ 0 → 1 is one stroke and back. The Help Up card shows all three.
9492
+
9350
9493
  ## Expressions and face marks
9351
9494
 
9352
9495
  `HUMAN_EXPRESSIONS` sets every face field, so applying one replaces the whole
@@ -9377,11 +9520,14 @@ character({ holding: { left: 'bag', right: 'bag' } }) // carry
9377
9520
  character({ holding: { both: { item: 'parcel', color: '#c9a06a' } } })
9378
9521
  ```
9379
9522
 
9380
- Items: `mug`, `phone`, `briefcase`, `bag`, `umbrella` and `broom` (one hand,
9381
- `left` or `right`), `book` (one hand or `both`) and `parcel` (`both`). Each is
9523
+ Items: `mug`, `phone`, `briefcase`, `bag`, `umbrella`, `broom` and `cane` (one
9524
+ hand, `left` or `right`), `book` (one hand or `both`) and `parcel` (`both`). Each is
9382
9525
  drawn at the hand's grip, so it follows the hand through any pose, gait or
9383
9526
  turn, and sorts with that arm (a mug goes behind the body with the far arm).
9384
- An umbrella's canopy sits just over the head. `handGrip(joints, side)` gives
9527
+ An umbrella's canopy sits just over the head. A cane's crook is in the hand
9528
+ and its shaft reaches the ground while the hand hangs, lifting with the hand
9529
+ once it rises; `HUMAN_POSES.cane` stands leaning on it (the arm straight, a
9530
+ little ahead), and any gait walks with it. `handGrip(joints, side)` gives
9385
9531
  the grip point and the forearm's direction for drawing anything else in a
9386
9532
  hand.
9387
9533
 
@@ -9409,8 +9555,8 @@ const give = meetHands('handOver', { character: courier, x: 300 }, { character:
9409
9555
 
9410
9556
  Select a 🧍 Character and open **Head** in the properties: **Cast** dresses it
9411
9557
  as a cast member (build, hair, facial hair, glasses and clothes in one step),
9412
- then **Hair**, **Hair colour**, **Facial hair**, **Glasses**, **Hat** and
9413
- **Ears** change one thing at a time; **Right hand**, **Left hand** and **Both
9558
+ then **Hair**, **Hair colour**, **Facial hair**, **Glasses**, **Hat**,
9559
+ **Ears**, **Teeth**, **Tongue** and **Feet** change one thing at a time; **Right hand**, **Left hand** and **Both
9414
9560
  hands** put an item in them. **Build** lists the builds, with **Legs** and
9415
9561
  **Arms** sliders. The new expressions and everyday poses are in the **Face**
9416
9562
  and **Body** lists. All of it is saved as plain fields on the element and
@@ -9721,9 +9867,13 @@ overshoots and overlaps on this body, and the lines are lip-synced over its
9721
9867
  mouth. The walk phase is rekeyed to the character's own stride (its height and
9722
9868
  legs: a child takes shorter steps), so its feet stay planted. The `walk`,
9723
9869
  `walking` and `gait` tracks step the gait as the target draws
9724
- (`characterPoseOf(props)` folds them into the pose, for drawing by hand). Hands
9725
- reach in the stick figure's proportions, so a `grab` or a `point` lands near
9726
- its target on the human body, not exactly on it. Your own gaits go in
9870
+ (`characterPoseOf(props)` folds them into the pose, for drawing by hand). Reaches
9871
+ are planned for the character's own arms and legs (`reach`, the share of the
9872
+ stick figure's reach its limbs have, so it steps to where they reach), and
9873
+ while a beat's hand or foot is on its target the limb is re-aimed on the
9874
+ human body: a `point` aims at the spot, a `grab`, `put` or `kick` lands on it
9875
+ (leaning down to a low one), and a `swipe`, `write` or `push` follows where
9876
+ the stick figure's palm went. Your own gaits go in
9727
9877
  `options.gaits` for the script and `gaits` on `characterTarget` so the drawing
9728
9878
  knows them too.
9729
9879
 
@@ -10195,9 +10345,9 @@ timeline plays: editor previews, players, embeds and exports.
10195
10345
 
10196
10346
  ## Not yet
10197
10347
 
10198
- - A code panel in the editor (a Code element whose lines and words snap beats)
10199
- - Beat scripts' hands reaching in the v2 character's own proportions (a `grab`
10200
- lands near its target, not on it)
10348
+ - Beat scripts for v2 characters acting on surfaces directly (`surfaceScript`
10349
+ drives the stick figure; in the editor, a Character's Beats box resolves
10350
+ surface places and cues for it)
10201
10351
 
10202
10352
  ---
10203
10353
 
@@ -13404,7 +13554,7 @@ magnet.addEventListener('pointerleave', () => {
13404
13554
 
13405
13555
  <!-- capabilities: generated from the library -->
13406
13556
 
13407
- # tinyfly capabilities (v0.99.0)
13557
+ # tinyfly capabilities (v0.100.0)
13408
13558
 
13409
13559
  Generated from the library itself: every name below is accepted, and names not listed are rejected (beat scripts, code panels and `checkTracks` say which name was probably meant).
13410
13560
 
@@ -13628,7 +13778,7 @@ A prop is a 3D rig of simple parts drawn with the characters’ pens (clean, pen
13628
13778
  - `songbird() · crow() · chicken()`: birds (bird(spec) makes your own): hop, walk, peck, flap, fly and land (a chicken flutters), their calls; wings fold and beat in rhythm
13629
13779
  - `{ kind: 'prop', prop: 'car', position, rotation, values } with loadScene3D(scene, { kinds: [characterObjects, propObjects] })`: props in 3D scenes, by preset name, seen in perspective by the scene camera; controls are tracks on the object
13630
13780
  - `characterScript3D(id, beats, { scene, position?, heading?, height?, pose? })`: a v2 character in a 3D scene in world metres: gaits to [x, z] or through points (its walk phase keyed with the distance), face, hold, pose, gag; checkCharacterBeats3D checks the beats
13631
- - `propRide3D({ prop, propId, propTracks, scene, placement, anchor, riderId, pose, start, end, mount?, dismount? })`: a character riding a prop in a 3D scene: hips on a seat anchor (saddle, seat) as it moves, hopping on and off; RIDING_POSES.astride / .seated
13781
+ - `propRide3D({ prop, propId, propTracks, scene, placement, anchor, riderId, pose, start, end, mount?, dismount? })`: a character riding a prop in a 3D scene: hips on a seat anchor (saddle, seat) as it moves, hopping on and off; RIDING_POSES.astride / .seated / .driving / .cycling / .wheeling (a wheelchair)
13632
13782
  - `propScript3D(id, prop, beats, { scene, position?, heading?, values? })`: props scripted in world metres for 3D scenes: moves to [x, z] or through points (wheels and strides keyed with the distance), face, hold, and their actions; checkPropBeats3D checks the beats
13633
13783
  - `propPreset(name, options?)`: a prop preset by name (did-you-mean on a wrong one)
13634
13784
  - `propTarget({ …, style: 'stick' })`: line art to go with stick figures: tubes as single strokes, shapes outlined over paper
@@ -13642,6 +13792,8 @@ A prop is a 3D rig of simple parts drawn with the characters’ pens (clean, pen
13642
13792
 
13643
13793
  Prop beat fields: `do`, `at`, `for`, `to`, `toward`, `speed`, `open`, `on`, `height`, `wind`. Every prop has the controls `turn`, `tilt`, `pitch`, `roll`, `squash`, `lift`, `lean`, `size` and the actions `hold`, `turn`, `pop`, `vanish`.
13644
13794
 
13795
+ Scenery: `scenery({ x, y, width, height, kind: sky | room, hour, clouds, wind, rain, snow, horizon: hills | city | flat })` is a canvas target whose values `hour` (0–24), `clouds`, `rain`, `snow` (0–1) and `wind` (−1..1) are tracks (`set(prop, { at, value, duration })`, `tracks(id)`; `anchor('sun' | 'moon' | 'horizon' | 'ground', time)`); the same `wind` streams hair (`hairFollowTracks(…, { wind })`). `scenePreset('park' | 'street' | 'office' | 'home', { width, height })` lays out scenery and props as data; `buildScene` builds them into targets.
13796
+
13645
13797
  | Preset | Family | Actions (needs) | Controls | Anchors |
13646
13798
  |---|---|---|---|---|
13647
13799
  | `car()` | vehicle | `drive` (to), `brake` (to), `bump`, `honk`, `door` (open), `lights` (on) | `wheelSpin`, `door`, `lights`, `antenna` | seat, front, back, roof, door |
@@ -13654,32 +13806,45 @@ Prop beat fields: `do`, `at`, `for`, `to`, `toward`, `speed`, `open`, `on`, `hei
13654
13806
  | `motorbike()` | vehicle | `drive` (to), `brake` (to), `bump`, `honk`, `lights` (on) | `wheelSpin`, `lights` | seat, front, back, roof |
13655
13807
  | `tree()` | plant | `sway`, `shake`, `shedLeaves` | `sway`, `canopySway` | canopy, top, base, branch |
13656
13808
  | `house()` | building | `door` (open), `lights` (on), `shake`, `smoke` | `door`, `lights` | door, doorstep, ridge, chimney |
13809
+ | `chair()` | furniture | `tip`, `fall` | `tip` | seat, back, front |
13810
+ | `desk()` | furniture | `drawer` (open) | `drawer` | top, edge, drawer, chair |
13811
+ | `bed()` | furniture | `bounce` | `give` | mattress, pillow, foot, side |
13812
+ | `door()` | furniture | `open`, `slam`, `knock` | `open` | handle, doorway, front, beyond |
13813
+ | `wheelchair()` | furniture | `roll` (to), `brake` (to), `wheelie` | `wheelSpin`, `tip` | seat, handles, front, footrest |
13657
13814
  | `helicopter()` | aircraft | `takeOff`, `fly` (to), `hover`, `land` | `rotor`, `blur` | seat, door, rotor, skids, hook |
13658
13815
  | `airplane()` | aircraft | `takeOff` (to), `fly` (to), `loop`, `land` (to) | `rotor`, `blur` | seat, nose, tail, wingtip |
13659
13816
  | `horse()` | animal | `walk` (to), `trot` (to), `canter` (to), `gallop` (to), `neigh`, `sit`, `lie`, `jump`, `nod`, `swish`, `graze`, `rear`, `buck` | `walk`, `walking`, `gait`, `neck`, `tail`, `wag`, `ears`, `fl.swing`, `fl.knee`, `fl.ankle`, `fr.swing`, `fr.knee`, `fr.ankle`, `hl.swing`, `hl.knee`, `hl.ankle`, `hr.swing`, `hr.knee`, `hr.ankle` | back, head, mouth, front, hitch, saddle |
13660
13817
  | `dog()` | animal | `walk` (to), `trot` (to), `run` (to), `gallop` (to), `bark`, `sit`, `lie`, `jump`, `nod`, `swish`, `wag`, `sniff` | `walk`, `walking`, `gait`, `neck`, `tail`, `wag`, `ears`, `fl.swing`, `fl.knee`, `fl.ankle`, `fr.swing`, `fr.knee`, `fr.ankle`, `hl.swing`, `hl.knee`, `hl.ankle`, `hr.swing`, `hr.knee`, `hr.ankle` | back, head, mouth, front, leash |
13661
13818
  | `cat()` | animal | `walk` (to), `trot` (to), `run` (to), `gallop` (to), `meow`, `sit`, `lie`, `jump`, `nod`, `swish`, `arch`, `pounce` (to) | `walk`, `walking`, `gait`, `neck`, `tail`, `wag`, `ears`, `fl.swing`, `fl.knee`, `fl.ankle`, `fr.swing`, `fr.knee`, `fr.ankle`, `hl.swing`, `hl.knee`, `hl.ankle`, `hr.swing`, `hr.knee`, `hr.ankle` | back, head, mouth, front |
13662
13819
  | `cow()` | animal | `walk` (to), `trot` (to), `moo`, `sit`, `lie`, `jump`, `nod`, `swish`, `graze` | `walk`, `walking`, `gait`, `neck`, `tail`, `wag`, `ears`, `fl.swing`, `fl.knee`, `fl.ankle`, `fr.swing`, `fr.knee`, `fr.ankle`, `hl.swing`, `hl.knee`, `hl.ankle`, `hr.swing`, `hr.knee`, `hr.ankle` | back, head, mouth, front |
13663
- | `songbird()` | bird | `hop` (to), `walk` (to), `peck`, `flap`, `tweet`, `fly` (to), `glide` (to), `land` | `spread`, `flap`, `wingbeat`, `flapping`, `peck`, `step`, `stepping`, `leg.left`, `leg.right` | beak, head, back, feet |
13664
- | `crow()` | bird | `hop` (to), `walk` (to), `peck`, `flap`, `caw`, `fly` (to), `glide` (to), `land` | `spread`, `flap`, `wingbeat`, `flapping`, `peck`, `step`, `stepping`, `leg.left`, `leg.right` | beak, head, back, feet |
13665
- | `chicken()` | bird | `hop` (to), `walk` (to), `peck`, `flap`, `cluck`, `flutter` | `spread`, `flap`, `wingbeat`, `flapping`, `peck`, `step`, `stepping`, `leg.left`, `leg.right` | beak, head, back, feet |
13820
+ | `goat()` | animal | `walk` (to), `trot` (to), `run` (to), `gallop` (to), `bleat`, `sit`, `lie`, `jump`, `nod`, `swish`, `graze` | `walk`, `walking`, `gait`, `neck`, `tail`, `wag`, `ears`, `fl.swing`, `fl.knee`, `fl.ankle`, `fr.swing`, `fr.knee`, `fr.ankle`, `hl.swing`, `hl.knee`, `hl.ankle`, `hr.swing`, `hr.knee`, `hr.ankle` | back, head, mouth, front |
13821
+ | `rabbit()` | animal | `walk` (to), `run` (to), `gallop` (to), `squeak`, `sit`, `lie`, `jump`, `nod`, `swish`, `graze` | `walk`, `walking`, `gait`, `neck`, `tail`, `wag`, `ears`, `fl.swing`, `fl.knee`, `fl.ankle`, `fr.swing`, `fr.knee`, `fr.ankle`, `hl.swing`, `hl.knee`, `hl.ankle`, `hr.swing`, `hr.knee`, `hr.ankle` | back, head, mouth, front |
13822
+ | `squirrel()` | animal | `walk` (to), `run` (to), `gallop` (to), `chatter`, `sit`, `lie`, `jump`, `nod`, `swish`, `graze` | `walk`, `walking`, `gait`, `neck`, `tail`, `wag`, `ears`, `fl.swing`, `fl.knee`, `fl.ankle`, `fr.swing`, `fr.knee`, `fr.ankle`, `hl.swing`, `hl.knee`, `hl.ankle`, `hr.swing`, `hr.knee`, `hr.ankle` | back, head, mouth, front |
13823
+ | `songbird()` | bird | `hop` (to), `walk` (to), `peck`, `flap`, `tweet`, `fly` (to), `glide` (to), `land` | `spread`, `flap`, `wingbeat`, `flapping`, `peck`, `step`, `stepping`, `leg.left`, `leg.right`, `grip` | beak, head, back, feet |
13824
+ | `crow()` | bird | `hop` (to), `walk` (to), `peck`, `flap`, `caw`, `fly` (to), `glide` (to), `land` | `spread`, `flap`, `wingbeat`, `flapping`, `peck`, `step`, `stepping`, `leg.left`, `leg.right`, `grip` | beak, head, back, feet |
13825
+ | `chicken()` | bird | `hop` (to), `walk` (to), `peck`, `flap`, `cluck`, `flutter` | `spread`, `flap`, `wingbeat`, `flapping`, `peck`, `step`, `stepping`, `leg.left`, `leg.right`, `grip` | beak, head, back, feet |
13826
+ | `pigeon()` | bird | `hop` (to), `walk` (to), `peck`, `flap`, `coo`, `fly` (to), `glide` (to), `land` | `spread`, `flap`, `wingbeat`, `flapping`, `peck`, `step`, `stepping`, `leg.left`, `leg.right`, `grip` | beak, head, back, feet |
13827
+ | `duck()` | bird | `hop` (to), `walk` (to), `peck`, `flap`, `quack`, `fly` (to), `glide` (to), `land` | `spread`, `flap`, `wingbeat`, `flapping`, `peck`, `step`, `stepping`, `leg.left`, `leg.right`, `grip` | beak, head, back, feet |
13828
+ | `owl()` | bird | `hop` (to), `walk` (to), `peck`, `flap`, `hoot`, `fly` (to), `glide` (to), `land` | `spread`, `flap`, `wingbeat`, `flapping`, `peck`, `step`, `stepping`, `leg.left`, `leg.right`, `grip` | beak, head, back, feet |
13829
+ | `parrot()` | bird | `hop` (to), `walk` (to), `peck`, `flap`, `squawk`, `fly` (to), `glide` (to), `land` | `spread`, `flap`, `wingbeat`, `flapping`, `peck`, `step`, `stepping`, `leg.left`, `leg.right`, `grip` | beak, head, back, feet |
13666
13830
 
13667
13831
  ## Character (v2 human)
13668
13832
 
13669
- Poses: `rest`, `wave`, `cheer`, `point`, `handsOnHips`, `think`, `shrug`, `sit`, `kneel`, `crouch`, `crawl`, `lieDown`, `sleep`, `stretch`, `sitFloor`, `carry`, `lift`, `push`, `pull`, `drink`, `phone`, `read`, `type`. Expressions: `neutral`, `happy`, `joyful`, `sad`, `crying`, `surprised`, `shocked`, `angry`, `furious`, `worried`, `scared`, `confused`, `skeptical`, `thinking`, `sleepy`, `disgusted`, `smug`, `wink`, `laughing`, `afraid`, `bored`, `tired`, `embarrassed`, `proud`, `determined`, `affectionate`, `hurt`, `suspicious`, `relieved`, `excited`. Gags: `take`, `doubleTake`, `windUp`, `land`, `tremble`, `deflate`.
13833
+ Poses: `rest`, `wave`, `cheer`, `point`, `handsOnHips`, `think`, `shrug`, `sit`, `kneel`, `crouch`, `crawl`, `lieDown`, `sleep`, `stretch`, `sitFloor`, `carry`, `cane`, `lift`, `push`, `pull`, `drink`, `phone`, `read`, `type`. Expressions: `neutral`, `happy`, `joyful`, `sad`, `crying`, `surprised`, `shocked`, `angry`, `furious`, `worried`, `scared`, `confused`, `skeptical`, `thinking`, `sleepy`, `disgusted`, `smug`, `wink`, `laughing`, `afraid`, `bored`, `tired`, `embarrassed`, `proud`, `determined`, `affectionate`, `hurt`, `suspicious`, `relieved`, `excited`. Gags: `take`, `doubleTake`, `windUp`, `land`, `tremble`, `deflate`.
13670
13834
 
13671
13835
  Appearance options of `character({ … })`, all plain data that turns with the head (see docs/character-appearance.md):
13672
13836
 
13673
13837
  - `build`: `standard`, `slim`, `tall`, `short`, `broad`, `curvy`, `stocky`, `kid`, `child`, `toddler`
13674
13838
  - `hair`: `bald`, `buzzCut`, `crewCut`, `short`, `sidePart`, `sideSwept`, `slickBack`, `quiff`, `spiky`, `undercut`, `curlyCrop`, `afro`, `wavyCrop`, `shortLocs`, `flatTop`, `receding`, `thinning`, `pixie`, `bob`, `longBob`, `wavyBob`, `shoulderStraight`, `shoulderWaves`, `longStraight`, `longWaves`, `longCurls`, `longLocs`, `lowPonytail`, `highPonytail`, `ponytail`, `sidePonytail`, `topBun`, `lowBun`, `singleBraid`, `twinBraids`, `braids` (colours: `black`, `brown`, `chestnut`, `auburn`, `blond`, `ginger`, `gray`, `white` in `HAIR_COLORS`)
13675
13839
  - `facialHair`: `cleanShaven`, `stubble`, `pencilMoustache`, `shortMoustache`, `chevron`, `handlebar`, `walrus`, `goatee`, `vanDyke`, `circleBeard`, `shortBoxed`, `fullBeard`, `longBeard`, `roundedBeard`, `pointedBeard`, `chinStrap`, `soulPatch`, `sideburns`, `muttonChops`, `moustacheStubble`
13676
- - `glasses`: `round`, `square`, `sunglasses`; `hat`: `cap`, `beanie`, `hardHat`, `sunHat`, `bowler`; `ears: true`
13677
- - `outfit`: `{ shirt, trousers, sleeves: short | long | none, bottom: trousers | shorts | skirt, collar, tie: colour, over: apron | labCoat, overColor }`
13840
+ - `glasses`: `round`, `square`, `sunglasses`; `hat`: `cap`, `beanie`, `hardHat`, `sunHat`, `bowler`; `ears: true`; `face: { teeth, tongue }` (shown when the mouth opens); `feet`: `round`, `flat`, `pointed`, `big`
13841
+ - `outfit`: `{ shirt, trousers, sleeves: short | long | none, bottom: trousers | shorts | skirt, collar, tie: colour, over: apron | labCoat | hoodie | cardigan | overalls | sari, overColor, shoes: boots, shoeColor }`
13678
13842
  - `castMember(name, height)`: `boy`, `girl`, `youngMan`, `youngWoman`, `man`, `woman`, `grandpa`, `grandma`, `doctor`, `cook`, `builder`, `courier`, `teacher`, `farmer`
13679
13843
  - Face marks (pose fields, 0–1): `blush`, `tears`, `sweat`
13680
13844
  - Hair in motion (pose fields): `hair.swing` (degrees round the head, + toward its left), `hair.trail` (head radii back), `hair.lift` (head radii up); key them with `hairFollowTracks(target, tracks, who)` after the character's tracks, or `hairFollow` + `hairMotionAt` when posing per frame
13681
- - `holding`: `mug` (left or right), `phone` (left or right), `book` (one hand or both), `bag` (left or right), `briefcase` (left or right), `umbrella` (left or right), `broom` (left or right), `parcel` (both); pose fields `held.left`, `held.right`, `held.both` (below 0.5 lets go); `handGrip(joints, side)`
13682
- - `meetHands(kind, a, b)` (stand them `meetingSpacing(kind, a, b)` apart): `handshake`, `highFive`, `fistBump`, `handOver`
13845
+ - `holding`: `mug` (left or right), `phone` (left or right), `book` (one hand or both), `bag` (left or right), `briefcase` (left or right), `umbrella` (left or right), `broom` (left or right), `cane` (left or right), `parcel` (both); pose fields `held.left`, `held.right`, `held.both` (below 0.5 lets go); `handGrip(joints, side)`
13846
+ - `meetHands(kind, a, b)` (stand them `meetingSpacing(kind, a, b)` apart): `handshake`, `highFive`, `fistBump`, `handOver`; `embrace(a, b)` (a hug, `embraceSpacing` apart); `helpUp(helper, sitter, progress)` (0 on the floor, hand taken; 1 standing; `helpUpSpacing` apart)
13847
+ - Everyday cycles like a gait: `humanCyclePose('sweeping' | 'brushing', phase, base)` (0 → 1 is one stroke and back; sweeping with `holding: { right: 'broom' }`)
13683
13848
 
13684
13849
  ## Code panel
13685
13850