@algorisys/tinyfly 0.127.1 → 0.129.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 +14 -6
- package/bin/tinyfly.mjs +47 -1
- package/docs/character-appearance.md +8 -3
- 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 +6 -2
- package/docs/maps.md +2 -2
- package/docs/math.md +1 -1
- package/docs/presenting.md +258 -0
- package/docs/props.md +2 -0
- package/docs/teaching.md +1 -1
- package/lib/addons/characters.js +736 -735
- package/lib/addons/{cricket-play-a5jHHZVh.js → cricket-play-qqm3aXd-.js} +2132 -2112
- package/lib/addons/present.js +586 -0
- package/lib/addons/sports.js +1 -1
- package/lib/browser/tinyfly.iife.js +65 -15
- package/lib/browser/tinyfly.js +6784 -6260
- package/lib/browser/tinyfly.umd.js +65 -15
- package/lib/types/browser/index.d.ts +4 -0
- package/lib/types/characters/body/bean-figure.d.ts +3 -0
- package/lib/types/characters/character.d.ts +2 -2
- package/lib/types/characters/head/face.d.ts +9 -2
- package/lib/types/characters/scenery.d.ts +3 -0
- package/lib/types/present/deck-labels.d.ts +46 -0
- package/lib/types/present/deck-state.d.ts +128 -0
- package/lib/types/present/deck-styles.d.ts +16 -0
- package/lib/types/present/deck.d.ts +104 -0
- package/lib/types/present/index.d.ts +20 -0
- package/lib/types/present/inline-deck.d.ts +30 -0
- package/lib/types/present/presenter-view.d.ts +29 -0
- package/llms-full.txt +293 -18
- package/llms.txt +35 -34
- package/package.json +7 -3
- package/skills/tinyfly/SKILL.md +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@algorisys/tinyfly",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.129.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",
|
|
@@ -77,6 +77,10 @@
|
|
|
77
77
|
"types": "./lib/types/teach/index.d.ts",
|
|
78
78
|
"import": "./lib/addons/teach.js"
|
|
79
79
|
},
|
|
80
|
+
"./present": {
|
|
81
|
+
"types": "./lib/types/present/index.d.ts",
|
|
82
|
+
"import": "./lib/addons/present.js"
|
|
83
|
+
},
|
|
80
84
|
"./math": {
|
|
81
85
|
"types": "./lib/types/math/index.d.ts",
|
|
82
86
|
"import": "./lib/addons/math.js"
|
|
@@ -187,10 +191,10 @@
|
|
|
187
191
|
"vue": "^3.5.42"
|
|
188
192
|
},
|
|
189
193
|
"peerDependencies": {
|
|
194
|
+
"@napi-rs/canvas": ">=0.1.60",
|
|
190
195
|
"react": ">=18",
|
|
191
|
-
"vue": ">=3.3",
|
|
192
196
|
"solid-js": ">=1.8",
|
|
193
|
-
"
|
|
197
|
+
"vue": ">=3.3"
|
|
194
198
|
},
|
|
195
199
|
"peerDependenciesMeta": {
|
|
196
200
|
"react": {
|
package/skills/tinyfly/SKILL.md
CHANGED
|
@@ -40,7 +40,8 @@ names.
|
|
|
40
40
|
The same `HUMAN_EXPRESSIONS`, blink, gaze, turn, acting and dance fields apply.
|
|
41
41
|
- White outlined stick figures: `figure: 'bean'` (or `castMember('beanMan' | 'beanWoman' | 'beanKid' | 'beanBoss' | 'beanDetective' | 'beanStick', height)`)
|
|
42
42
|
draws seamless outlined noodle limbs (`bean: { limbs: 'line' }` for bare lines), a shaped body, big oval eyes
|
|
43
|
-
(`face.style: 'oval'`), mittens and cartoon shoes; colour it with
|
|
43
|
+
(`face.style: 'oval'`; `face: { eyeScale, eyeAspect }` sizes them), mittens and cartoon shoes; colour it with
|
|
44
|
+
`bean: { shirt, sleeves, trousers, shoes, tie }`;
|
|
44
45
|
detective gear `bean: { coat, fedora, shades: true }`; `halo` edges line limbs.
|
|
45
46
|
It is always drawn clean; every pose, gait, dance and expression field works on it.
|
|
46
47
|
Household clothes: `bean: { skirt, drape, bangles }` (`skirt` a colour or `{ color, length }`; preset `beanSari`).
|
|
@@ -293,6 +294,9 @@ and stump radii. Preserve bowled's collision and stumping's later wicket break.
|
|
|
293
294
|
- Tracks: `checkTracks(tracks, targets)` — unknown targets and properties,
|
|
294
295
|
key order, value kinds and ranges.
|
|
295
296
|
- Teaching timelines: `npx @algorisys/tinyfly validate timeline.json --markup figure.svg`.
|
|
297
|
+
- Presentations (`createDeck`, `docs/presenting.md`): build with
|
|
298
|
+
`npx @algorisys/tinyfly present index.html -o Talk.html`; it fails when the page
|
|
299
|
+
would still load a file or the network. Check moments with `deck.seek(slide, step, ms)`.
|
|
296
300
|
|
|
297
301
|
Fix every error; read every warning.
|
|
298
302
|
|