@algorisys/tinyfly 0.117.0 → 0.118.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 -6
- 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 +3 -1
- package/docs/maps.md +2 -2
- package/docs/math.md +35 -9
- package/docs/teaching.md +1 -1
- package/lib/addons/characters.js +1654 -1649
- package/lib/addons/math.js +1684 -1254
- package/lib/browser/tinyfly-math.iife.js +4 -4
- package/lib/browser/tinyfly.iife.js +1 -1
- package/lib/browser/tinyfly.js +6 -1
- package/lib/browser/tinyfly.umd.js +1 -1
- package/lib/types/math/discrete/graph-search.d.ts +38 -0
- package/lib/types/math/discrete/set-expression.d.ts +33 -0
- package/lib/types/math/figure/display-list.d.ts +8 -0
- package/lib/types/math/figure/figure-spec.d.ts +68 -1
- package/lib/types/math/figure/items/discrete.d.ts +23 -0
- package/lib/types/math/figure/items/shapes.d.ts +3 -0
- package/lib/types/math/index.d.ts +4 -1
- package/lib/types/math/presets/discrete.d.ts +49 -0
- package/lib/types/math/tex/glyph-metrics.d.ts +8 -0
- package/lib/types/math/tex/tex-parser.d.ts +2 -1
- package/llms-full.txt +51 -18
- package/llms.txt +31 -31
- package/package.json +1 -1
- package/skills/tinyfly/SKILL.md +2 -1
package/lib/browser/tinyfly.js
CHANGED
|
@@ -20894,6 +20894,8 @@ function h3(t, e = {}) {
|
|
|
20894
20894
|
"tangentFigure, secantFigure, riemannFigure, areaFigure, taylorFigure, limitFigure": "ready calculus figures; their moving parts are number values (a, h, n, b, order, p)",
|
|
20895
20895
|
"differentiate / compileDerivative / integrate": "exact symbolic derivatives of expressions; Simpson integration",
|
|
20896
20896
|
"normalFigure, binomialFigure, cltFigure, galtonFigure, monteCarloPiFigure, regressionFigure, bayesFigure": "ready probability and statistics figures",
|
|
20897
|
+
"graphSearchFigure, shortestPathFigure, recursionTreeFigure, vennFigure, clockFigure": "ready discrete maths figures; searches move with the value step",
|
|
20898
|
+
"searchEvents / parseSetExpression / regionCells": "graph searches as data; set expressions and their Venn cells",
|
|
20897
20899
|
distributions: "{ kind: normal | uniform | exponential | binomial | poisson | dice | mean, …numbers or value names }; density, meanOf, sdOf, samples (seeded)",
|
|
20898
20900
|
"layoutTex(tex) / morphEquation(a, b, t)": "the built-in TeX subset, and term-by-term transitions",
|
|
20899
20901
|
"vec2, mat2": "2D vectors and 2×2 matrices (apply, multiply, determinant, inverse, eigen)"
|
|
@@ -20918,7 +20920,10 @@ function h3(t, e = {}) {
|
|
|
20918
20920
|
distribution: "{ distribution, shade?: [a, b] }: a density curve (bars when discrete); \\val{ID.p}",
|
|
20919
20921
|
galton: "{ rows?, balls, spacing?, top?, seed? }: a Galton board; fractional balls = the next one falling",
|
|
20920
20922
|
scatter: "{ points: uniform | linear, count, inside?, fit?, seed? }: Monte Carlo and regression; \\val{ID.ratio}, \\val{ID.r}",
|
|
20921
|
-
bayes: "{ prior, truePositive, falsePositive }: Bayes as areas; \\val{ID.posterior}"
|
|
20923
|
+
bayes: "{ prior, truePositive, falsePositive }: Bayes as areas; \\val{ID.posterior}",
|
|
20924
|
+
graph: "{ nodes, edges, directed?, tree?, search?: { kind: bfs | dfs | dijkstra, start }, step?, frontier? }: searches step by step",
|
|
20925
|
+
venn: "{ sets (2 or 3), highlight?: set expression like (A | B)' }: shaded by clipping",
|
|
20926
|
+
clock: "{ modulus, value }: clock arithmetic; \\val{ID.hour}"
|
|
20922
20927
|
},
|
|
20923
20928
|
props: {
|
|
20924
20929
|
NAME: "a value: a number, [x, y] vector or [a, b, c, d] matrix (row by row; columns are where î and ĵ land)",
|