@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/README.md +9 -6
- package/docs/cricket.md +142 -1
- package/docs/editor-guide.md +1 -1
- package/docs/examples.md +1 -1
- package/docs/getting-started.md +1 -1
- package/docs/gsap-compat.md +1 -1
- package/docs/llm-guide.md +21 -0
- package/docs/maps.md +2 -2
- package/docs/teaching.md +1 -1
- package/lib/addons/characters.js +1177 -1170
- package/lib/addons/cricket-play-DQqoiwTG.js +4936 -0
- package/lib/addons/scene-3d.js +114 -112
- package/lib/addons/sports.js +28 -412
- package/lib/browser/tinyfly-scene-3d.iife.js +2 -2
- package/lib/browser/tinyfly.iife.js +12 -12
- package/lib/browser/tinyfly.js +8624 -8386
- package/lib/browser/tinyfly.umd.js +12 -12
- package/lib/types/characters/capabilities.d.ts +5 -0
- package/lib/types/scene-3d/resolve-scene.d.ts +1 -1
- package/lib/types/sports/cricket/cricket-action.d.ts +9 -1
- package/lib/types/sports/cricket/cricket-camera-review.d.ts +34 -0
- package/lib/types/sports/cricket/cricket-camera.d.ts +22 -4
- package/lib/types/sports/cricket/cricket-play.d.ts +21 -0
- package/lib/types/sports/cricket/cricket-types.d.ts +50 -1
- package/lib/types/sports/cricket/index.d.ts +4 -1
- package/llms-full.txt +188 -10
- package/llms.txt +30 -30
- package/package.json +1 -1
- package/skills/tinyfly/SKILL.md +21 -0
- package/lib/addons/cricket-markings-KbMjP7r6.js +0 -4312
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@algorisys/tinyfly",
|
|
3
|
-
"version": "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",
|
package/skills/tinyfly/SKILL.md
CHANGED
|
@@ -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
|