@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.
@@ -2,7 +2,9 @@ import { type PropertyInfo } from '../adapters/canvas/target-properties';
2
2
  import type { SurfaceAbout } from './surface/surface';
3
3
  import type { Cast } from './acting/custom';
4
4
  import { CRICKET_CASTS, CRICKET_FORMATS, CRICKET_FIELDING_POSITIONS } from '../sports/cricket/cricket-types';
5
+ import { CRICKET_DECISION_VIEWS } from '../sports/cricket/cricket-camera-review';
5
6
  import { CRICKET_VIEWS } from '../sports/cricket/cricket-camera';
7
+ import { CRICKET_PLAY_COMPONENTS, CRICKET_PLAY_EXAMPLES } from '../sports/cricket/cricket-play';
6
8
  import { CRICKET_MARKING_PROFILES } from '../sports/cricket/cricket-markings';
7
9
  export interface Capabilities {
8
10
  sports: {
@@ -16,6 +18,9 @@ export interface Capabilities {
16
18
  fieldingPositions: typeof CRICKET_FIELDING_POSITIONS;
17
19
  markingProfiles: typeof CRICKET_MARKING_PROFILES;
18
20
  cameras: typeof CRICKET_VIEWS;
21
+ decisionCameras: typeof CRICKET_DECISION_VIEWS;
22
+ playComponents: typeof CRICKET_PLAY_COMPONENTS;
23
+ playExamples: typeof CRICKET_PLAY_EXAMPLES;
19
24
  };
20
25
  };
21
26
  version?: string;
@@ -15,7 +15,7 @@ import type { Drawable } from './object-kind';
15
15
  * `scaleX` / `scaleY` / `scaleZ`; `visible` (0 or 1); `opacity`;
16
16
  * - meshes and lights: `color`; lights: `intensity`, `target`;
17
17
  * - lines and trails: `color`, `width`, `opacity`; trails: `length`;
18
- * - cameras: `fov` (perspective), `height` (orthographic), `lookAt`;
18
+ * - cameras: `fov` (perspective), `height` (orthographic), `lookAt`, `far`;
19
19
  * - the scene itself, `<sceneId>`: `activeCamera` (a camera's id: a cut is one keyframe).
20
20
  */
21
21
  /** Animated values by target, then property: an `AnimationState`'s `values`. */
@@ -1,6 +1,14 @@
1
- import { type CricketActionOptions, type CricketActionResult, type CricketClip, type CricketEvent, type CricketField, type CricketFieldOptions } from './cricket-types';
1
+ import { type CricketActionOptions, type CricketActionResult, type CricketClip, type CricketEvent, type CricketField, type CricketFieldOptions, type CricketResult, type CricketDelivery, type CricketRuling } from './cricket-types';
2
2
  /** Compile an authored play on a cricketField into JSON tracks and narration events. No renderer or clock. */
3
3
  export declare function cricketAction(field: CricketField, options?: CricketActionOptions): CricketActionResult;
4
+ /** Internal compiler context. Public consumers author components with cricketPlay. */
5
+ export interface CricketMotionContext {
6
+ delivery: CricketDelivery;
7
+ result: CricketResult;
8
+ ruling: CricketRuling;
9
+ freeHit: boolean;
10
+ }
11
+ export declare function compileCricketMotion(field: CricketField, options: CricketActionOptions, composed?: CricketMotionContext): CricketActionResult;
4
12
  /** An owned scene and timeline ready for browser/Worker/Node consumers. */
5
13
  export declare function cricketClip(options?: CricketFieldOptions & CricketActionOptions): CricketClip;
6
14
  /** Event/caption selection is time based, so seeking and reverse playback work too. */
@@ -0,0 +1,34 @@
1
+ import type { Object3D } from '../../scene-3d/scene-types';
2
+ import type { Vec3 } from '../../engine/math';
3
+ import type { CricketClip, CricketEvent } from './cricket-types';
4
+ export type CricketDecisionView = 'front-foot' | 'striker-crease' | 'bowler-crease';
5
+ export declare const CRICKET_DECISION_VIEWS: Readonly<{
6
+ 'front-foot': Readonly<{
7
+ name: "Front-foot review";
8
+ summary: "A fixed side view of the landing front foot and bowler’s popping crease at release.";
9
+ }>;
10
+ 'striker-crease': Readonly<{
11
+ name: "Striker crease";
12
+ summary: "A fixed side view of the striker’s popping crease, wicket and keeper arrival.";
13
+ }>;
14
+ 'bowler-crease': Readonly<{
15
+ name: "Bowler crease";
16
+ summary: "A fixed side view of the other crease and wicket for a running batter and return throw.";
17
+ }>;
18
+ }>;
19
+ export declare function isCricketDecisionView(view: string): view is CricketDecisionView;
20
+ /** Choose a physical event; this never seeks playback or changes a ruling. */
21
+ export declare function cricketCameraReview(clip: CricketClip, view: string): CricketEvent | undefined;
22
+ /** Evaluate only one stock actor's baked numeric pose/position channels. */
23
+ export declare function cricketReviewActor(clip: CricketClip, id: string, time: number): {
24
+ actor: import("./cricket-motion").CricketActor;
25
+ sample: import("./cricket-motion").CricketSample;
26
+ };
27
+ /** Front ankle at authored release, using the native pose/position tracks. */
28
+ export declare function cricketFrontFoot(clip: CricketClip): {
29
+ point: Vec3;
30
+ height: number;
31
+ };
32
+ export declare function cricketReviewCrease(clip: CricketClip, view: CricketDecisionView): Vec3;
33
+ /** Static crease reference; does not classify feet, bat grounding or dismissals. */
34
+ export declare function cricketDecisionOverlay(clip: CricketClip, view: string): Object3D[];
@@ -1,15 +1,33 @@
1
1
  import type { Track } from '../../engine/types';
2
+ import type { Vec3 } from '../../engine/math';
3
+ import { type CricketDecisionView } from './cricket-camera-review';
2
4
  import { type CricketClip } from './cricket-types';
3
- export type CricketView = 'pitch' | 'batter' | 'bowler' | 'keeper' | 'field' | 'overhead' | 'orbit' | 'follow-ball';
5
+ export type CricketView = 'pitch' | 'batter' | 'bowler' | 'keeper' | 'field' | 'overhead' | 'orbit' | 'follow-ball' | CricketDecisionView;
4
6
  export declare const CRICKET_VIEWS: Readonly<Record<CricketView, string>>;
5
7
  export declare const CRICKET_CAMERA_ANGLES: Readonly<Record<CricketView, number>>;
6
8
  export interface CricketCameraOptions {
7
9
  view?: CricketView;
8
- /** Any azimuth, degrees; orbit adds one complete revolution to this angle. */
10
+ /** Fixed-view azimuth, degrees; orbit adds 360°. Follow rotates its default offset relative to 75°. */
9
11
  yaw?: number;
10
- /** Optical magnification, 0.25–4; 1 preserves the view's default framing. */
12
+ /** Optical magnification, 0.25–4; 1 preserves default framing. */
11
13
  zoom?: number;
14
+ /** Elevation above level, degrees, 0–89, including ball-follow. */
15
+ pitch?: number;
16
+ /** Camera-to-target distance in metres, 0.5–2000. */
17
+ distance?: number;
18
+ /** Base vertical field of view before optical zoom, degrees, 10–100. */
19
+ fov?: number;
20
+ /** Fixed-view target override; not supported by follow-ball. */
21
+ target?: Vec3;
12
22
  every?: number;
13
23
  }
14
- /** Public scene camera tracks; UI controls merely select these builder inputs. */
24
+ export interface CricketCameraFraming {
25
+ target?: Vec3;
26
+ pitch: number;
27
+ distance: number;
28
+ fov: number;
29
+ }
30
+ /** Owned preset framing for controls and programmatic stories. Ball-follow has no fixed target. */
31
+ export declare function cricketCameraFraming(clip: CricketClip, selected?: CricketView): CricketCameraFraming;
32
+ /** Public JSON camera tracks; no seeking, playback or motion changes. */
15
33
  export declare function cricketCameraTracks(clip: CricketClip, options?: CricketCameraOptions): Track[];
@@ -0,0 +1,21 @@
1
+ import { type CricketField, type CricketFieldOptions, type CricketPlayOptions, type CricketPlayResult, type CricketPlayClip } from './cricket-types';
2
+ export declare const CRICKET_PLAY_COMPONENTS: Readonly<{
3
+ deliveryStyles: readonly ["pace", "spin"];
4
+ deliveryLegalities: readonly ["legal", "no-ball", "wide"];
5
+ shots: readonly ["miss", "drive", "defend"];
6
+ finishes: readonly ["none", "single", "four", "six", "stumps", "pad"];
7
+ fielding: readonly ["none", "keeper", "catch", "gather", "throw", "stumping", "run-out"];
8
+ dismissals: readonly ["caught", "bowled", "lbw", "stumped", "run-out"];
9
+ }>;
10
+ /** Compose motion, authored legality, current context and candidate decision as owned JSON.
11
+ * No innings ledger or geometric adjudication. Unsupported physical combinations throw.
12
+ */
13
+ export declare function cricketPlay(field: CricketField, options?: CricketPlayOptions): CricketPlayResult;
14
+ /** Build a field and a composed play in one call. */
15
+ export declare function cricketPlayClip(options?: CricketFieldOptions & CricketPlayOptions): CricketPlayClip;
16
+ export type CricketPlayExample = 'no-ball-stumps' | 'free-hit-catch' | 'no-ball-four' | 'free-hit-run-out' | 'free-hit-wide';
17
+ /** Ready-to-compose educational examples. Test supports the two no-ball examples only. */
18
+ export declare const CRICKET_PLAY_EXAMPLES: Readonly<Record<CricketPlayExample, Readonly<{
19
+ name: string;
20
+ options: CricketPlayOptions;
21
+ }>>>;
@@ -84,13 +84,14 @@ export interface CricketEvent {
84
84
  label: string;
85
85
  caption: string;
86
86
  }
87
+ export type CricketDismissal = 'caught' | 'bowled' | 'lbw' | 'stumped' | 'run-out';
87
88
  export interface CricketResult {
88
89
  runs: number;
89
90
  extras: number;
90
91
  wickets: number;
91
92
  legalBall: boolean;
92
93
  freeHitNext: boolean;
93
- dismissal?: 'caught' | 'bowled' | 'lbw' | 'stumped' | 'run-out';
94
+ dismissal?: CricketDismissal;
94
95
  }
95
96
  export interface CricketActionOptions {
96
97
  action?: CricketAction;
@@ -114,3 +115,51 @@ export declare const CRICKET_ACTIONS: Readonly<Record<CricketAction, Readonly<{
114
115
  summary: string;
115
116
  }>>>;
116
117
  export declare function cricketChoice<T extends string>(choices: Readonly<Record<T, unknown>>, value: T, name: string): T;
118
+ /** Components supported by the deterministic stock motion compiler. */
119
+ export type CricketShot = 'miss' | 'drive' | 'defend';
120
+ export type CricketFinish = 'none' | 'single' | 'four' | 'six' | 'stumps' | 'pad';
121
+ export type CricketFielding = 'none' | 'keeper' | 'catch' | 'gather' | 'throw' | 'stumping' | 'run-out';
122
+ export interface CricketDelivery {
123
+ style: 'pace' | 'spin';
124
+ /** Authored legality; no-ball uses the stock front-foot overstep motion. */
125
+ legality: 'legal' | 'no-ball' | 'wide';
126
+ }
127
+ export interface CricketPlayOptions {
128
+ delivery?: Partial<CricketDelivery>;
129
+ shot?: CricketShot;
130
+ finish?: CricketFinish;
131
+ /** Defaults to keeper for a miss, gather for a drive, none for a block/boundary/stumps/pad. */
132
+ fielding?: CricketFielding;
133
+ context?: {
134
+ freeHit?: boolean;
135
+ };
136
+ /** Explicit authored candidate; omitted/null means no dismissal. Geometry does not adjudicate. */
137
+ decision?: {
138
+ dismissal?: CricketDismissal | null;
139
+ };
140
+ duration?: number;
141
+ every?: number;
142
+ }
143
+ export interface CricketPlay {
144
+ delivery: CricketDelivery;
145
+ shot: CricketShot;
146
+ finish: CricketFinish;
147
+ fielding: CricketFielding;
148
+ context: {
149
+ freeHit: boolean;
150
+ };
151
+ decision: {
152
+ dismissal: CricketDismissal | null;
153
+ };
154
+ }
155
+ export interface CricketRuling {
156
+ dismissal: CricketDismissal | null;
157
+ reason: 'no-dismissal' | 'dismissal' | 'no-ball' | 'free-hit' | 'wide';
158
+ }
159
+ export interface CricketPlayResult extends CricketActionResult {
160
+ /** Normalized, owned JSON input; action names the compiled stock motion recipe. */
161
+ play: CricketPlay;
162
+ ruling: CricketRuling;
163
+ }
164
+ export interface CricketPlayClip extends CricketField, CricketPlayResult {
165
+ }
@@ -1,6 +1,9 @@
1
1
  export { cricketPlayer, cricketField, CRICKET_PITCH } from './cricket-field';
2
2
  export { CRICKET_MARKING_PROFILES, cricketFieldingAreaContains, cricketFieldingPositions, cricketFieldingOverlay } from './cricket-markings';
3
3
  export { cricketAction, cricketClip, cricketEventAt } from './cricket-action';
4
- export { cricketCameraTracks, CRICKET_VIEWS, CRICKET_CAMERA_ANGLES, type CricketView, type CricketCameraOptions } from './cricket-camera';
4
+ export { cricketCameraTracks, cricketCameraFraming, type CricketCameraFraming, CRICKET_VIEWS, CRICKET_CAMERA_ANGLES, type CricketView, type CricketCameraOptions } from './cricket-camera';
5
5
  export { CRICKET_FORMATS, CRICKET_ACTIONS, CRICKET_CASTS, CRICKET_FIELDING_POSITIONS } from './cricket-types';
6
6
  export type { CricketFormat, CricketRole, CricketCast, CricketAction, CricketMarkingProfile, CricketFieldingArea, CricketFieldingPosition, CricketFormatInfo, CricketPlayerOptions, CricketFieldOptions, CricketField, CricketEvent, CricketResult, CricketActionOptions, CricketActionResult, CricketClip, CricketPlayer } from './cricket-types';
7
+ export { cricketPlay, cricketPlayClip, CRICKET_PLAY_COMPONENTS, CRICKET_PLAY_EXAMPLES, type CricketPlayExample } from './cricket-play';
8
+ export type { CricketDismissal, CricketShot, CricketFinish, CricketFielding, CricketDelivery, CricketPlayOptions, CricketPlay, CricketRuling, CricketPlayResult, CricketPlayClip } from './cricket-types';
9
+ export { cricketCameraReview, cricketDecisionOverlay, CRICKET_DECISION_VIEWS, type CricketDecisionView } from './cricket-camera-review';
package/llms-full.txt CHANGED
@@ -58,8 +58,10 @@ See [getting started](getting-started.md) for the versioned CDN URLs.
58
58
  | `cricketFieldingPositions(field)` | Owned setup-position data for stock fielders: `id`, `name`, `position`, `inside`. |
59
59
  | `cricketFieldingOverlay(field)` | Optional static JSON line markers, green inside/orange outside. Append to scene objects without changing motion. |
60
60
  | `cricketAction(field, { action?, duration?, every? })` | A JSON timeline, timed events/captions and declared example result. Does not modify the field. |
61
+ | `cricketPlay(field, options)` | Composes independent delivery, shot, finish, fielding, context and candidate decision; returns `play`, `ruling`, timeline, events and result. |
62
+ | `cricketPlayClip(options)` | Builds a field and composed play together. |
61
63
  | `cricketClip(options)` | Combines field and action; default T20, adult cast, pace bowling, 6000 ms. |
62
- | `cricketCameraTracks(clip, { view?, yaw?, zoom?, every? })` | Ordinary scene camera tracks. Merge these with the action tracks. |
64
+ | `cricketCameraTracks(clip, { view?, yaw?, zoom?, pitch?, distance?, target?, fov?, every? })` | Ordinary scene camera tracks. Merge these with the action tracks. |
63
65
  | `cricketEventAt(events, time)` | Most recent event at that time, including when seeking backward. |
64
66
  | `ballFlightPoint(options, time)`, `ballFlightTracks(options)` | Shared sampled arcs for other sports too. `from`, `to`, `arc`, `curve`, `start`, `end`, `target`; exact endpoints. |
65
67
 
@@ -223,6 +225,145 @@ spacing without evaluating actor tracks.
223
225
  Development full-page previews load the local browser API and scene add-ons;
224
226
  production previews and copied HTML retain the versioned CDN bundles.
225
227
 
228
+ ## Decision-focused camera review
229
+
230
+ Select **Front-foot review**, **Striker crease** or **Bowler crease** in the
231
+ example's Camera control. These are fixed views, so scrubbing before/after the
232
+ event compares positions without a moving viewpoint. Front-foot framing uses
233
+ the native front ankle at authored release; crease views include the wicket
234
+ and popping crease. Run-out framing includes the approaching batter at the
235
+ wicket-break event. Wide-delivery framing also includes the keeper’s sideways
236
+ collection position, the batter and the crease.
237
+
238
+ ```ts
239
+ import { cricketPlayClip, cricketCameraTracks, cricketCameraFraming,
240
+ cricketCameraReview, cricketDecisionOverlay } from '@algorisys/tinyfly/sports'
241
+
242
+ const clip = cricketPlayClip({
243
+ delivery: { legality: 'no-ball' }, finish: 'stumps',
244
+ decision: { dismissal: 'bowled' },
245
+ })
246
+ const view = 'front-foot'
247
+ const defaults = cricketCameraFraming(clip, view)
248
+ const camera = cricketCameraTracks(clip, { view, pitch: 30, distance: 3, zoom: 1.25 })
249
+ const moment = cricketCameraReview(clip, view) // physical event; no seeking
250
+ const scene = { ...clip.scene,
251
+ objects: [...clip.scene.objects, ...cricketDecisionOverlay(clip, view)] }
252
+ const timeline = { ...clip.timeline, tracks: [...clip.timeline.tracks, ...camera] }
253
+ // Your playback controls can explicitly seek to moment?.time.
254
+ // The no-ball ruling remains not out.
255
+ ```
256
+
257
+ CRICKET_DECISION_VIEWS exports labels and descriptions. cricketCameraReview
258
+ returns an owned physical event or undefined for other views. Front-foot uses
259
+ release; striker crease prefers its wicket break, completed run, keeper gather,
260
+ return received or contact. Bowler crease uses run-out wicket break, completed run or release.
261
+ Times come from events and follow duration scaling. Changing cameras does not
262
+ seek or pause; **Framing & review → Inspect moment** explicitly seeks and pauses.
263
+ Optional gold overlays mark the crease reference, without classifying whole
264
+ feet, bat grounding or dismissals.
265
+
266
+ Camera pitch accepts 0–89 degrees above level; distance 0.5–2000 metres; fov
267
+ 10–100 degrees before existing 0.25–4 optical zoom. target overrides a fixed-view
268
+ world target and is rejected for ball-follow. cricketCameraFraming returns
269
+ owned defaults; ball-follow omits a fixed target, since the actual target
270
+ follows the ball. Fixed views use absolute yaw; orbit adds 360 degrees.
271
+ Ball-follow rotates its original [5, 3, 6] offset relative to the default
272
+ 75-degree control angle, with elevation/distance overrides too. Default geometry
273
+ for the original eight views is retained.
274
+
275
+ Explicit distance/target framing adds a conservative camera far-plane track.
276
+ Scene projection and clipping now respect animated camera far; it must be finite
277
+ and greater than the camera's static near plane. Camera changes leave player
278
+ motion and authored decisions untouched.
279
+
280
+ Essential controls stay above collapsed **Framing & review** controls. Elevation,
281
+ relative distance, lens, reset and highlight controls preserve playback/time.
282
+ Camera selection resets framing to that preset. A play/cast/format change resets
283
+ preset framing, while marking changes retain it. Downloads include cameraOptions,
284
+ camera tracks and any review overlay.
285
+
286
+ ## Composed plays and authored decisions
287
+
288
+ Use `cricketPlay` on an existing field or `cricketPlayClip` for a new scene.
289
+ Delivery legality is authored, not calculated from foot geometry. No-ball uses
290
+ the stock front-foot overstep, while shots, catches and wicket breaks retain
291
+ their native contact keys. A candidate dismissal is separate from that motion;
292
+ omitted/null `decision.dismissal` means no dismissal.
293
+
294
+ ```ts
295
+ import { cricketPlayClip } from '@algorisys/tinyfly/sports'
296
+
297
+ const first = cricketPlayClip({
298
+ format: 't20', delivery: { style: 'pace', legality: 'no-ball' },
299
+ shot: 'miss', finish: 'stumps', decision: { dismissal: 'bowled' },
300
+ })
301
+ // Bails fall, but ruling is { dismissal: null, reason: 'no-ball' }.
302
+ // result: 0 bat runs, 1 extra, 0 wickets, legalBall false, freeHitNext true.
303
+ const next = cricketPlayClip({
304
+ format: 't20', delivery: { style: 'spin', legality: 'legal' },
305
+ context: { freeHit: first.result.freeHitNext },
306
+ shot: 'drive', fielding: 'catch', decision: { dismissal: 'caught' },
307
+ })
308
+ // Catch stays visible. Not out; this legal delivery consumes the free hit.
309
+ // Store/advance innings, score, strike and lesson state in your application.
310
+ const again = JSON.stringify(next) // normalized play + ruling + all motion/events
311
+ ```
312
+
313
+ `play` contains owned, normalized input. `action` identifies the compiled stock
314
+ motion recipe; it does not declare the composed verdict. `ruling` holds the
315
+ accepted dismissal or null and its reason. `result.dismissal` exists only for an
316
+ accepted dismissal. Decision changes preserve the ball/actor motion, apart from
317
+ the umpire signal. Physical catch, pad contact and wicket-break captions stay
318
+ separate from the final **Out** / **Not out** decision.
319
+
320
+ | Component | Choices/default |
321
+ | --- | --- |
322
+ | `delivery.style` | `pace` (default), `spin` |
323
+ | `delivery.legality` | `legal` (default), `no-ball`, `wide`; select the final call, with no-ball taking precedence over Wide |
324
+ | `shot` | `miss` (default), `drive`, `defend` |
325
+ | `finish` | `none` (default), `single`, `four`, `six`, `stumps`, `pad` |
326
+ | `fielding` | `none`, `keeper`, `catch`, `gather`, `throw`, `stumping`, `run-out`; defaults below |
327
+ | `context.freeHit` | Boolean, default false; ODI/T20 only |
328
+ | `decision.dismissal` | `caught`, `bowled`, `lbw`, `stumped`, `run-out`, null (default); candidate must match the physical recipe |
329
+ | `duration`, `every` | Same scaling and contact-preserving sampling as `cricketAction` |
330
+
331
+ Supported physical combinations:
332
+
333
+ | Shot | Finish | Fielding (default when omitted) |
334
+ | --- | --- | --- |
335
+ | `miss` | `none` | `keeper` (default) or explicit `stumping` |
336
+ | `miss` | `stumps` / `pad` | `none` (default) |
337
+ | `defend` | `none` | `none` (default) |
338
+ | `drive` | `none` | `gather` (default), `catch`, `throw`, `run-out` |
339
+ | `drive` | `single` | `gather` (default) |
340
+ | `drive` | `four` / `six` | `none` (default) |
341
+
342
+ Other combinations throw rather than silently substitute a different play.
343
+ Wide currently supports only an untouched miss gathered by the keeper; Wide
344
+ stumping/run-out and additional Wide runs require future motion recipes.
345
+ `single`/`four`/`six` score 1/4/6 bat runs; an illegal delivery adds one extra.
346
+ Run-out depicts an attempted, uncompleted run and scores no completed runs.
347
+ Byes, leg-byes, penalties and other dismissal modes are outside this subset.
348
+
349
+ No-ball/free-hit context suppresses caught, bowled, LBW and stumped candidates,
350
+ while the supported run-out candidate remains available. A no-ball arms the
351
+ next free hit in ODI/T20; an existing free hit carries over a Wide/no-ball and
352
+ is consumed by a legal delivery. Test has no automatic free hit and rejects an
353
+ explicit current free-hit context. These conditions follow clauses 21.12,
354
+ 21.17–21.18 in [ICC ODI October 2026](https://images.icc-cricket.com/image/upload/prd/bxkzkcyvfn6tvi70zh0w.pdf)
355
+ and [ICC T20I October 2026](https://images.icc-cricket.com/image/upload/prd/bsxcho7ufe2pjban0wjp.pdf).
356
+ They cover the supported authored examples, not a complete umpiring engine.
357
+
358
+ `CRICKET_PLAY_COMPONENTS` and `CRICKET_PLAY_EXAMPLES` provide JSON discovery;
359
+ the latter has five frozen examples. In the live example's **Play** selector,
360
+ choose the **Composed plays** group: no-ball/stumps, free-hit/catch,
361
+ no-ball/four, free-hit/run-out or free-hit/Wide. Free-hit choices are disabled
362
+ in Test; switching to Test from one selects no-ball/stumps. Downloads include
363
+ normalized components, ruling, result, scene, camera tracks and captions.
364
+ The original sixteen `cricketAction`/`cricketClip` presets retain their original
365
+ motion, result shape and captions.
366
+
226
367
  ## Teaching scope
227
368
 
228
369
  These are authored visual demonstrations. Arcs, the enlarged ball, timings,
@@ -450,7 +591,7 @@ with a GSAP-style call (durations are in seconds here):
450
591
  ```html
451
592
  <div class="box" style="width:60px;height:60px;background:#4a9eff"></div>
452
593
 
453
- <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.111.0/cdn/tinyfly.iife.js"></script>
594
+ <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.113.0/cdn/tinyfly.iife.js"></script>
454
595
  <script>
455
596
  tinyfly.to('.box', { x: 200, duration: 1 })
456
597
  </script>
@@ -658,7 +799,7 @@ Without a build step, the all-in-one bundle exposes the same functions on a
658
799
  global — `tinyfly.to()`, `tinyfly.timeline()` and so on:
659
800
 
660
801
  ```html
661
- <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.111.0/cdn/tinyfly.iife.js"></script>
802
+ <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.113.0/cdn/tinyfly.iife.js"></script>
662
803
  <script>
663
804
  tinyfly.to('.box', { x: 200, duration: 1 })
664
805
  </script>
@@ -2573,7 +2714,7 @@ For simple website embedding without a build system.
2573
2714
  </html>
2574
2715
  ```
2575
2716
 
2576
- 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.111.0/cdn/tinyfly-player.iife.js`.
2717
+ 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.113.0/cdn/tinyfly-player.iife.js`.
2577
2718
 
2578
2719
  ---
2579
2720
 
@@ -6926,7 +7067,7 @@ The dialog shows the generated HTML/JavaScript code with a **Copy Code** button.
6926
7067
  **Steps to embed:**
6927
7068
  1. Build the player: `npm run build:player`
6928
7069
  2. Copy `lib/player/tinyfly-player.iife.js` to your project (or load
6929
- `https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.111.0/cdn/tinyfly-player.iife.js`
7070
+ `https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.113.0/cdn/tinyfly-player.iife.js`
6930
7071
  instead; see [Deployment](DEPLOYMENT.md))
6931
7072
  3. Copy the generated code into your HTML
6932
7073
  4. Adjust the script `src` path if needed
@@ -8179,6 +8320,27 @@ demonstrations, not collision-based umpiring or an innings simulator. Do not
8179
8320
  infer new outcomes from the illustrative arcs. See `docs/cricket.md` and
8180
8321
  `examples/headless-video/cricket-story.mjs`; `/examples/live-cricket-story`
8181
8322
  has event seeking and downloadable scene/action/camera JSON.
8323
+ Decision camera views are front-foot, striker-crease and bowler-crease.
8324
+ Use cricketCameraFraming(clip, view) for owned preset defaults;
8325
+ cricketCameraReview(clip, view) returns a physical event without seeking.
8326
+ cricketDecisionOverlay adds optional static crease references, without umpiring.
8327
+ Camera options pitch (0–89), distance (0.5–2000), fov (10–100 before zoom) and
8328
+ fixed-view target customize framing. Follow-ball rejects target and rotates its
8329
+ default offset with yaw; pitch/distance apply there too. Default 75-degree yaw
8330
+ retains the original offset. Export all camera tracks, including far for distant
8331
+ framing; the 3D resolver respects animated far. Keep motion/rulings untouched.
8332
+ For composed plays use `cricketPlay(field, options)` / `cricketPlayClip(options)`.
8333
+ Separate `delivery: { style, legality }`, `shot`, `finish`, `fielding`,
8334
+ `context: { freeHit }` and `decision: { dismissal }`. Omitted/null dismissal
8335
+ means no dismissal; never infer one from motion. Supported candidates are
8336
+ caught/bowled/lbw/stumped/run-out; no-ball/free-hit protects the first four,
8337
+ while run-out remains possible. Current illegal free hits carry forward, legal
8338
+ ones consume context; Test rejects current free-hit context. Retain `play`,
8339
+ `ruling`, `result`, contact keys and camera tracks in JSON. Keep innings/score/
8340
+ strike/lesson state in the consuming app. `CRICKET_PLAY_COMPONENTS` discovers
8341
+ choices; `CRICKET_PLAY_EXAMPLES` provides five examples. Unsupported physical
8342
+ combinations throw; Wide currently only supports miss/keeper/no finish.
8343
+ See docs/cricket.md for the combination table. Original sixteen presets remain.
8182
8344
  Choose `markingProfile: 'icc-men' | 'icc-women' | 'mcc'` explicitly when
8183
8345
  teaching field geography; default ICC men is independent of cast. These are
8184
8346
  marking dimensions, not full competition profiles. ODI/T20 ICC areas are
@@ -8494,7 +8656,7 @@ path for all of that:
8494
8656
  </figure>
8495
8657
 
8496
8658
  <!-- once, anywhere on the page (a site-wide footer is fine) -->
8497
- <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.111.0/cdn/tinyfly-embed.iife.js" data-tinyfly-auto></script>
8659
+ <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.113.0/cdn/tinyfly-embed.iife.js" data-tinyfly-auto></script>
8498
8660
  ```
8499
8661
 
8500
8662
  Every `[data-tinyfly-embed]` mounts when the page is ready, with no per-post
@@ -9766,8 +9928,8 @@ On a page with no build step, load the maps add-on after the browser bundle; it
9766
9928
  adds to the same `tinyfly` global:
9767
9929
 
9768
9930
  ```html
9769
- <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.111.0/cdn/tinyfly.iife.js"></script>
9770
- <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.111.0/cdn/tinyfly-maps.iife.js"></script>
9931
+ <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.113.0/cdn/tinyfly.iife.js"></script>
9932
+ <script src="https://cdn.jsdelivr.net/gh/algorisys-oss/tinyfly@v0.113.0/cdn/tinyfly-maps.iife.js"></script>
9771
9933
  ```
9772
9934
 
9773
9935
  It is a separate script because the offline world map it carries adds about
@@ -14945,7 +15107,7 @@ magnet.addEventListener('pointerleave', () => {
14945
15107
 
14946
15108
  <!-- capabilities: generated from the library -->
14947
15109
 
14948
- # tinyfly capabilities (v0.111.0)
15110
+ # tinyfly capabilities (v0.113.0)
14949
15111
 
14950
15112
  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).
14951
15113
 
@@ -15366,6 +15528,20 @@ Edits:
15366
15528
 
15367
15529
  Marking profiles: `mcc`, `icc-men`, `icc-women`; default ICC men, independently of cast. Limited-over ICC profiles draw a wicket-centred capsule; Test/MCC have no restriction-area line. `cricketFieldingAreaContains(field, point)` returns true/false/null; `cricketFieldingPositions` and `cricketFieldingOverlay` provide owned setup markers, not umpiring decisions.
15368
15530
 
15531
+ `cricketPlay(field, options)` / `cricketPlayClip(options)` independently author delivery style/legality, shot, finish, fielding, current free-hit context and candidate dismissal. Omitted dismissal means no dismissal. Unsupported motion combinations throw; no-ball/free-hit protection changes result/signals without removing physical catches or wicket breaks. Run-out remains available. Illegal free hits carry forward; legal ones consume context. Test rejects free-hit context. Keep innings/score/strike in the consuming app.
15532
+
15533
+ Play deliveryStyles: `pace`, `spin`
15534
+ Play deliveryLegalities: `legal`, `no-ball`, `wide`
15535
+ Play shots: `miss`, `drive`, `defend`
15536
+ Play finishes: `none`, `single`, `four`, `six`, `stumps`, `pad`
15537
+ Play fielding: `none`, `keeper`, `catch`, `gather`, `throw`, `stumping`, `run-out`
15538
+ Play dismissals: `caught`, `bowled`, `lbw`, `stumped`, `run-out`
15539
+ - Composed example `no-ball-stumps`: No-ball + stumps hit
15540
+ - Composed example `free-hit-catch`: Free hit + catch
15541
+ - Composed example `no-ball-four`: No-ball + four
15542
+ - Composed example `free-hit-run-out`: Free hit + run-out
15543
+ - Composed example `free-hit-wide`: Free hit + Wide
15544
+
15369
15545
  - `bowling`: Run up, deliver with a straight arm, bounce and follow through.
15370
15546
  - `spin`: A shorter approach and a curved illustrative flight before the bounce.
15371
15547
  - `batting`: Two hands on the bat, a backlift, contact and a follow-through.
@@ -15383,10 +15559,12 @@ Marking profiles: `mcc`, `icc-men`, `icc-women`; default ICC men, independently
15383
15559
  - `no-ball`: The landing front foot oversteps the popping crease at release; one extra, no legal ball.
15384
15560
  - `wide`: An untouched delivery passes beyond reach for a normal stroke; one extra, no legal ball.
15385
15561
 
15386
- Formats: `test`, `odi`, `t20`. Casts: `adults`, `men`, `children`, `mixed`. Cameras: `pitch`, `batter`, `bowler`, `keeper`, `field`, `overhead`, `orbit`, `follow-ball`. Orbit turns 360° around the whole ground. `cricketCameraTracks(clip, { view, zoom })` supports 0.25–4× optical magnification (default 1) in every view.
15562
+ Formats: `test`, `odi`, `t20`. Casts: `adults`, `men`, `children`, `mixed`. Cameras: `pitch`, `batter`, `bowler`, `keeper`, `field`, `overhead`, `orbit`, `follow-ball`, `front-foot`, `striker-crease`, `bowler-crease`. Orbit turns 360° around the whole ground. `cricketCameraTracks(clip, { view, zoom })` supports 0.25–4× optical magnification (default 1) in every view.
15387
15563
 
15388
15564
  Stock fielding labels (`CRICKET_FIELDING_POSITIONS`): `bowler`: Bowler, `keeper`: Wicketkeeper, `fielder`: Extra cover, `slip`: Slip, `point`: Point, `cover`: Cover, `mid-off`: Mid-off, `mid-on`: Mid-on, `square-leg`: Square leg, `fine-leg`: Fine leg, `third-man`: Third man. Eleven fielders, two on-field batters and two umpires; nine batting teammates wait off-field. Mid-on is closer to the pitch; long-on is its deeper boundary alternative, not an extra stock fielder. For the right-handed striker, +x is off side and -x is on/leg side.
15389
15565
 
15566
+ Decision review cameras: front-foot, striker-crease, bowler-crease. cricketCameraFraming returns owned defaults; cricketCameraReview returns a physical event without seeking. Optional cricketDecisionOverlay marks the crease reference. pitch 0–89, distance 0.5–2000, fov 10–100 before zoom, and fixed-view target customize framing. Ball-follow yaw rotates its default offset relative to 75 degrees; pitch/distance apply too. Export all camera tracks, including far for distant framing. These APIs never alter motion or rulings.
15567
+
15390
15568
  ## Camera shots (`cameraTracks(shots, { stage })`)
15391
15569
 
15392
15570
  - **frame**: `{ at, duration?, easing?, frame: { focus?: { x, y }, scale?, rotate? } }: push in, pull out, or cut (duration 0)`
package/llms.txt CHANGED
@@ -13,48 +13,48 @@ Key facts:
13
13
  - For language models: read the capability catalog first (`npx @algorisys/tinyfly capabilities`, or the end of llms-full.txt). It is generated from the library, so every name in it (poses, expressions, gags, gaits, beat actions, canvas properties, code-panel edits) is accepted, and names not in it are rejected with the name probably meant. Check beat scripts with `npx @algorisys/tinyfly check beats.json`, tracks with `checkTracks(tracks, targets)`, and ask any target what it animates with `describeTarget(target)`. The npm package ships `docs/`, `llms.txt`, `llms-full.txt` and an agent skill (`skills/tinyfly/SKILL.md`); `docs/llm-guide.md` describes the workflow.
14
14
  - Source: https://github.com/algorisys-oss/tinyfly. License: MIT.
15
15
 
16
- All documentation and the interactive course in a single file: [llms-full.txt](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/llms-full.txt)
16
+ All documentation and the interactive course in a single file: [llms-full.txt](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/llms-full.txt)
17
17
 
18
18
  ## Start here
19
19
 
20
- - [Getting Started](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/getting-started.md): What tinyfly is, making a first animation in the editor, and using it from code, a script tag or the CDN.
21
- - [GSAP Compatibility](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/gsap-compat.md): The GSAP-style API (`live.to`, `tf.timeline`): supported vars, motion paths, morphSVG, text, inertia, Draggable, Flip, and where it differs from GSAP.
22
- - [Code Examples](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/examples.md): Recipes with the engine API: fades, loops, colour and bezier easing, loading JSON, canvas and SVG rendering, multi-scene sequences, motion paths and script-tag embeds; a festive garba/dandiya scene with partner contacts, circle travel and spins, also rendered to video.
23
- - [Building Animations with an LLM](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/llm-guide.md): For assistants and the people setting them up: read the capability catalog (`tinyfly capabilities`), ask targets what they animate (`describeTarget`), check beats and tracks with did-you-mean errors (`tinyfly check`, `checkTracks`), render stills to look at, and the agent skill shipped in the package.
20
+ - [Getting Started](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/getting-started.md): What tinyfly is, making a first animation in the editor, and using it from code, a script tag or the CDN.
21
+ - [GSAP Compatibility](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/gsap-compat.md): The GSAP-style API (`live.to`, `tf.timeline`): supported vars, motion paths, morphSVG, text, inertia, Draggable, Flip, and where it differs from GSAP.
22
+ - [Code Examples](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/examples.md): Recipes with the engine API: fades, loops, colour and bezier easing, loading JSON, canvas and SVG rendering, multi-scene sequences, motion paths and script-tag embeds; a festive garba/dandiya scene with partner contacts, circle travel and spins, also rendered to video.
23
+ - [Building Animations with an LLM](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/llm-guide.md): For assistants and the people setting them up: read the capability catalog (`tinyfly capabilities`), ask targets what they animate (`describeTarget`), check beats and tracks with did-you-mean errors (`tinyfly check`, `checkTracks`), render stills to look at, and the agent skill shipped in the package.
24
24
 
25
25
  ## Reference
26
26
 
27
- - [API Reference](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/api-reference.md): Every public engine, player and adapter API: Timeline, tracks, keyframes, easing, drivers, serialization and exports.
28
- - [File Format](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/file-format.md): The JSON animation format: timelines, every track kind, keyframes, easing and the project file — for generating or consuming animations.
27
+ - [API Reference](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/api-reference.md): Every public engine, player and adapter API: Timeline, tracks, keyframes, easing, drivers, serialization and exports.
28
+ - [File Format](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/file-format.md): The JSON animation format: timelines, every track kind, keyframes, easing and the project file — for generating or consuming animations.
29
29
 
30
30
  ## Editor features
31
31
 
32
- - [Editor Guide](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/editor-guide.md): Every panel and feature of the visual editor, from elements and keyframes to text and inertia tracks, preview and export.
33
- - [Shape Morphing](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/shape-morph.md): Tweening one path into another, including shapes with different point counts and several subpaths.
34
- - [Pen Tool](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/pen-tool.md): Drawing custom paths point by point with straight segments and bezier curves.
35
- - [Polygons & Stars](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/polygon-star.md): Parametric polygon and star shapes that stay editable while animating like any path.
36
- - [Grid & Snapping](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/grid-and-snapping.md): The grid overlay, snapping to grid, elements and artboard centre, and alignment guides.
37
- - [Onion Skinning](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/onion-skinning.md): Ghost frames before and after the playhead for judging arcs and easing.
38
- - [Sprite-sheet Export](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/sprite-sheet-export.md): Exporting frames as a PNG grid plus JSON metadata for game engines and canvas players.
32
+ - [Editor Guide](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/editor-guide.md): Every panel and feature of the visual editor, from elements and keyframes to text and inertia tracks, preview and export.
33
+ - [Shape Morphing](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/shape-morph.md): Tweening one path into another, including shapes with different point counts and several subpaths.
34
+ - [Pen Tool](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/pen-tool.md): Drawing custom paths point by point with straight segments and bezier curves.
35
+ - [Polygons & Stars](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/polygon-star.md): Parametric polygon and star shapes that stay editable while animating like any path.
36
+ - [Grid & Snapping](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/grid-and-snapping.md): The grid overlay, snapping to grid, elements and artboard centre, and alignment guides.
37
+ - [Onion Skinning](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/onion-skinning.md): Ghost frames before and after the playhead for judging arcs and easing.
38
+ - [Sprite-sheet Export](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/sprite-sheet-export.md): Exporting frames as a PNG grid plus JSON metadata for game engines and canvas players.
39
39
 
40
40
  ## Guides
41
41
 
42
- - [Cricket Stories](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/cricket.md): Reusable sports APIs, organic adult/child players, sixteen cricket plays, Test/ODI/T20 facts, contact-keyed JSON, captions, headless video and a 360° ground camera.
43
- - [Scroll Animation](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/scroll-animation.md): Scroll-driven and play-when-visible animation with ScrollDriver and VisibilityDriver.
44
- - [Props: Everyday Objects with Behaviours](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/props.md): Cars, trucks, buses, tractors, carts, train carriages, bikes, motorbikes, trees, houses, a helicopter and a plane: 3D rigs drawn with the characters’ pens (clean, pencil) that turn toward the camera, with beats acted through the 12 principles (anticipation, squash and stretch, follow-through, an exaggeration dial), wheels that roll exactly, effects, and figures riding them.
45
- - [Teaching Animations](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/teaching.md): Step-through explanatory figures: markers, captions in several languages, the teaching player, step controls, one-script declarative embeds, tinyfly/teach diagram primitives, and validate / render for build pipelines.
46
- - [Rendering Video from Code](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/video-rendering.md): Rendering a scene to MP4 without a browser: `tinyfly video`, custom canvas targets drawn by code, timing from narration and recorded voice-over, the stick-figure character, SRT/WebVTT captions, stills, porting Cairo scripts, and a benchmark against pycairo.
47
- - [Animated Maps](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/maps.md): Maps that animate: a camera that flies in to a city, pins that drop in, routes that draw themselves while a marker travels them, on OpenStreetMap tiles or an offline world outline (also in pencil), in the browser and in headless video.
48
- - [Cartoon Hands](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/cartoon-hands.md): A hand you can pose: a palm and five fingers in 3D, posed by numbers (curls, thumb, spread, wrist turn), ready-made shapes from a fist to a pencil grip, left and right, four or five fingers, in clean, pencil and silhouette looks; the animator's hand and character gloves are built on it.
49
- - [Character Appearance](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/character-appearance.md): Hair (34 styles), facial hair (20), glasses, hats and ears for the v2 character as plain data on the head, so they turn with it through all eight views; builds (child, tall, short…), a recurring cast (castMember), expressions with blush, tears and sweat, everyday poses, held items (mug, phone, bags, umbrella, parcel) and two characters’ hands meeting (meetHands: handshake, high five, hand-over).
50
- - [Cartoon Acting](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/acting.md): actTracks(): the same key poses, acted: anticipation, overshoot and settle, overlapping joints, eyes that lead and blink, moving holds and jump squash, in full, snappy or limited styles; gags as data (take, double take, wind-up); a line of action (bend); gaits with personality; lip-sync from text (Latin and Devanagari); beat scripts compiled to acted tracks; your own actions (defineAction), gaits (defineGait) and personas (persona()); acting on code (codePanel lines and words as anchors: leap onto a line, point at it, swipe it away wiped, knocked off or blurred; grab, throw, kick, carry and drop words, push them along their line, write new text in by hand; ride a line as gaps close); camera shots (push in, cut, shake, follow); the cartoon zip; speed lines, dust puffs and impact stars; drawing on twos (a timeline setting); acting, gags, walks and lines in the editor.
51
- - [Dance and Flips](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/dance.md): The stick figure dances disco, hip hop, breaking, jazz, K-pop, Bollywood, Bhangra, Bharatanatyam (with mudras), the Charleston, tap and popping, and does flips, leaps and splits; native v2 garba (two/three clap) and dandiya add body-local routines, circle formations, world foot plants, paired stick-tip contacts and signed spins; JSON bakes, timing, contact limits and editor menus.
52
- - [3D Scenes](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/scene-3d.md): @algorisys/tinyfly/scene-3d: cameras, lights and meshes as JSON, in metres, animated by tracks at <scene>/<object> (cuts with activeCamera), drawn on a 2D canvas with flat, smooth or toon shading, ink outlines and fog, in browsers, Workers and Node (MP4 with tinyfly video); v2 characters in pen or solid looks, scripted native dances, timed signed spins and circle formations with foot contacts.
53
- - [3D Transforms and Rotations](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/3d-rotations.md): CSS-style 3D for flat elements in every renderer (rotateX, rotateY, z, perspective, backface visibility; true perspective on Canvas and WebGL, matching CSS within a pixel), one documented transform order, the editor's 3D fields; smooth quaternion rotations with interpolation: "slerp"; the vec3, quat and mat4 helpers; format version 2.
54
- - [Extending tinyfly](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/extending.md): Writing a render adapter, animating any object with live and the ticker, custom and parametric eases, stagger offsets, adding a track kind, and contributing gallery examples.
55
- - [Deployment](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/docs/DEPLOYMENT.md): Building and hosting the editor, and serving the player bundles.
42
+ - [Cricket Stories](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/cricket.md): Reusable sports APIs, organic adult/child players, sixteen cricket plays, Test/ODI/T20 facts, contact-keyed JSON, captions, headless video and a 360° ground camera.
43
+ - [Scroll Animation](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/scroll-animation.md): Scroll-driven and play-when-visible animation with ScrollDriver and VisibilityDriver.
44
+ - [Props: Everyday Objects with Behaviours](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/props.md): Cars, trucks, buses, tractors, carts, train carriages, bikes, motorbikes, trees, houses, a helicopter and a plane: 3D rigs drawn with the characters’ pens (clean, pencil) that turn toward the camera, with beats acted through the 12 principles (anticipation, squash and stretch, follow-through, an exaggeration dial), wheels that roll exactly, effects, and figures riding them.
45
+ - [Teaching Animations](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/teaching.md): Step-through explanatory figures: markers, captions in several languages, the teaching player, step controls, one-script declarative embeds, tinyfly/teach diagram primitives, and validate / render for build pipelines.
46
+ - [Rendering Video from Code](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/video-rendering.md): Rendering a scene to MP4 without a browser: `tinyfly video`, custom canvas targets drawn by code, timing from narration and recorded voice-over, the stick-figure character, SRT/WebVTT captions, stills, porting Cairo scripts, and a benchmark against pycairo.
47
+ - [Animated Maps](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/maps.md): Maps that animate: a camera that flies in to a city, pins that drop in, routes that draw themselves while a marker travels them, on OpenStreetMap tiles or an offline world outline (also in pencil), in the browser and in headless video.
48
+ - [Cartoon Hands](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/cartoon-hands.md): A hand you can pose: a palm and five fingers in 3D, posed by numbers (curls, thumb, spread, wrist turn), ready-made shapes from a fist to a pencil grip, left and right, four or five fingers, in clean, pencil and silhouette looks; the animator's hand and character gloves are built on it.
49
+ - [Character Appearance](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/character-appearance.md): Hair (34 styles), facial hair (20), glasses, hats and ears for the v2 character as plain data on the head, so they turn with it through all eight views; builds (child, tall, short…), a recurring cast (castMember), expressions with blush, tears and sweat, everyday poses, held items (mug, phone, bags, umbrella, parcel) and two characters’ hands meeting (meetHands: handshake, high five, hand-over).
50
+ - [Cartoon Acting](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/acting.md): actTracks(): the same key poses, acted: anticipation, overshoot and settle, overlapping joints, eyes that lead and blink, moving holds and jump squash, in full, snappy or limited styles; gags as data (take, double take, wind-up); a line of action (bend); gaits with personality; lip-sync from text (Latin and Devanagari); beat scripts compiled to acted tracks; your own actions (defineAction), gaits (defineGait) and personas (persona()); acting on code (codePanel lines and words as anchors: leap onto a line, point at it, swipe it away wiped, knocked off or blurred; grab, throw, kick, carry and drop words, push them along their line, write new text in by hand; ride a line as gaps close); camera shots (push in, cut, shake, follow); the cartoon zip; speed lines, dust puffs and impact stars; drawing on twos (a timeline setting); acting, gags, walks and lines in the editor.
51
+ - [Dance and Flips](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/dance.md): The stick figure dances disco, hip hop, breaking, jazz, K-pop, Bollywood, Bhangra, Bharatanatyam (with mudras), the Charleston, tap and popping, and does flips, leaps and splits; native v2 garba (two/three clap) and dandiya add body-local routines, circle formations, world foot plants, paired stick-tip contacts and signed spins; JSON bakes, timing, contact limits and editor menus.
52
+ - [3D Scenes](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/scene-3d.md): @algorisys/tinyfly/scene-3d: cameras, lights and meshes as JSON, in metres, animated by tracks at <scene>/<object> (cuts with activeCamera), drawn on a 2D canvas with flat, smooth or toon shading, ink outlines and fog, in browsers, Workers and Node (MP4 with tinyfly video); v2 characters in pen or solid looks, scripted native dances, timed signed spins and circle formations with foot contacts.
53
+ - [3D Transforms and Rotations](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/3d-rotations.md): CSS-style 3D for flat elements in every renderer (rotateX, rotateY, z, perspective, backface visibility; true perspective on Canvas and WebGL, matching CSS within a pixel), one documented transform order, the editor's 3D fields; smooth quaternion rotations with interpolation: "slerp"; the vec3, quat and mat4 helpers; format version 2.
54
+ - [Extending tinyfly](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/extending.md): Writing a render adapter, animating any object with live and the ticker, custom and parametric eases, stagger offsets, adding a track kind, and contributing gallery examples.
55
+ - [Deployment](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/docs/DEPLOYMENT.md): Building and hosting the editor, and serving the player bundles.
56
56
 
57
57
  ## Optional
58
58
 
59
- - [README](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/README.md): Feature overview, project layout and development setup.
60
- - [Release notes](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.111.0/release-notes/README.md): What changed in each version.
59
+ - [README](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/README.md): Feature overview, project layout and development setup.
60
+ - [Release notes](https://raw.githubusercontent.com/algorisys-oss/tinyfly/v0.113.0/release-notes/README.md): What changed in each version.