@algorisys/tinyfly 0.115.0 → 0.116.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 +11 -6
- package/docs/api-reference.md +2 -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 +16 -0
- package/docs/maps.md +2 -2
- package/docs/math.md +280 -0
- package/docs/teaching.md +1 -1
- package/lib/addons/characters.js +2607 -2548
- package/lib/addons/math.js +2864 -0
- package/lib/browser/tinyfly-math.iife.js +53 -0
- package/lib/browser/tinyfly.iife.js +3 -3
- package/lib/browser/tinyfly.js +705 -638
- package/lib/browser/tinyfly.umd.js +3 -3
- package/lib/embed/tinyfly-embed.iife.js +1 -1
- package/lib/embed/tinyfly-embed.js +8 -0
- package/lib/player/tinyfly-player.es.js +8 -0
- package/lib/player/tinyfly-player.iife.js +1 -1
- package/lib/player/tinyfly-player.umd.js +1 -1
- package/lib/types/characters/capabilities.d.ts +8 -0
- package/lib/types/math/browser-entry.d.ts +3 -0
- package/lib/types/math/embed/auto-mount-math.d.ts +7 -0
- package/lib/types/math/embed/explorable.d.ts +46 -0
- package/lib/types/math/embed/mount-math.d.ts +31 -0
- package/lib/types/math/expr/differentiate.d.ts +7 -0
- package/lib/types/math/expr/evaluate.d.ts +21 -0
- package/lib/types/math/expr/parse-expression.d.ts +50 -0
- package/lib/types/math/figure/derived.d.ts +17 -0
- package/lib/types/math/figure/display-list.d.ts +87 -0
- package/lib/types/math/figure/figure-spec.d.ts +239 -0
- package/lib/types/math/figure/item-context.d.ts +33 -0
- package/lib/types/math/figure/items/calculus.d.ts +7 -0
- package/lib/types/math/figure/items/curves.d.ts +7 -0
- package/lib/types/math/figure/items/grid.d.ts +5 -0
- package/lib/types/math/figure/items/regions.d.ts +5 -0
- package/lib/types/math/figure/items/text.d.ts +5 -0
- package/lib/types/math/figure/items/vectors.d.ts +9 -0
- package/lib/types/math/figure/layout-figure.d.ts +13 -0
- package/lib/types/math/figure/plane.d.ts +20 -0
- package/lib/types/math/figure/validate-spec.d.ts +2 -0
- package/lib/types/math/index.d.ts +43 -0
- package/lib/types/math/linear/mat2.d.ts +41 -0
- package/lib/types/math/linear/vec2.d.ts +18 -0
- package/lib/types/math/presets/calculus.d.ts +59 -0
- package/lib/types/math/presets/linear-algebra.d.ts +42 -0
- package/lib/types/math/render/arrow.d.ts +10 -0
- package/lib/types/math/render/display-list-to-svg.d.ts +10 -0
- package/lib/types/math/render/draw-display-list.d.ts +6 -0
- package/lib/types/math/steps/math-steps.d.ts +34 -0
- package/lib/types/math/targets/math-target.d.ts +43 -0
- package/lib/types/math/tex/equation-morph.d.ts +21 -0
- package/lib/types/math/tex/glyph-metrics.d.ts +24 -0
- package/lib/types/math/tex/tex-layout.d.ts +59 -0
- package/lib/types/math/tex/tex-parser.d.ts +88 -0
- package/lib/types/player/player.d.ts +6 -0
- package/llms-full.txt +358 -10
- package/llms.txt +32 -31
- package/package.json +6 -2
- package/skills/tinyfly/SKILL.md +10 -0
package/skills/tinyfly/SKILL.md
CHANGED
|
@@ -166,6 +166,16 @@ names.
|
|
|
166
166
|
`examples/headless-video/organic-characters.mjs` and
|
|
167
167
|
`examples/headless-video/child-characters.mjs` examples.
|
|
168
168
|
|
|
169
|
+
- Maths lessons: `@algorisys/tinyfly/math`. A figure is JSON (`values` +
|
|
170
|
+
`items`); check it with `mathFigure()`; write steps with `mathSteps(lesson,
|
|
171
|
+
'fig', figure)`. Matrices are `[a, b, c, d]` row by row (columns are where î
|
|
172
|
+
and ĵ land). Functions are expression strings, equations TeX in the built-in
|
|
173
|
+
subset; `\val{M.det}` shows a live value. Never name a value `x`, `y`, `t`,
|
|
174
|
+
`opacity` or `scale`. Lesson pages: `<figure data-tinyfly-math>` with
|
|
175
|
+
`tinyfly-math.iife.js`; videos: `mathTarget(figure)`. Calculus: `tangent`
|
|
176
|
+
(`h` makes a secant), `riemann`, `area`, `taylor`; animate `at` / `n` / `to` /
|
|
177
|
+
`order` through number values. See `docs/math.md`.
|
|
178
|
+
|
|
169
179
|
## 3. Check
|
|
170
180
|
|
|
171
181
|
Cricket stories use `@algorisys/tinyfly/sports`: `cricketClip` gives owned JSON
|