@algorisys/tinyfly 0.111.0 → 0.113.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algorisys/tinyfly",
3
- "version": "0.111.0",
3
+ "version": "0.113.0",
4
4
  "type": "module",
5
5
  "description": "Lightweight, API-driven animation engine and editor. The engine is framework-agnostic and runs in browsers, Web Workers, and Node.",
6
6
  "license": "MIT",
@@ -171,6 +171,27 @@ from `CRICKET_ACTIONS`. Results and arcs are authored teaching examples, not
171
171
  physics, automatic umpiring or a complete innings. Preserve exact contact keys
172
172
  and merge the selected camera tracks when exporting. See `docs/cricket.md`,
173
173
  `/examples/live-cricket-story` and `examples/headless-video/cricket-story.mjs`.
174
+ Decision camera views are front-foot, striker-crease and bowler-crease.
175
+ Use cricketCameraFraming(clip, view) for owned preset defaults;
176
+ cricketCameraReview(clip, view) returns a physical event without seeking.
177
+ cricketDecisionOverlay adds optional static crease references, without umpiring.
178
+ Camera options pitch (0–89), distance (0.5–2000), fov (10–100 before zoom) and
179
+ fixed-view target customize framing. Follow-ball rejects target and rotates its
180
+ default offset with yaw; pitch/distance apply there too. Default 75-degree yaw
181
+ retains the original offset. Export all camera tracks, including far for distant
182
+ framing; the 3D resolver respects animated far. Keep motion/rulings untouched.
183
+ For composed plays use `cricketPlay(field, options)` / `cricketPlayClip(options)`.
184
+ Separate `delivery: { style, legality }`, `shot`, `finish`, `fielding`,
185
+ `context: { freeHit }` and `decision: { dismissal }`. Omitted/null dismissal
186
+ means no dismissal; never infer one from motion. Supported candidates are
187
+ caught/bowled/lbw/stumped/run-out; no-ball/free-hit protects the first four,
188
+ while run-out remains possible. Current illegal free hits carry forward, legal
189
+ ones consume context; Test rejects current free-hit context. Retain `play`,
190
+ `ruling`, `result`, contact keys and camera tracks in JSON. Keep innings/score/
191
+ strike/lesson state in the consuming app. `CRICKET_PLAY_COMPONENTS` discovers
192
+ choices; `CRICKET_PLAY_EXAMPLES` provides five examples. Unsupported physical
193
+ combinations throw; Wide currently only supports miss/keeper/no finish.
194
+ See docs/cricket.md for the combination table. Original sixteen presets remain.
174
195
  Choose `markingProfile: 'icc-men' | 'icc-women' | 'mcc'` explicitly when
175
196
  teaching field geography; default ICC men is independent of cast. These are
176
197
  marking dimensions, not full competition profiles. ODI/T20 ICC areas are