@algorisys/tinyfly 0.117.0 → 0.119.1
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 +5 -1
- package/docs/maps.md +2 -2
- package/docs/math.md +74 -9
- package/docs/teaching.md +1 -1
- package/lib/addons/characters.js +2311 -2299
- package/lib/addons/math.js +2120 -1166
- package/lib/browser/tinyfly-math.iife.js +4 -4
- package/lib/browser/tinyfly.iife.js +1 -1
- package/lib/browser/tinyfly.js +13 -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 +10 -0
- package/lib/types/math/figure/figure-spec.d.ts +168 -1
- package/lib/types/math/figure/items/discrete.d.ts +23 -0
- package/lib/types/math/figure/items/ml.d.ts +47 -0
- package/lib/types/math/figure/items/shapes.d.ts +3 -0
- package/lib/types/math/index.d.ts +11 -1
- package/lib/types/math/ml/classify.d.ts +30 -0
- package/lib/types/math/ml/colormap.d.ts +14 -0
- package/lib/types/math/ml/contours.d.ts +15 -0
- package/lib/types/math/ml/descent.d.ts +11 -0
- package/lib/types/math/ml/kmeans.d.ts +11 -0
- package/lib/types/math/ml/network.d.ts +19 -0
- package/lib/types/math/presets/discrete.d.ts +49 -0
- package/lib/types/math/presets/ml.d.ts +50 -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 +99 -18
- package/llms.txt +31 -31
- package/package.json +1 -1
- package/skills/tinyfly/SKILL.md +3 -1
package/lib/browser/tinyfly.js
CHANGED
|
@@ -20894,6 +20894,9 @@ 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",
|
|
20899
|
+
"neuralNetworkFigure, gradientDescentFigure, attentionFigure, decisionBoundaryFigure, kmeansFigure, activationFigure": "ready AI/ML figures",
|
|
20897
20900
|
distributions: "{ kind: normal | uniform | exponential | binomial | poisson | dice | mean, …numbers or value names }; density, meanOf, sdOf, samples (seeded)",
|
|
20898
20901
|
"layoutTex(tex) / morphEquation(a, b, t)": "the built-in TeX subset, and term-by-term transitions",
|
|
20899
20902
|
"vec2, mat2": "2D vectors and 2×2 matrices (apply, multiply, determinant, inverse, eigen)"
|
|
@@ -20918,7 +20921,16 @@ function h3(t, e = {}) {
|
|
|
20918
20921
|
distribution: "{ distribution, shade?: [a, b] }: a density curve (bars when discrete); \\val{ID.p}",
|
|
20919
20922
|
galton: "{ rows?, balls, spacing?, top?, seed? }: a Galton board; fractional balls = the next one falling",
|
|
20920
20923
|
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}"
|
|
20924
|
+
bayes: "{ prior, truePositive, falsePositive }: Bayes as areas; \\val{ID.posterior}",
|
|
20925
|
+
graph: "{ nodes, edges, directed?, tree?, search?: { kind: bfs | dfs | dijkstra, start }, step?, frontier? }: searches step by step",
|
|
20926
|
+
venn: "{ sets (2 or 3), highlight?: set expression like (A | B)' }: shaded by clipping",
|
|
20927
|
+
clock: "{ modulus, value }: clock arithmetic; \\val{ID.hour}",
|
|
20928
|
+
network: "{ layers, activation?, inputs?, flow?, seed?, labels? }: a forward pass, layer by layer",
|
|
20929
|
+
heatmap: "{ cells (softmax? per row) or expr in x, y; colormap?, rowLabels?, colLabels?, values? }: attention maps, loss fields",
|
|
20930
|
+
contours: "{ expr in x, y, levels? }: level curves (marching squares)",
|
|
20931
|
+
descent: "{ expr in x, y, start, rate, steps, momentum? }: gradient descent with an exact gradient",
|
|
20932
|
+
classifier: "{ epochs, centres?, rate?, start? }: logistic regression training; \\val{ID.accuracy}",
|
|
20933
|
+
kmeans: "{ centres, iteration, k? }: Lloyd iterations; \\val{ID.inertia}"
|
|
20922
20934
|
},
|
|
20923
20935
|
props: {
|
|
20924
20936
|
NAME: "a value: a number, [x, y] vector or [a, b, c, d] matrix (row by row; columns are where î and ĵ land)",
|