@motionscript/math 0.2.0 → 0.3.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/CHANGELOG.md +12 -0
- package/README.md +2 -2
- package/dist/annotate/curly-brace.d.ts +3 -3
- package/dist/annotate/emphasis-mark.d.ts +3 -3
- package/dist/browser/chunks/chunk-347RSDIW.js +2 -0
- package/dist/browser/chunks/chunk-347RSDIW.js.map +7 -0
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +4 -4
- package/dist/browser/kit.js +1 -1
- package/dist/browser/manifest.json +1 -1
- package/dist/engine.d.ts +1 -1
- package/dist/engine.js +1 -1
- package/dist/engine.js.map +1 -1
- package/dist/index.d.ts +28 -28
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +29 -28
- package/dist/index.js.map +1 -1
- package/dist/marks/curve-area.d.ts +3 -3
- package/dist/marks/drop-lines.d.ts +3 -3
- package/dist/marks/riemann-sum.d.ts +3 -3
- package/dist/marks/tangent-line.d.ts +3 -3
- package/dist/marks/vector-arrow.d.ts +3 -3
- package/dist/plots/function-plot.d.ts +4 -4
- package/dist/plots/points-plot.d.ts +3 -3
- package/dist/plots/stream-lines.d.ts +6 -6
- package/dist/plots/traced-path.d.ts +6 -6
- package/dist/plots/vector-field.d.ts +6 -6
- package/dist/systems/number-line.d.ts +3 -3
- package/dist/systems/number-plane.d.ts +6 -6
- package/dist/tex/matrix.d.ts +3 -3
- package/dist/tex/node.d.ts +3 -3
- package/dist/three/curve-plot3d.d.ts +3 -3
- package/dist/three/surface-plot3d.d.ts +8 -8
- package/dist/unstable.d.ts +29 -0
- package/dist/unstable.d.ts.map +1 -0
- package/dist/unstable.js +31 -0
- package/dist/unstable.js.map +1 -0
- package/package.json +6 -6
- package/registry.json +1 -1
- package/src/engine.ts +1 -1
- package/src/index.ts +29 -28
- package/src/unstable.ts +30 -0
- package/dist/browser/chunks/chunk-FZ2YBTPL.js +0 -2
- package/dist/browser/chunks/chunk-FZ2YBTPL.js.map +0 -7
package/dist/browser/kit.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{$ as
|
|
1
|
+
import{$ as gr,$a as ce,$b as Ze,A as xr,Aa as ao,Ab as Ro,B as fr,Ba as to,Bb as Do,C as sr,Ca as po,Cb as wo,D as nr,Da as mo,Db as yo,E as ir,Ea as lo,Eb as ge,F as dr,Fa as xo,Fb as ke,G as ur,Ga as fo,Gb as Ye,H as Er,Ha as le,Hb as be,I as Ar,Ia as xe,Ib as Be,J as Sr,Ja as fe,Jb as Ue,K as cr,Ka as se,Kb as vo,L as Pr,La as so,Lb as Ve,M as Tr,Ma as no,Mb as Xe,N as Or,Na as io,Nb as He,O as Lr,Oa as ne,Ob as Qe,P as Mr,Pa as ie,Pb as qe,Q as _r,Qa as uo,Qb as Je,R as Fr,Ra as Eo,Rb as Ke,S as hr,Sa as Ao,Sb as We,T as Ir,Ta as So,Tb as ze,U as Nr,Ua as co,Ub as Ge,V as Cr,Va as Po,Vb as go,W as Rr,Wa as de,Wb as ko,X as Dr,Xa as ue,Xb as Yo,Y as wr,Ya as Ee,Yb as bo,Z as yr,Za as Ae,Zb as Bo,_ as vr,_a as Se,_b as je,a as k,aa as kr,ab as Pe,ac as Uo,b as Y,ba as Yr,bb as Te,bc as Vo,c as b,ca as br,cb as Oe,cc as Xo,d as B,da as Br,db as Le,dc as Ho,e as U,ea as Ur,eb as To,f as V,fa as Vr,fb as Oo,g as X,ga as Xr,gb as Lo,h as H,ha as Hr,hb as Mo,i as Q,ia as Qr,ib as _o,j as q,ja as qr,jb as Fo,k as J,ka as Jr,kb as ho,l as K,la as Kr,lb as Io,m as W,ma as Wr,mb as No,n as z,na as zr,nb as Co,o as G,oa as Gr,ob as Me,p as j,pa as jr,pb as _e,q as Z,qa as Zr,qb as Fe,r as $,ra as $r,rb as he,s as rr,sa as re,sb as Ie,t as er,ta as ee,tb as Ne,u as or,ua as oe,ub as Ce,v as ar,va as ae,vb as Re,w as tr,wa as te,wb as De,x as pr,xa as pe,xb as we,y as mr,ya as me,yb as ye,z as lr,za as oo,zb as ve}from"./chunks/chunk-347RSDIW.js";import{A as _,B as F,C as h,D as I,E as N,F as C,G as R,H as D,I as w,J as y,K as v,L as g,M as $e,N as ro,O as eo,a as r,d as e,e as o,f as a,g as t,h as p,i as m,j as l,k as x,l as f,m as s,n,o as i,p as d,q as u,r as E,s as A,t as S,u as c,v as P,w as T,x as O,y as L,z as M}from"./chunks/chunk-T42HWKBC.js";export{ao as AXES,to as AXES_COMMANDS,K as AXIS_COLOR,Do as AngleMark,fo as Axes2d,vo as Axes3d,Pr as CURVE_KEYS,Ro as CurlyBrace,Fo as CurveArea,Yo as CurvePlot3d,Co as DropLines,We as EQUATION_KINDS,xr as EQUATION_VARIABLES,Ve as EQUATION_VARIABLES_3D,yo as EmphasisMark,Te as FIELD_COMMANDS,Pe as FIELD_STATE,le as FIELD_VARIABLES,_e as FOLLOW_COMMANDS,Me as FOLLOW_STATE,So as FunctionPlot,Ye as GRAPH_3D,je as GRAPH_LAYOUTS,U as IDENTITY_MATRIX,$e as Latex,m as LatexError,eo as LatexMatrix,p as LatexNotLoaded,e as MATHJAX_LOADER,tr as MATH_DIALECT,T as Morph,Uo as NetworkGraph,oo as NumberLine,so as NumberPlane,Ce as OWN_FRAME,n as PAINT,i as PAINT_COMMANDS,B as PIXEL_MAP,Fr as PLANE_ENTRY,Mr as PLOT,W as PLOT_COLOR,Eo as PLOT_COMMANDS,hr as PLOT_REF,uo as PLOT_STATE,Ao as PLOT_STROKE,Mo as PlotPoint,bo as PlotPoint3d,Po as PointsPlot,io as PolarPlane,ho as RiemannSum,Lr as SYSTEM,_r as SYSTEM_ENTRY,Xo as SampleSpace,Oo as StreamLines,go as SurfacePlot3d,_ as TYPESET,F as TYPESET_COMMANDS,Io as TangentLine,Lo as TracedPath,Er as UNSET_PARAM,_o as VectorArrow,Bo as VectorArrow3d,To as VectorField,Re as add,Ue as aim,rr as along,zr as anchored,wo as angleOf,xo as axesFurniture,mo as axesMap,lo as axesOf,Y as axisScale,De as between,t as blankLatex,yr as boundsOfRuns,ve as braceOutline,l as buildLatexPath,b as cartesianMap,Wr as castsShadow,kr as clamp,Ee as colorAt,mr as compileExpression,lr as compileExpressionCached,Fe as container,r as createBoundedCache,Rr as curveFor,Tr as curveValue,G as declareFormulas,s as defaultLatexMorph,Ge as domainEntry,Le as drawField,R as drawFormula,ge as drawLabel3D,Z as drawLabels,Jr as drawMark,te as drawSystem,$ as drawn,sr as equationError,nr as equationParams,pr as expressionVocabulary,se as fieldError,xe as fieldParams,ce as fillAt,f as findLatexParts,Ie as followedQuad,me as formatTick,w as formula,h as formulaFrame,v as formulaOf,be as graphEntry,Be as graphOf,Qr as graphPoint,ke as graphSpace,ye as grown,we as heading,vr as inflate,Xr as inkCentre,Vr as inkSize,or as intervalEntry,Or as isCurve,y as isFormula,H as isIdentityMatrix,g as latexPartBounds,x as latexPartNames,Ze as layOut,N as layoutFormula,ur as lerpDomain,Se as lerpFillScale,er as lerpInterval,X as lerpMatrix,L as lerpMorph,Ar as lerpParams,S as lerpPartFills,ue as lerpScale,dr as lerpSource,J as lineThrough,d as listed,po as loadAxes,C as loadFormula,j as loadFormulas,o as loadMathJax,Br as markRuns,qr as markShape,a as mathJaxLoaded,ro as matrixSource,I as measureFormula,ze as meshEntries,M as morphOf,u as omit,jr as openPlane,Ne as outlineBounds,Hr as ownPoint,E as painted,fr as parseEquation,fe as parseField,qe as parseSpaceCurve,Qe as parseSurface,D as partBoundsIn,P as partPaint,Gr as placeOnMap,no as planeMap,Zr as plotArea,Cr as plotPlane,gr as radians,Ae as readFillScale,ar as readInterval,V as readMatrix,A as readPartFills,de as readScale,ir as readSource,Ur as reading,Dr as refId,k as resolveInterval,he as resting,cr as revisionOf,wr as runsToPath,ie as sampleCurve,Ho as sampleParts,Sr as scopeFor,Nr as settle,O as settled,Ke as spaceCurveError,He as spaceCurveParams,Yr as stated,Kr as strokeShape,Je as surfaceError,Xe as surfaceParams,ko as surfaceValueAt,oe as systemLayout,$r as systemMap,ae as systemOpenPlane,Ir as systemPlane,ee as systemProvides,re as systemSize,No as tangentSlope,pe as ticksFor,ne as traceContour,Oe as traceField,co as tracePlot,br as traced,Q as transformedMap,Vo as vertexPoints,q as warpedMap,c as withPartFill,z as withoutTips};
|
|
2
2
|
//# sourceMappingURL=kit.js.map
|
package/dist/engine.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* The math **kit**: what the nodes share, and what a copied one does not copy.
|
|
3
3
|
*
|
|
4
4
|
* A copy takes a node's own files into a project and rewrites its reach for
|
|
5
|
-
* these to `@motionscript/math`, so MathJax, the morph and every shared module
|
|
5
|
+
* these to `@motionscript/math/kit`, so MathJax, the morph and every shared module
|
|
6
6
|
* stay a real dependency with one identity.
|
|
7
7
|
*/
|
|
8
8
|
export { blankLatex, buildLatexPath, findLatexParts, latexPartNames, LatexError, LatexNotLoaded, loadMathJax, mathJaxLoaded, MATHJAX_LOADER, } from './tex/geometry.js';
|
package/dist/engine.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* The math **kit**: what the nodes share, and what a copied one does not copy.
|
|
3
3
|
*
|
|
4
4
|
* A copy takes a node's own files into a project and rewrites its reach for
|
|
5
|
-
* these to `@motionscript/math`, so MathJax, the morph and every shared module
|
|
5
|
+
* these to `@motionscript/math/kit`, so MathJax, the morph and every shared module
|
|
6
6
|
* stay a real dependency with one identity.
|
|
7
7
|
*/
|
|
8
8
|
export { blankLatex, buildLatexPath, findLatexParts, latexPartNames, LatexError, LatexNotLoaded, loadMathJax, mathJaxLoaded, MATHJAX_LOADER, } from './tex/geometry.js';
|
package/dist/engine.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engine.js","sourceRoot":"","sources":["../src/engine.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EACH,UAAU,EAAE,cAAc,EAAE,cAAc,EAA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AAE,qBAAqB,GACvI,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE/E,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,kHAAkH;AAClH,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAExG,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEtF,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnF,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAClG,OAAO,EACH,eAAe,EAAE,gBAAgB,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,cAAc,EAAE,SAAS,GACpG,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC","sourcesContent":["/**\n * The math **kit**: what the nodes share, and what a copied one does not copy.\n *\n * A copy takes a node's own files into a project and rewrites its reach for\n * these to `@motionscript/math`, so MathJax, the morph and every shared module\n * stay a real dependency with one identity.\n */\nexport {\n blankLatex, buildLatexPath, findLatexParts, latexPartNames, LatexError, LatexNotLoaded, loadMathJax, mathJaxLoaded, MATHJAX_LOADER,\n} from './tex/geometry';\nexport type { LatexPart, LatexToken, LatexPathResult } from './tex/geometry';\nexport { defaultLatexMorph } from './tex/tween';\nexport type { AnimatedToken, LatexMorphStrategy } from './tex/tween';\nexport { Latex } from './tex/node';\nexport type { LatexProps, LatexStrategies } from './tex/node';\nexport {\n drawFormula, formula, formulaFrame, formulaOf, isFormula, latexPartBounds, layoutFormula, lerpMorph, loadFormula, measureFormula, Morph, morphOf,\n partBoundsIn, settled, TYPESET, TYPESET_COMMANDS,\n} from './tex/typeset';\nexport type { FormulaFrame, Morphing, TypesetValues } from './tex/typeset';\nexport { lerpPartFills, partPaint, readPartFills, withPartFill } from './kit/part-fills';\nexport type { PartFill, PartFillResolved } from './kit/part-fills';\nexport { createBoundedCache } from './kit/cache';\nexport { listed, omit, PAINT, PAINT_COMMANDS, painted } from './kit/component';\nexport type { BoundedCache } from './kit/cache';\n\nexport { drawSystem, plotArea, systemLayout, systemMap, systemOpenPlane, systemProvides, systemSize } from './kit/system';\nexport type { MapFor, SystemState } from './kit/system';\n// A number plane is axes with a grid, so a copied one builds on these rather than a copy of them.\nexport { Axes2d, AXES, AXES_COMMANDS, axesFurniture, axesMap, axesOf, loadAxes } from './systems/axes2d';\nexport type { Axes2dProps, AxesValues, AxisLayout } from './systems/axes2d';\nexport type { Anchor } from './kit/place';\nexport { anchored, openPlane, placeOnMap } from './kit/place';\nexport {\n castsShadow, drawMark, graphPoint, inkCentre, inkSize, markRuns, markShape, ownPoint, reading, strokeShape, traced,\n} from './kit/mark';\nexport type { MarkOptions, MarkPaint, MarkReading, MarkState, Tracer } from './kit/mark';\nexport { curveFor, PLANE_ENTRY, PLOT, PLOT_REF, plotPlane, refId, settle, SYSTEM, SYSTEM_ENTRY, systemPlane } from './kit/graph';\nexport type { GraphPlane } from './kit/graph';\nexport { axisScale, cartesianMap, resolveInterval, PIXEL_MAP } from './kit/coords';\nexport type { AxisScale, AxisScaling, CartesianOptions, CoordinateMap, Interval } from './kit/coords';\nexport { compileExpression, compileExpressionCached, expressionVocabulary, MATH_DIALECT } from './kit/expression';\nexport type { CompiledExpression, ExpressionScope, ExpressionVocabulary } from './kit/expression';\nexport { equationError, equationParams, parseEquation, EQUATION_VARIABLES } from './kit/equation';\nexport type { Equation } from './kit/equation';\nexport { lerpDomain, lerpParams, lerpSource, readSource, revisionOf, scopeFor, UNSET_PARAM } from './kit/source';\nexport type { PlotSource } from './kit/source';\nexport { sampleCurve } from './kit/sampler';\nexport type { CurveProjection, SampleOptions } from './kit/sampler';\nexport { formatTick, ticksFor } from './kit/ticks';\nexport type { Ticks } from './kit/ticks';\nexport { boundsOfRuns, clamp, inflate, radians, runsToPath, stated } from './kit/geometry';\nexport { CURVE_KEYS, curveValue, isCurve } from './kit/curve';\nexport type { CurveValues } from './kit/curve';\nexport { along, AXIS_COLOR, declareFormulas, drawLabels, drawn, intervalEntry, lerpInterval, loadFormulas, PLOT_COLOR, readInterval, withoutTips } from './kit/furniture';\nexport type { Label, LabelStyle } from './kit/furniture';\nexport {\n add, between, container, FOLLOW_COMMANDS, FOLLOW_STATE, followedQuad, grown, heading, outlineBounds, OWN_FRAME, resting,\n} from './kit/follow';\nexport type { FollowProps, FollowValues, Parted, Quad, Retarget, Target } from './kit/follow';\nexport {\n parseSpaceCurve, parseSurface, spaceCurveError, spaceCurveParams, surfaceError, surfaceParams, EQUATION_KINDS, EQUATION_VARIABLES_3D,\n} from './kit/equation3d';\nexport type { EquationLanguage, SpaceCurveEquation, SurfaceEquation } from './kit/equation3d';\nexport { aim, graphEntry, graphOf, graphSpace, GRAPH_3D } from './three/space';\nexport type { Graph3D, GraphSpace } from './three/space';\nexport { domainEntry, meshEntries } from './three/entries';\nexport { drawLabel3D } from './three/label3d';\nexport type { LabelStyle3D } from './three/label3d';\n// A traced path is a plot whose span follows a value, so a copied one builds on these rather than a copy of them.\nexport { FunctionPlot, PLOT_COMMANDS, PLOT_STATE, PLOT_STROKE, tracePlot } from './plots/function-plot';\nexport type { FunctionPlotProps, PlotValues } from './plots/function-plot';\nexport { drawField, FIELD_COMMANDS, FIELD_STATE, traceField } from './kit/field-mark';\nexport type { FieldDrawing, FieldProps, FieldSampler, FieldStroke, FieldValues } from './kit/field-mark';\nexport { fieldError, fieldParams, parseField, FIELD_VARIABLES } from './kit/field';\nexport type { FieldEquation } from './kit/field';\nexport { traceContour } from './kit/contour';\nexport { colorAt, fillAt, lerpFillScale, lerpScale, readFillScale, readScale } from './kit/scale';\nexport {\n IDENTITY_MATRIX, isIdentityMatrix, lerpMatrix, lineThrough, readMatrix, transformedMap, warpedMap,\n} from './kit/coords';\nexport type { Matrix2, Warp } from './kit/coords';\nexport { braceOutline } from './kit/brace';\nexport { GRAPH_LAYOUTS, layOut } from './structures/graph-layout';\nexport type { GraphEdge, GraphLayout } from './structures/graph-layout';\n"]}
|
|
1
|
+
{"version":3,"file":"engine.js","sourceRoot":"","sources":["../src/engine.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EACH,UAAU,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,UAAU,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,cAAc,GACrI,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAEhD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAEnC,OAAO,EACH,WAAW,EAAE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,eAAe,EAAE,aAAa,EAAE,SAAS,EAAE,WAAW,EAAE,cAAc,EAAE,KAAK,EAAE,OAAO,EAChJ,YAAY,EAAE,OAAO,EAAE,OAAO,EAAE,gBAAgB,GACnD,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEzF,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAA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EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAClG,OAAO,EACH,eAAe,EAAE,gBAAgB,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,cAAc,EAAE,SAAS,GACpG,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC","sourcesContent":["/**\n * The math **kit**: what the nodes share, and what a copied one does not copy.\n *\n * A copy takes a node's own files into a project and rewrites its reach for\n * these to `@motionscript/math/kit`, so MathJax, the morph and every shared module\n * stay a real dependency with one identity.\n */\nexport {\n blankLatex, buildLatexPath, findLatexParts, latexPartNames, LatexError, LatexNotLoaded, loadMathJax, mathJaxLoaded, MATHJAX_LOADER,\n} from './tex/geometry';\nexport type { LatexPart, LatexToken, LatexPathResult } from './tex/geometry';\nexport { defaultLatexMorph } from './tex/tween';\nexport type { AnimatedToken, LatexMorphStrategy } from './tex/tween';\nexport { Latex } from './tex/node';\nexport type { LatexProps, LatexStrategies } from './tex/node';\nexport {\n drawFormula, formula, formulaFrame, formulaOf, isFormula, latexPartBounds, layoutFormula, lerpMorph, loadFormula, measureFormula, Morph, morphOf,\n partBoundsIn, settled, TYPESET, TYPESET_COMMANDS,\n} from './tex/typeset';\nexport type { FormulaFrame, Morphing, TypesetValues } from './tex/typeset';\nexport { lerpPartFills, partPaint, readPartFills, withPartFill } from './kit/part-fills';\nexport type { PartFill, PartFillResolved } from './kit/part-fills';\nexport { createBoundedCache } from './kit/cache';\nexport { listed, omit, PAINT, PAINT_COMMANDS, painted } from './kit/component';\nexport type { BoundedCache } from './kit/cache';\n\nexport { drawSystem, plotArea, systemLayout, systemMap, systemOpenPlane, systemProvides, systemSize } from './kit/system';\nexport type { MapFor, SystemState } from './kit/system';\n// A number plane is axes with a grid, so a copied one builds on these rather than a copy of them.\nexport { Axes2d, AXES, AXES_COMMANDS, axesFurniture, axesMap, axesOf, loadAxes } from './systems/axes2d';\nexport type { Axes2dProps, AxesValues, AxisLayout } from './systems/axes2d';\nexport type { Anchor } from './kit/place';\nexport { anchored, openPlane, placeOnMap } from './kit/place';\nexport {\n castsShadow, drawMark, graphPoint, inkCentre, inkSize, markRuns, markShape, ownPoint, reading, strokeShape, traced,\n} from './kit/mark';\nexport type { MarkOptions, MarkPaint, MarkReading, MarkState, Tracer } from './kit/mark';\nexport { curveFor, PLANE_ENTRY, PLOT, PLOT_REF, plotPlane, refId, settle, SYSTEM, SYSTEM_ENTRY, systemPlane } from './kit/graph';\nexport type { GraphPlane } from './kit/graph';\nexport { axisScale, cartesianMap, resolveInterval, PIXEL_MAP } from './kit/coords';\nexport type { AxisScale, AxisScaling, CartesianOptions, CoordinateMap, Interval } from './kit/coords';\nexport { compileExpression, compileExpressionCached, expressionVocabulary, MATH_DIALECT } from './kit/expression';\nexport type { CompiledExpression, ExpressionScope, ExpressionVocabulary } from './kit/expression';\nexport { equationError, equationParams, parseEquation, EQUATION_VARIABLES } from './kit/equation';\nexport type { Equation } from './kit/equation';\nexport { lerpDomain, lerpParams, lerpSource, readSource, revisionOf, scopeFor, UNSET_PARAM } from './kit/source';\nexport type { PlotSource } from './kit/source';\nexport { sampleCurve } from './kit/sampler';\nexport type { CurveProjection, SampleOptions } from './kit/sampler';\nexport { formatTick, ticksFor } from './kit/ticks';\nexport type { Ticks } from './kit/ticks';\nexport { boundsOfRuns, clamp, inflate, radians, runsToPath, stated } from './kit/geometry';\nexport { CURVE_KEYS, curveValue, isCurve } from './kit/curve';\nexport type { CurveValues } from './kit/curve';\nexport { along, AXIS_COLOR, declareFormulas, drawLabels, drawn, intervalEntry, lerpInterval, loadFormulas, PLOT_COLOR, readInterval, withoutTips } from './kit/furniture';\nexport type { Label, LabelStyle } from './kit/furniture';\nexport {\n add, between, container, FOLLOW_COMMANDS, FOLLOW_STATE, followedQuad, grown, heading, outlineBounds, OWN_FRAME, resting,\n} from './kit/follow';\nexport type { FollowProps, FollowValues, Parted, Quad, Retarget, Target } from './kit/follow';\nexport {\n parseSpaceCurve, parseSurface, spaceCurveError, spaceCurveParams, surfaceError, surfaceParams, EQUATION_KINDS, EQUATION_VARIABLES_3D,\n} from './kit/equation3d';\nexport type { EquationLanguage, SpaceCurveEquation, SurfaceEquation } from './kit/equation3d';\nexport { aim, graphEntry, graphOf, graphSpace, GRAPH_3D } from './three/space';\nexport type { Graph3D, GraphSpace } from './three/space';\nexport { domainEntry, meshEntries } from './three/entries';\nexport { drawLabel3D } from './three/label3d';\nexport type { LabelStyle3D } from './three/label3d';\n// A traced path is a plot whose span follows a value, so a copied one builds on these rather than a copy of them.\nexport { FunctionPlot, PLOT_COMMANDS, PLOT_STATE, PLOT_STROKE, tracePlot } from './plots/function-plot';\nexport type { FunctionPlotProps, PlotValues } from './plots/function-plot';\nexport { drawField, FIELD_COMMANDS, FIELD_STATE, traceField } from './kit/field-mark';\nexport type { FieldDrawing, FieldProps, FieldSampler, FieldStroke, FieldValues } from './kit/field-mark';\nexport { fieldError, fieldParams, parseField, FIELD_VARIABLES } from './kit/field';\nexport type { FieldEquation } from './kit/field';\nexport { traceContour } from './kit/contour';\nexport { colorAt, fillAt, lerpFillScale, lerpScale, readFillScale, readScale } from './kit/scale';\nexport {\n IDENTITY_MATRIX, isIdentityMatrix, lerpMatrix, lineThrough, readMatrix, transformedMap, warpedMap,\n} from './kit/coords';\nexport type { Matrix2, Warp } from './kit/coords';\nexport { braceOutline } from './kit/brace';\nexport { GRAPH_LAYOUTS, layOut } from './structures/graph-layout';\nexport type { GraphEdge, GraphLayout } from './structures/graph-layout';\n"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
1
|
+
export { Latex } from './tex/node.js';
|
|
2
|
+
export { LatexMatrix } from './tex/matrix.js';
|
|
3
|
+
export { loadMathJax } from './tex/geometry.js';
|
|
4
|
+
export { NumberLine } from './systems/number-line.js';
|
|
5
|
+
export { Axes2d } from './systems/axes2d.js';
|
|
6
|
+
export { NumberPlane } from './systems/number-plane.js';
|
|
7
|
+
export { PolarPlane } from './systems/polar-plane.js';
|
|
8
|
+
export { FunctionPlot } from './plots/function-plot.js';
|
|
9
|
+
export { PointsPlot } from './plots/points-plot.js';
|
|
10
|
+
export { VectorField } from './plots/vector-field.js';
|
|
11
|
+
export { StreamLines } from './plots/stream-lines.js';
|
|
12
|
+
export { TracedPath } from './plots/traced-path.js';
|
|
13
|
+
export { PlotPoint } from './marks/plot-point.js';
|
|
14
|
+
export { VectorArrow } from './marks/vector-arrow.js';
|
|
15
|
+
export { CurveArea } from './marks/curve-area.js';
|
|
16
|
+
export { RiemannSum } from './marks/riemann-sum.js';
|
|
17
|
+
export { TangentLine } from './marks/tangent-line.js';
|
|
18
|
+
export { DropLines } from './marks/drop-lines.js';
|
|
19
|
+
export { CurlyBrace } from './annotate/curly-brace.js';
|
|
20
|
+
export { AngleMark } from './annotate/angle-mark.js';
|
|
21
|
+
export { EmphasisMark } from './annotate/emphasis-mark.js';
|
|
22
|
+
export { Axes3d } from './three/axes3d.js';
|
|
23
|
+
export { SurfacePlot3d } from './three/surface-plot3d.js';
|
|
24
|
+
export { CurvePlot3d } from './three/curve-plot3d.js';
|
|
25
|
+
export { PlotPoint3d } from './three/plot-point3d.js';
|
|
26
|
+
export { VectorArrow3d } from './three/vector-arrow3d.js';
|
|
27
|
+
export { NetworkGraph } from './structures/network-graph.js';
|
|
28
|
+
export { SampleSpace } from './structures/sample-space.js';
|
|
29
29
|
export { NODES } from "./nodes.js";
|
|
30
30
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,30 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
1
|
+
// The public surface, named one by one; everything else is `./kit` (`unstable.ts`).
|
|
2
|
+
export { Latex } from './tex/node.js';
|
|
3
|
+
export { LatexMatrix } from './tex/matrix.js';
|
|
4
|
+
export { loadMathJax } from './tex/geometry.js';
|
|
5
|
+
export { NumberLine } from './systems/number-line.js';
|
|
6
|
+
export { Axes2d } from './systems/axes2d.js';
|
|
7
|
+
export { NumberPlane } from './systems/number-plane.js';
|
|
8
|
+
export { PolarPlane } from './systems/polar-plane.js';
|
|
9
|
+
export { FunctionPlot } from './plots/function-plot.js';
|
|
10
|
+
export { PointsPlot } from './plots/points-plot.js';
|
|
11
|
+
export { VectorField } from './plots/vector-field.js';
|
|
12
|
+
export { StreamLines } from './plots/stream-lines.js';
|
|
13
|
+
export { TracedPath } from './plots/traced-path.js';
|
|
14
|
+
export { PlotPoint } from './marks/plot-point.js';
|
|
15
|
+
export { VectorArrow } from './marks/vector-arrow.js';
|
|
16
|
+
export { CurveArea } from './marks/curve-area.js';
|
|
17
|
+
export { RiemannSum } from './marks/riemann-sum.js';
|
|
18
|
+
export { TangentLine } from './marks/tangent-line.js';
|
|
19
|
+
export { DropLines } from './marks/drop-lines.js';
|
|
20
|
+
export { CurlyBrace } from './annotate/curly-brace.js';
|
|
21
|
+
export { AngleMark } from './annotate/angle-mark.js';
|
|
22
|
+
export { EmphasisMark } from './annotate/emphasis-mark.js';
|
|
23
|
+
export { Axes3d } from './three/axes3d.js';
|
|
24
|
+
export { SurfacePlot3d } from './three/surface-plot3d.js';
|
|
25
|
+
export { CurvePlot3d } from './three/curve-plot3d.js';
|
|
26
|
+
export { PlotPoint3d } from './three/plot-point3d.js';
|
|
27
|
+
export { VectorArrow3d } from './three/vector-arrow3d.js';
|
|
28
|
+
export { NetworkGraph } from './structures/network-graph.js';
|
|
29
|
+
export { SampleSpace } from './structures/sample-space.js';
|
|
29
30
|
export { NODES } from "./nodes.js";
|
|
30
31
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,OAAO,EAAE,KAAK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AsB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC","sourcesContent":["// The public surface, named one by one; everything else is `./kit` (`unstable.ts`).\nexport { Latex } from './tex/node';\nexport { LatexMatrix } from './tex/matrix';\nexport { loadMathJax } from './tex/geometry';\nexport { NumberLine } from './systems/number-line';\nexport { Axes2d } from './systems/axes2d';\nexport { NumberPlane } from './systems/number-plane';\nexport { PolarPlane } from './systems/polar-plane';\nexport { FunctionPlot } from './plots/function-plot';\nexport { PointsPlot } from './plots/points-plot';\nexport { VectorField } from './plots/vector-field';\nexport { StreamLines } from './plots/stream-lines';\nexport { TracedPath } from './plots/traced-path';\nexport { PlotPoint } from './marks/plot-point';\nexport { VectorArrow } from './marks/vector-arrow';\nexport { CurveArea } from './marks/curve-area';\nexport { RiemannSum } from './marks/riemann-sum';\nexport { TangentLine } from './marks/tangent-line';\nexport { DropLines } from './marks/drop-lines';\nexport { CurlyBrace } from './annotate/curly-brace';\nexport { AngleMark } from './annotate/angle-mark';\nexport { EmphasisMark } from './annotate/emphasis-mark';\nexport { Axes3d } from './three/axes3d';\nexport { SurfacePlot3d } from './three/surface-plot3d';\nexport { CurvePlot3d } from './three/curve-plot3d';\nexport { PlotPoint3d } from './three/plot-point3d';\nexport { VectorArrow3d } from './three/vector-arrow3d';\nexport { NetworkGraph } from './structures/network-graph';\nexport { SampleSpace } from './structures/sample-space';\nexport { NODES } from \"./nodes\";\n"]}
|
|
@@ -7,7 +7,7 @@ export declare const CurveArea: import("@motionscript/sdk").Component<"curveArea
|
|
|
7
7
|
/** A second plot to fill down to, in place of the x axis. */
|
|
8
8
|
under: import("@motionscript/sdk").Type<string, NodeView<import("@motionscript/sdk").Element<string, unknown, unknown>> | null, false>;
|
|
9
9
|
domain: import("@motionscript/sdk").Type<Interval, Interval, false>;
|
|
10
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
10
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
11
11
|
fill: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
|
|
12
12
|
shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
|
|
13
13
|
}>, {
|
|
@@ -20,7 +20,7 @@ export declare const CurveArea: import("@motionscript/sdk").Component<"curveArea
|
|
|
20
20
|
/** A second plot to fill down to, in place of the x axis. */
|
|
21
21
|
under: import("@motionscript/sdk").Type<string, NodeView<import("@motionscript/sdk").Element<string, unknown, unknown>> | null, false>;
|
|
22
22
|
domain: import("@motionscript/sdk").Type<Interval, Interval, false>;
|
|
23
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
23
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
24
24
|
fill: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
|
|
25
25
|
shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
|
|
26
26
|
}>, null, import("@motionscript/sdk").BuiltNode<import("@motionscript/sdk").Merge<import("@motionscript/sdk").Box2DState, {
|
|
@@ -29,7 +29,7 @@ export declare const CurveArea: import("@motionscript/sdk").Component<"curveArea
|
|
|
29
29
|
/** A second plot to fill down to, in place of the x axis. */
|
|
30
30
|
under: import("@motionscript/sdk").Type<string, NodeView<import("@motionscript/sdk").Element<string, unknown, unknown>> | null, false>;
|
|
31
31
|
domain: import("@motionscript/sdk").Type<Interval, Interval, false>;
|
|
32
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
32
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
33
33
|
fill: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
|
|
34
34
|
shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
|
|
35
35
|
}>, {
|
|
@@ -9,7 +9,7 @@ export declare const DropLines: import("@motionscript/sdk").Component<"dropLines
|
|
|
9
9
|
on: import("@motionscript/sdk").Type<string, NodeView<import("@motionscript/sdk").Element<string, unknown, unknown>> | null, false>;
|
|
10
10
|
/** Which axis to drop to: `x` draws the vertical line, `y` the horizontal one. */
|
|
11
11
|
axis: import("@motionscript/sdk").Type<"x" | "y" | "both", "x" | "y" | "both", false>;
|
|
12
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
12
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
13
13
|
start: import("@motionscript/sdk").Type<number, number, false>;
|
|
14
14
|
end: import("@motionscript/sdk").Type<number, number, false>;
|
|
15
15
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
@@ -26,7 +26,7 @@ export declare const DropLines: import("@motionscript/sdk").Component<"dropLines
|
|
|
26
26
|
on: import("@motionscript/sdk").Type<string, NodeView<import("@motionscript/sdk").Element<string, unknown, unknown>> | null, false>;
|
|
27
27
|
/** Which axis to drop to: `x` draws the vertical line, `y` the horizontal one. */
|
|
28
28
|
axis: import("@motionscript/sdk").Type<"x" | "y" | "both", "x" | "y" | "both", false>;
|
|
29
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
29
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
30
30
|
start: import("@motionscript/sdk").Type<number, number, false>;
|
|
31
31
|
end: import("@motionscript/sdk").Type<number, number, false>;
|
|
32
32
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
@@ -36,7 +36,7 @@ export declare const DropLines: import("@motionscript/sdk").Component<"dropLines
|
|
|
36
36
|
on: import("@motionscript/sdk").Type<string, NodeView<import("@motionscript/sdk").Element<string, unknown, unknown>> | null, false>;
|
|
37
37
|
/** Which axis to drop to: `x` draws the vertical line, `y` the horizontal one. */
|
|
38
38
|
axis: import("@motionscript/sdk").Type<"x" | "y" | "both", "x" | "y" | "both", false>;
|
|
39
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
39
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
40
40
|
start: import("@motionscript/sdk").Type<number, number, false>;
|
|
41
41
|
end: import("@motionscript/sdk").Type<number, number, false>;
|
|
42
42
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
@@ -9,7 +9,7 @@ export declare const RiemannSum: import("@motionscript/sdk").Component<"riemannS
|
|
|
9
9
|
dx: import("@motionscript/sdk").Type<number, number, false>;
|
|
10
10
|
/** Where in its width a rectangle reads the curve's height. */
|
|
11
11
|
sample: import("@motionscript/sdk").Type<"center" | "right" | "left", "center" | "right" | "left", false>;
|
|
12
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
12
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
13
13
|
fill: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
|
|
14
14
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
15
15
|
shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
|
|
@@ -26,7 +26,7 @@ export declare const RiemannSum: import("@motionscript/sdk").Component<"riemannS
|
|
|
26
26
|
dx: import("@motionscript/sdk").Type<number, number, false>;
|
|
27
27
|
/** Where in its width a rectangle reads the curve's height. */
|
|
28
28
|
sample: import("@motionscript/sdk").Type<"center" | "right" | "left", "center" | "right" | "left", false>;
|
|
29
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
29
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
30
30
|
fill: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
|
|
31
31
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
32
32
|
shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
|
|
@@ -37,7 +37,7 @@ export declare const RiemannSum: import("@motionscript/sdk").Component<"riemannS
|
|
|
37
37
|
dx: import("@motionscript/sdk").Type<number, number, false>;
|
|
38
38
|
/** Where in its width a rectangle reads the curve's height. */
|
|
39
39
|
sample: import("@motionscript/sdk").Type<"center" | "right" | "left", "center" | "right" | "left", false>;
|
|
40
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
40
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
41
41
|
fill: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
|
|
42
42
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
43
43
|
shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
|
|
@@ -7,7 +7,7 @@ export declare const TangentLine: import("@motionscript/sdk").Component<"tangent
|
|
|
7
7
|
/** The second point's distance along x; zero is the tangent itself. */
|
|
8
8
|
dx: import("@motionscript/sdk").Type<number, number, false>;
|
|
9
9
|
legs: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
10
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
10
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
11
11
|
/** The slope drawn, in graph units: the curve's at `x`, or the secant's when there is a `dx`. A formula reads it back as `[key.slope]`. */
|
|
12
12
|
slope: import("@motionscript/sdk").Type<number, number, true>;
|
|
13
13
|
start: import("@motionscript/sdk").Type<number, number, false>;
|
|
@@ -27,7 +27,7 @@ export declare const TangentLine: import("@motionscript/sdk").Component<"tangent
|
|
|
27
27
|
/** The second point's distance along x; zero is the tangent itself. */
|
|
28
28
|
dx: import("@motionscript/sdk").Type<number, number, false>;
|
|
29
29
|
legs: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
30
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
30
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
31
31
|
/** The slope drawn, in graph units: the curve's at `x`, or the secant's when there is a `dx`. A formula reads it back as `[key.slope]`. */
|
|
32
32
|
slope: import("@motionscript/sdk").Type<number, number, true>;
|
|
33
33
|
start: import("@motionscript/sdk").Type<number, number, false>;
|
|
@@ -40,7 +40,7 @@ export declare const TangentLine: import("@motionscript/sdk").Component<"tangent
|
|
|
40
40
|
/** The second point's distance along x; zero is the tangent itself. */
|
|
41
41
|
dx: import("@motionscript/sdk").Type<number, number, false>;
|
|
42
42
|
legs: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
43
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
43
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
44
44
|
/** The slope drawn, in graph units: the curve's at `x`, or the secant's when there is a `dx`. A formula reads it back as `[key.slope]`. */
|
|
45
45
|
slope: import("@motionscript/sdk").Type<number, number, true>;
|
|
46
46
|
start: import("@motionscript/sdk").Type<number, number, false>;
|
|
@@ -5,7 +5,7 @@ export declare const VectorArrow: import("@motionscript/sdk").Component<"vectorA
|
|
|
5
5
|
head: import("@motionscript/sdk").Type<Vector2, Vector2, false>;
|
|
6
6
|
/** The arc the arrow sweeps, in degrees: zero is straight, positive bows to its left. */
|
|
7
7
|
bend: import("@motionscript/sdk").Type<number, number, false>;
|
|
8
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
8
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
9
9
|
start: import("@motionscript/sdk").Type<number, number, false>;
|
|
10
10
|
end: import("@motionscript/sdk").Type<number, number, false>;
|
|
11
11
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
@@ -23,7 +23,7 @@ export declare const VectorArrow: import("@motionscript/sdk").Component<"vectorA
|
|
|
23
23
|
head: import("@motionscript/sdk").Type<Vector2, Vector2, false>;
|
|
24
24
|
/** The arc the arrow sweeps, in degrees: zero is straight, positive bows to its left. */
|
|
25
25
|
bend: import("@motionscript/sdk").Type<number, number, false>;
|
|
26
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
26
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
27
27
|
start: import("@motionscript/sdk").Type<number, number, false>;
|
|
28
28
|
end: import("@motionscript/sdk").Type<number, number, false>;
|
|
29
29
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
@@ -33,7 +33,7 @@ export declare const VectorArrow: import("@motionscript/sdk").Component<"vectorA
|
|
|
33
33
|
head: import("@motionscript/sdk").Type<Vector2, Vector2, false>;
|
|
34
34
|
/** The arc the arrow sweeps, in degrees: zero is straight, positive bows to its left. */
|
|
35
35
|
bend: import("@motionscript/sdk").Type<number, number, false>;
|
|
36
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
36
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
37
37
|
start: import("@motionscript/sdk").Type<number, number, false>;
|
|
38
38
|
end: import("@motionscript/sdk").Type<number, number, false>;
|
|
39
39
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
@@ -22,7 +22,7 @@ export declare const PLOT_STATE: {
|
|
|
22
22
|
* to a variable.
|
|
23
23
|
*/
|
|
24
24
|
params: import("@motionscript/sdk").Type<Readonly<Record<string, number>>, Readonly<Record<string, number>>, false>;
|
|
25
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
25
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
26
26
|
start: import("@motionscript/sdk").Type<number, number, false>;
|
|
27
27
|
end: import("@motionscript/sdk").Type<number, number, false>;
|
|
28
28
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
@@ -86,7 +86,7 @@ export declare const FunctionPlot: import("@motionscript/sdk").Component<"functi
|
|
|
86
86
|
* to a variable.
|
|
87
87
|
*/
|
|
88
88
|
params: import("@motionscript/sdk").Type<Readonly<Record<string, number>>, Readonly<Record<string, number>>, false>;
|
|
89
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
89
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
90
90
|
start: import("@motionscript/sdk").Type<number, number, false>;
|
|
91
91
|
end: import("@motionscript/sdk").Type<number, number, false>;
|
|
92
92
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
@@ -114,7 +114,7 @@ export declare const FunctionPlot: import("@motionscript/sdk").Component<"functi
|
|
|
114
114
|
* to a variable.
|
|
115
115
|
*/
|
|
116
116
|
params: import("@motionscript/sdk").Type<Readonly<Record<string, number>>, Readonly<Record<string, number>>, false>;
|
|
117
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
117
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
118
118
|
start: import("@motionscript/sdk").Type<number, number, false>;
|
|
119
119
|
end: import("@motionscript/sdk").Type<number, number, false>;
|
|
120
120
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
@@ -132,7 +132,7 @@ export declare const FunctionPlot: import("@motionscript/sdk").Component<"functi
|
|
|
132
132
|
* to a variable.
|
|
133
133
|
*/
|
|
134
134
|
params: import("@motionscript/sdk").Type<Readonly<Record<string, number>>, Readonly<Record<string, number>>, false>;
|
|
135
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
135
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
136
136
|
start: import("@motionscript/sdk").Type<number, number, false>;
|
|
137
137
|
end: import("@motionscript/sdk").Type<number, number, false>;
|
|
138
138
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
@@ -6,7 +6,7 @@ export declare const PointsPlot: import("@motionscript/sdk").Component<"pointsPl
|
|
|
6
6
|
closed: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
7
7
|
/** Curve through the points instead of turning a corner at each. */
|
|
8
8
|
smooth: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
9
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
9
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
10
10
|
fill: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
|
|
11
11
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
12
12
|
shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
|
|
@@ -27,7 +27,7 @@ export declare const PointsPlot: import("@motionscript/sdk").Component<"pointsPl
|
|
|
27
27
|
closed: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
28
28
|
/** Curve through the points instead of turning a corner at each. */
|
|
29
29
|
smooth: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
30
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
30
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
31
31
|
fill: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
|
|
32
32
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
33
33
|
shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
|
|
@@ -39,7 +39,7 @@ export declare const PointsPlot: import("@motionscript/sdk").Component<"pointsPl
|
|
|
39
39
|
closed: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
40
40
|
/** Curve through the points instead of turning a corner at each. */
|
|
41
41
|
smooth: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
42
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
42
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
43
43
|
fill: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
|
|
44
44
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
45
45
|
shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
|
|
@@ -13,11 +13,11 @@ export declare const StreamLines: import("@motionscript/sdk").Component<"streamL
|
|
|
13
13
|
window: import("@motionscript/sdk").Type<number, number, false>;
|
|
14
14
|
/** Where along its line each shown stretch is: one turn of it runs every line from end to end. */
|
|
15
15
|
phase: import("@motionscript/sdk").Type<number, number, false>;
|
|
16
|
-
expression: import("@motionscript/sdk").Type<string | import("../
|
|
16
|
+
expression: import("@motionscript/sdk").Type<string | import("../engine.js").PlotSource, import("../engine.js").PlotSource, false>;
|
|
17
17
|
params: import("@motionscript/sdk").Type<Readonly<Record<string, number>>, Readonly<Record<string, number>>, false>;
|
|
18
18
|
strengthFills: import("@motionscript/sdk").Type<_Fill[], _FillResolved[][], false>;
|
|
19
19
|
maxMagnitude: import("@motionscript/sdk").Type<number, number, false>;
|
|
20
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
20
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
21
21
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
22
22
|
shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
|
|
23
23
|
}>, {
|
|
@@ -35,11 +35,11 @@ export declare const StreamLines: import("@motionscript/sdk").Component<"streamL
|
|
|
35
35
|
window: import("@motionscript/sdk").Type<number, number, false>;
|
|
36
36
|
/** Where along its line each shown stretch is: one turn of it runs every line from end to end. */
|
|
37
37
|
phase: import("@motionscript/sdk").Type<number, number, false>;
|
|
38
|
-
expression: import("@motionscript/sdk").Type<string | import("../
|
|
38
|
+
expression: import("@motionscript/sdk").Type<string | import("../engine.js").PlotSource, import("../engine.js").PlotSource, false>;
|
|
39
39
|
params: import("@motionscript/sdk").Type<Readonly<Record<string, number>>, Readonly<Record<string, number>>, false>;
|
|
40
40
|
strengthFills: import("@motionscript/sdk").Type<_Fill[], _FillResolved[][], false>;
|
|
41
41
|
maxMagnitude: import("@motionscript/sdk").Type<number, number, false>;
|
|
42
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
42
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
43
43
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
44
44
|
shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
|
|
45
45
|
}>, null, import("@motionscript/sdk").BuiltNode<import("@motionscript/sdk").Merge<import("@motionscript/sdk").Box2DState, {
|
|
@@ -51,11 +51,11 @@ export declare const StreamLines: import("@motionscript/sdk").Component<"streamL
|
|
|
51
51
|
window: import("@motionscript/sdk").Type<number, number, false>;
|
|
52
52
|
/** Where along its line each shown stretch is: one turn of it runs every line from end to end. */
|
|
53
53
|
phase: import("@motionscript/sdk").Type<number, number, false>;
|
|
54
|
-
expression: import("@motionscript/sdk").Type<string | import("../
|
|
54
|
+
expression: import("@motionscript/sdk").Type<string | import("../engine.js").PlotSource, import("../engine.js").PlotSource, false>;
|
|
55
55
|
params: import("@motionscript/sdk").Type<Readonly<Record<string, number>>, Readonly<Record<string, number>>, false>;
|
|
56
56
|
strengthFills: import("@motionscript/sdk").Type<_Fill[], _FillResolved[][], false>;
|
|
57
57
|
maxMagnitude: import("@motionscript/sdk").Type<number, number, false>;
|
|
58
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
58
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
59
59
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
60
60
|
shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
|
|
61
61
|
}>, {
|
|
@@ -11,9 +11,9 @@ export declare const TracedPath: import("@motionscript/sdk").Component<"tracedPa
|
|
|
11
11
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
12
12
|
shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
|
|
13
13
|
params: import("@motionscript/sdk").Type<Readonly<Record<string, number>>, Readonly<Record<string, number>>, false>;
|
|
14
|
-
expression: import("@motionscript/sdk").Type<string | import("../
|
|
14
|
+
expression: import("@motionscript/sdk").Type<string | import("../engine.js").PlotSource, import("../engine.js").PlotSource, false>;
|
|
15
15
|
domain: import("@motionscript/sdk").Type<Interval | null, Interval | null, false>;
|
|
16
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
16
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
17
17
|
}>, {
|
|
18
18
|
readonly traceTo: readonly ["value"];
|
|
19
19
|
readonly strokeTo: readonly ["stroke"];
|
|
@@ -31,9 +31,9 @@ export declare const TracedPath: import("@motionscript/sdk").Component<"tracedPa
|
|
|
31
31
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
32
32
|
shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
|
|
33
33
|
params: import("@motionscript/sdk").Type<Readonly<Record<string, number>>, Readonly<Record<string, number>>, false>;
|
|
34
|
-
expression: import("@motionscript/sdk").Type<string | import("../
|
|
34
|
+
expression: import("@motionscript/sdk").Type<string | import("../engine.js").PlotSource, import("../engine.js").PlotSource, false>;
|
|
35
35
|
domain: import("@motionscript/sdk").Type<Interval | null, Interval | null, false>;
|
|
36
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
36
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
37
37
|
}>, null, import("@motionscript/sdk").BuiltNode<import("@motionscript/sdk").Merge<import("@motionscript/sdk").Box2DState, {
|
|
38
38
|
/** The value the trail starts at. */
|
|
39
39
|
from: import("@motionscript/sdk").Type<number, number, false>;
|
|
@@ -44,9 +44,9 @@ export declare const TracedPath: import("@motionscript/sdk").Component<"tracedPa
|
|
|
44
44
|
stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
45
45
|
shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
|
|
46
46
|
params: import("@motionscript/sdk").Type<Readonly<Record<string, number>>, Readonly<Record<string, number>>, false>;
|
|
47
|
-
expression: import("@motionscript/sdk").Type<string | import("../
|
|
47
|
+
expression: import("@motionscript/sdk").Type<string | import("../engine.js").PlotSource, import("../engine.js").PlotSource, false>;
|
|
48
48
|
domain: import("@motionscript/sdk").Type<Interval | null, Interval | null, false>;
|
|
49
|
-
graph: import("@motionscript/sdk").Type<import("../
|
|
49
|
+
graph: import("@motionscript/sdk").Type<import("../engine.js").GraphPlane | null, import("../engine.js").GraphPlane | null, true>;
|
|
50
50
|
}>, {
|
|
51
51
|
readonly traceTo: readonly ["value"];
|
|
52
52
|
readonly strokeTo: readonly ["stroke"];
|