@rig-c/play 1.15.0 → 1.17.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/dist/player.d.ts CHANGED
@@ -226,6 +226,31 @@ export interface BoneWorld {
226
226
  * draw is filtered. A clipping slot the filter leaves out does not clip.
227
227
  */
228
228
  export type SlotFilter = readonly string[] | ((slot: string) => boolean);
229
+ /**
230
+ * What a set call (`setSet`, `setSets`, `addSet`, `removeSet`) does with the
231
+ * physics hung under the bones the switch re-poses (#173). Only a switch that
232
+ * changes a set's `drawn` re-poses bones, so only then does it apply.
233
+ *
234
+ * - absent: nothing — the constraints read the jump as motion, as before.
235
+ * - `'carry'`: each affected constraint's state is moved by the rigid turn its
236
+ * deepest re-posed ancestor makes, so the chain keeps its pose relative to
237
+ * the bone and does not snap.
238
+ * - `'reset'`: each affected constraint starts again at the new pose, as a
239
+ * physics `reset` key restarts it.
240
+ */
241
+ export interface SetActivationOptions {
242
+ physics?: 'carry' | 'reset';
243
+ /**
244
+ * Seconds over which the switch eases the bones it re-poses (#174), instead
245
+ * of snapping them: each covered bone whose drawn rotation this call adds,
246
+ * removes or changes turns from the local it shows to its new one (the
247
+ * drawn local, or the clip's value when its set goes) along the shorter
248
+ * way, by smoothstep(elapsed / ease), and the attachments swap on the frame
249
+ * nearest the middle. A finite number at or above 0; `0` or absent is the
250
+ * instant switch. See `setSets`.
251
+ */
252
+ ease?: number;
253
+ }
229
254
  /** A box in world units, Y up: `y` is the bottom edge. */
230
255
  export interface PoseBounds {
231
256
  x: number;
@@ -341,6 +366,14 @@ export declare class RigPlayer {
341
366
  private readonly touchedSets;
342
367
  /** The active sets' drawn bones as local rotations, applied before `adjust` on every pose (#170); null when none draws. */
343
368
  private drawnPose;
369
+ /** Test-only (#173's planted control): `carry` maps every state through the identity instead of the anchor's turn. Not API. */
370
+ private carryPlant;
371
+ /** An eased set switch in flight (#174), or null. */
372
+ private easing;
373
+ /** The last positive step `advance` took: what predicts the next one when an ease starts. */
374
+ private lastStep;
375
+ /** Test-only (#174's planted controls): swap the attachments at u = 0, or ease by w = 1.2u (1 at u = 1). Not API. */
376
+ private easePlant;
344
377
  private adjustFn;
345
378
  /** Current preview patches, reapplied through the public core API on replay; no edit history. */
346
379
  private readonly physicsPatches;
@@ -428,7 +461,7 @@ export declare class RigPlayer {
428
461
  * `seekStep` of time played — which `tracks: true` avoids entirely.
429
462
  */
430
463
  private compose;
431
- /** Stores `raw` and applies `activeSet` when one is active. Zero work when `activeSet === null`. */
464
+ /** Stores `raw` and applies the shown set (`activeSet`, or before an ease's swap the composition it eases from). Zero work when none. */
432
465
  private setRawPose;
433
466
  /**
434
467
  * Sets a named physics constraint's pending patch, after keyed/slider values
@@ -569,7 +602,7 @@ export declare class RigPlayer {
569
602
  * A name not in `sets.json` throws by name; a build without `sets.json` has
570
603
  * `sets()` empty and `setSet` throws.
571
604
  */
572
- setSet(name: string | null): void;
605
+ setSet(name: string | null, options?: SetActivationOptions): void;
573
606
  /**
574
607
  * Makes exactly `names` the active attachment sets (#168), together: each
575
608
  * set covers and hides its slots as it does alone, provided no two of them
@@ -577,19 +610,54 @@ export declare class RigPlayer {
577
610
  * companion). Composition does not depend on the order of `names`. An
578
611
  * unknown name, a repeated name or two sets touching one slot throw by name
579
612
  * and leave the active sets as they were; `[]` restores the base.
580
- */
581
- setSets(names: readonly string[]): void;
613
+ *
614
+ * `options.physics` (#173) decides what a switch that re-poses `drawn` bones
615
+ * does to the physics constraints hung under them — on a bone whose drawn
616
+ * rotation this call adds, removes or changes, or on a descendant of one:
617
+ * `'carry'` moves each one's remembered state (where its bone was and
618
+ * pointed) by the rigid turn of its deepest re-posed ancestor, so the chain
619
+ * keeps its pose relative to the bone; `'reset'` restarts each one at the
620
+ * new pose, as a physics `reset` key does. Absent, the constraints read the
621
+ * jump as motion and kick, as they always have. Anything else throws before
622
+ * anything changes. Nothing to do before `play` or when no physics hangs
623
+ * under a re-posed bone. A later `seek` replays from the start with the sets
624
+ * then active and does not reproduce a carried switch. `setSet`, `addSet`
625
+ * and `removeSet` take the same option.
626
+ *
627
+ * `options.ease` (#174, seconds, a finite number at or above 0) eases the
628
+ * bones the call re-poses instead of snapping them. Each bone whose drawn
629
+ * rotation the call adds, removes or changes turns from what it shows to
630
+ * its new local rotation along the shorter way, as
631
+ * `start + shortestΔ(start, end) · smoothstep(elapsed / ease)`: going on,
632
+ * from the clip's value at the time to the drawn local; going off, from the
633
+ * drawn local to the clip's value. The attachments the pose draws stay the
634
+ * previous ones until the frame whose `elapsed / ease` is nearest ½ (the
635
+ * next step predicted from the current one; a tie goes to the later frame),
636
+ * then become the call's; `activeSets` and `slotIdentity().sets` name the
637
+ * call's sets at once, while `slotIdentity().slots` follows what is drawn.
638
+ * On the frame the elapsed time reaches `ease` the player is in exactly the
639
+ * instant switch's state. The elapsed time is the player's step
640
+ * (`dt × timeScale`), so a paused player or a zero step holds the ease;
641
+ * before `play`, or when no bone's rotation changes, the switch is instant.
642
+ * A call during an ease eases again from the angles shown (a call without
643
+ * `ease` lands it at once), and `seek` or a skin change lands it at once.
644
+ * With `physics: 'carry'` the chains under the eased bones are carried on
645
+ * every eased frame, by the turn that frame's blend makes; with `'reset'`
646
+ * they restart once, at the call. `0` or absent is the instant switch on
647
+ * the same code path; anything else throws by name before anything changes.
648
+ */
649
+ setSets(names: readonly string[], options?: SetActivationOptions): void;
582
650
  /**
583
651
  * Activates `name` beside the sets already active (#168): a set already
584
652
  * active is left as it is; one touching a slot an active set touches throws
585
653
  * by name (the slot and both sets) and changes nothing.
586
654
  */
587
- addSet(name: string): void;
655
+ addSet(name: string, options?: SetActivationOptions): void;
588
656
  /**
589
657
  * Deactivates `name`, keeping every other active set (#168). An unknown name
590
658
  * throws by name; a set that is not active is left as it is.
591
659
  */
592
- removeSet(name: string): void;
660
+ removeSet(name: string, options?: SetActivationOptions): void;
593
661
  /** The declared set named `name`, or a throw naming it and the available sets. */
594
662
  private namedSet;
595
663
  /**
@@ -602,6 +670,55 @@ export declare class RigPlayer {
602
670
  private drawnSetup;
603
671
  /** The slots `set` touches, computed once per set. */
604
672
  private touched;
673
+ /**
674
+ * The physics under the bones a set switch re-poses (#173), before the
675
+ * repose step: the `changed` bones' rotations went from what the held pose
676
+ * shows to what the player now applies (`drawnPose`, or an ease's next
677
+ * blend, #174), and every physics constraint whose bone is one of the
678
+ * changed bones or a descendant of one is carried or reset. Nothing to do
679
+ * before `play` (the setup pose carries no physics state) or when no
680
+ * constraint hangs under a changed bone.
681
+ */
682
+ private handOverPhysics;
683
+ /**
684
+ * The composition the held pose draws: `activeSet`, except before an ease's
685
+ * swap (#174), when it is the composition the ease started from.
686
+ */
687
+ private shownSet;
688
+ /** The local an eased bone shows at the ease's current progress, given the clip's local `clip`. */
689
+ private easedLocal;
690
+ /**
691
+ * The ease's part of `adjustHook` (#174): every drawn bone the ease does not
692
+ * turn takes its drawn local, as without an ease; every eased bone reads
693
+ * the clip's local (what the timelines left) and then takes its blend.
694
+ */
695
+ private applyEase;
696
+ /**
697
+ * Starts an eased switch (#174) to the sets already made active, from what
698
+ * the held pose shows: an eased bone's start is the local it shows (fixed),
699
+ * or the clip's value for a bone that showed the clip's; its end is the new
700
+ * drawn local, or the clip's value for a bone whose set went. Returns false,
701
+ * changing nothing, when there is nothing to ease — before `play` (no step
702
+ * to ease over) or when no bone's rotation changes — and the call is then
703
+ * an instant one.
704
+ */
705
+ private startEase;
706
+ /**
707
+ * Whether the frame at progress `u` is the one nearest ½, the next frame
708
+ * being at `next`: it is when `u` reached ½ or the next one would be
709
+ * farther from it; a tie (within 1e-9) goes to the later frame.
710
+ */
711
+ private swapsNow;
712
+ /**
713
+ * One step of an eased switch (#174), before the track steps: the elapsed
714
+ * time advances by the step, the attachments swap when this is the frame
715
+ * nearest ½ (`swapsNow`, the next step predicted by this one), and the
716
+ * ease ends — the instant switch's state, `drawnPose` alone — on the frame
717
+ * it reaches its duration. With `physics: 'carry'`, the chains under the
718
+ * eased bones are carried by the turn this frame's blend makes, read by a
719
+ * trial `step(0)` at the previous time (`handOverPhysics`).
720
+ */
721
+ private advanceEase;
605
722
  /**
606
723
  * Makes `sets` (distinct) the active sets: refuses any two touching one slot
607
724
  * before changing anything, then applies their composition to the held pose.
@@ -1 +1 @@
1
- {"version":3,"file":"player.d.ts","sourceRoot":"","sources":["../src/player.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,KAAK,EAAE,WAAW,EAAgB,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxE,OAAO,EAA0C,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE1F;;;;;;;;;GASG;AAEH;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,QAAQ,CAAC;AAE1C,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,yFAAyF;IACzF,MAAM,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;IAC3B,8EAA8E;IAC9E,KAAK,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;IAC1B,qGAAqG;IACrG,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,sFAAsF;IACtF,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,8EAA8E;AAC9E;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC7C;AAKD,MAAM,WAAW,QAAQ;IACvB,IAAI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;;;OAGG;IACH,OAAO,CAAC,QAAQ;IAwDhB;;;;;;OAMG;IACH,IAAI,KAAK,IAAI,UAAU,GAAG,IAAI,CAE7B;IAED,IAAI,KAAK,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,EA0BlC;IAED;;;;;;;OAOG;IACH,IAAI,MAAM,IAAI,UAAU,GAAG,IAAI,CAE9B;IAED,IAAI,MAAM,CAAC,EAAE,EAAE,UAAU,GAAG,IAAI,EAK/B;IAED;;;;;;OAMG;IACH,MAAM,IAAI,IAAI;IAOd;;;;;OAKG;IACH,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS;IAsB7B;;;;;;;;OAQG;IACH,MAAM,IAAI,UAAU,GAAG,IAAI;IA6B3B,+FAA+F;IAC/F,OAAO,CAAC,KAAK;IAMb,4GAA4G;IAC5G,IAAI,UAAU,IAAI,MAAM,CAEvB;IAED;;;;;;OAMG;IACH,UAAU,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,IAAI,GAAG,UAAU;IAWjD;;;;;;;;;OASG;IACH,YAAY,IAAI,oBAAoB;IA8EpC,kHAAkH;IAClH,OAAO,CAAC,yBAAyB;IAsCjC,kGAAkG;IAClG,OAAO,IAAI,IAAI;IAWf,sGAAsG;IACtG,OAAO,CAAC,cAAc;IAmBtB;;;;;;;;;;OAUG;IACH,OAAO,CAAC,QAAQ;CAsDjB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rig-c/play",
3
- "version": "1.15.0",
3
+ "version": "1.17.0",
4
4
  "description": "Plays skeleton.model.json written by rigc build as plain DOM elements — rigid slots as <img> posed by CSS matrix, deform meshes on small per-part canvases — or as one canvas.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -76,6 +76,7 @@
76
76
  "devDependencies": {
77
77
  "@esotericsoftware/spine-webgl": "4.3.13",
78
78
  "@playwright/test": "1.62.1",
79
+ "@rig-c/parts": "1.60.0",
79
80
  "@types/node": "^22",
80
81
  "rig-c": "2.67.0",
81
82
  "typescript": "^5.6.0",