@algorisys/tinyfly 0.112.0 → 0.114.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 +6 -5
- package/docs/character-appearance.md +26 -0
- package/docs/cricket.md +59 -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 +15 -1
- package/docs/maps.md +2 -2
- package/docs/teaching.md +1 -1
- package/lib/addons/characters.js +943 -935
- package/lib/addons/cricket-play-BZNhfgOK.js +5037 -0
- package/lib/addons/scene-3d.js +114 -112
- package/lib/addons/sports.js +23 -19
- package/lib/browser/tinyfly-scene-3d.iife.js +2 -2
- package/lib/browser/tinyfly.iife.js +14 -14
- package/lib/browser/tinyfly.js +7087 -6874
- package/lib/browser/tinyfly.umd.js +14 -14
- package/lib/types/characters/body/body-shape.d.ts +86 -0
- package/lib/types/characters/body/organic-body.d.ts +16 -0
- package/lib/types/characters/capabilities.d.ts +2 -0
- package/lib/types/characters/index.d.ts +1 -0
- package/lib/types/characters/soft-cartoon-cast.d.ts +7 -0
- package/lib/types/scene-3d/resolve-scene.d.ts +1 -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/index.d.ts +2 -1
- package/llms-full.txt +113 -11
- package/llms.txt +30 -30
- package/package.json +1 -1
- package/skills/tinyfly/SKILL.md +14 -1
- package/lib/addons/cricket-play-Zm5cghdV.js +0 -4828
package/skills/tinyfly/SKILL.md
CHANGED
|
@@ -134,7 +134,11 @@ names.
|
|
|
134
134
|
profile face and a nose projecting from above the mouth;
|
|
135
135
|
`face.projection: 'cartoon'` keeps the classic face slide. Optional JSON
|
|
136
136
|
`body` profiles (`torso`, `arm`, `leg`, `neck`) use increasing `{ at, width }`
|
|
137
|
-
from 0 to 1, with half-width fractions of height.
|
|
137
|
+
from 0 to 1, with half-width fractions of height. For realistic proportions
|
|
138
|
+
use `body.measurements`: `'hourglass' | 'pear' | 'rectangle' |
|
|
139
|
+
'invertedTriangle' | 'round'` or `{ height, bust, underbust?, waist, hip }`
|
|
140
|
+
in any one unit. It shapes width and side depth (bust/seat/belly) at every turn,
|
|
141
|
+
and `torsoFront`/`torsoBack` override the depth. Use `skin` for the whole exposed character;
|
|
138
142
|
`body.fill` overrides it; `'none'` makes exposed body/head/hands outline-only
|
|
139
143
|
in every look. Organic 3D painter ordering promotes only foreground arms to
|
|
140
144
|
torso/leg garment depths, leaving other parts at physical depths.
|
|
@@ -171,6 +175,15 @@ from `CRICKET_ACTIONS`. Results and arcs are authored teaching examples, not
|
|
|
171
175
|
physics, automatic umpiring or a complete innings. Preserve exact contact keys
|
|
172
176
|
and merge the selected camera tracks when exporting. See `docs/cricket.md`,
|
|
173
177
|
`/examples/live-cricket-story` and `examples/headless-video/cricket-story.mjs`.
|
|
178
|
+
Decision camera views are front-foot, striker-crease and bowler-crease.
|
|
179
|
+
Use cricketCameraFraming(clip, view) for owned preset defaults;
|
|
180
|
+
cricketCameraReview(clip, view) returns a physical event without seeking.
|
|
181
|
+
cricketDecisionOverlay adds optional static crease references, without umpiring.
|
|
182
|
+
Camera options pitch (0–89), distance (0.5–2000), fov (10–100 before zoom) and
|
|
183
|
+
fixed-view target customize framing. Follow-ball rejects target and rotates its
|
|
184
|
+
default offset with yaw; pitch/distance apply there too. Default 75-degree yaw
|
|
185
|
+
retains the original offset. Export all camera tracks, including far for distant
|
|
186
|
+
framing; the 3D resolver respects animated far. Keep motion/rulings untouched.
|
|
174
187
|
For composed plays use `cricketPlay(field, options)` / `cricketPlayClip(options)`.
|
|
175
188
|
Separate `delivery: { style, legality }`, `shot`, `finish`, `fielding`,
|
|
176
189
|
`context: { freeHit }` and `decision: { dismissal }`. Omitted/null dismissal
|