@motionscript/math 0.2.0 → 0.4.0-alpha.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.
Files changed (53) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +3 -2
  3. package/dist/annotate/curly-brace.d.ts +3 -3
  4. package/dist/annotate/emphasis-mark.d.ts +3 -3
  5. package/dist/browser/chunks/chunk-347RSDIW.js +2 -0
  6. package/dist/browser/chunks/chunk-347RSDIW.js.map +7 -0
  7. package/dist/browser/chunks/chunk-BIUAHFF7.js +2 -0
  8. package/dist/browser/chunks/chunk-BIUAHFF7.js.map +7 -0
  9. package/dist/browser/index.js +1 -1
  10. package/dist/browser/index.js.map +4 -4
  11. package/dist/browser/kit.js +1 -1
  12. package/dist/browser/manifest.json +2 -1
  13. package/dist/browser/v1.js +2 -0
  14. package/dist/browser/v1.js.map +7 -0
  15. package/dist/engine.d.ts +1 -1
  16. package/dist/engine.js +1 -1
  17. package/dist/engine.js.map +1 -1
  18. package/dist/index.d.ts +28 -28
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +29 -28
  21. package/dist/index.js.map +1 -1
  22. package/dist/marks/curve-area.d.ts +3 -3
  23. package/dist/marks/drop-lines.d.ts +3 -3
  24. package/dist/marks/riemann-sum.d.ts +3 -3
  25. package/dist/marks/tangent-line.d.ts +3 -3
  26. package/dist/marks/vector-arrow.d.ts +3 -3
  27. package/dist/plots/function-plot.d.ts +4 -4
  28. package/dist/plots/points-plot.d.ts +3 -3
  29. package/dist/plots/stream-lines.d.ts +6 -6
  30. package/dist/plots/traced-path.d.ts +6 -6
  31. package/dist/plots/vector-field.d.ts +6 -6
  32. package/dist/systems/number-line.d.ts +3 -3
  33. package/dist/systems/number-plane.d.ts +6 -6
  34. package/dist/tex/matrix.d.ts +3 -3
  35. package/dist/tex/node.d.ts +3 -3
  36. package/dist/three/curve-plot3d.d.ts +3 -3
  37. package/dist/three/surface-plot3d.d.ts +8 -8
  38. package/dist/unstable.d.ts +29 -0
  39. package/dist/unstable.d.ts.map +1 -0
  40. package/dist/unstable.js +31 -0
  41. package/dist/unstable.js.map +1 -0
  42. package/dist/v1.d.ts +2 -0
  43. package/dist/v1.d.ts.map +1 -0
  44. package/dist/v1.js +3 -0
  45. package/dist/v1.js.map +1 -0
  46. package/package.json +10 -6
  47. package/registry.json +1 -1
  48. package/src/engine.ts +1 -1
  49. package/src/index.ts +29 -28
  50. package/src/unstable.ts +30 -0
  51. package/src/v1.ts +2 -0
  52. package/dist/browser/chunks/chunk-FZ2YBTPL.js +0 -2
  53. package/dist/browser/chunks/chunk-FZ2YBTPL.js.map +0 -7
@@ -1,2 +1,2 @@
1
- import{$ as Ka,$a as Kb,A as ja,Aa as jb,Ab as jc,B as ka,Ba as kb,Bb as kc,C as la,Ca as lb,Cb as lc,D as ma,Da as mb,E as na,Ea as nb,F as oa,Fa as ob,G as pa,Ga as pb,H as qa,Ha as qb,I as ra,Ia as rb,J as sa,Ja as sb,K as ta,Ka as tb,L as ua,La as ub,M as va,Ma as vb,N as wa,Na as wb,O as xa,Oa as xb,P as ya,Pa as yb,Q as za,Qa as zb,R as Aa,Ra as Ab,S as Ba,Sa as Bb,T as Ca,Ta as Cb,U as Da,Ua as Db,V as Ea,Va as Eb,W as Fa,Wa as Fb,X as Ga,Xa as Gb,Y as Ha,Ya as Hb,Z as Ia,Za as Ib,_ as Ja,_a as Jb,a as L,aa as La,ab as Lb,b as M,ba as Ma,bb as Mb,c as N,ca as Na,cb as Nb,d as O,da as Oa,db as Ob,e as P,ea as Pa,eb as Pb,f as Q,fa as Qa,fb as Qb,g as R,ga as Ra,gb as Rb,h as S,ha as Sa,hb as Sb,i as T,ia as Ta,ib as Tb,j as U,ja as Ua,jb as Ub,k as V,ka as Va,kb as Vb,l as W,la as Wa,lb as Wb,m as X,ma as Xa,mb as Xb,n as Y,na as Ya,nb as Yb,o as Z,oa as Za,ob as Zb,p as _,pa as _a,pb as _b,q as $,qa as $a,qb as $b,r as aa,ra as ab,rb as ac,s as ba,sa as bb,sb as bc,t as ca,ta as cb,tb as cc,u as da,ua as db,ub as dc,v as ea,va as eb,vb as ec,w as fa,wa as fb,wb as fc,x as ga,xa as gb,xb as gc,y as ha,ya as hb,yb as hc,z as ia,za as ib,zb as ic}from"./chunks/chunk-FZ2YBTPL.js";import{A as y,B as z,C as A,D as B,E as C,F as D,G as E,H as F,I as G,J as H,K as I,L as J,M as K,a,d as b,e as c,f as d,g as e,h as f,i as g,j as h,k as i,l as j,m as k,n as l,o as m,p as n,q as o,r as p,s as q,t as r,u as s,v as t,w as u,x as v,y as w,z as x}from"./chunks/chunk-T42HWKBC.js";export{ib as AXES,jb as AXES_COMMANDS,W as AXIS_COLOR,ob as Axes2d,ua as CURVE_KEYS,Zb as EQUATION_KINDS,ja as EQUATION_VARIABLES,Sb as EQUATION_VARIABLES_3D,hc as FIELD_COMMANDS,gc as FIELD_STATE,pb as FIELD_VARIABLES,Bb as FOLLOW_COMMANDS,Ab as FOLLOW_STATE,yb as FunctionPlot,Ob as GRAPH_3D,kc as GRAPH_LAYOUTS,P as IDENTITY_MATRIX,K as Latex,g as LatexError,f as LatexNotLoaded,b as MATHJAX_LOADER,fa as MATH_DIALECT,u as Morph,Gb as OWN_FRAME,l as PAINT,m as PAINT_COMMANDS,O as PIXEL_MAP,Aa as PLANE_ENTRY,ya as PLOT,X as PLOT_COLOR,wb as PLOT_COMMANDS,Ba as PLOT_REF,vb as PLOT_STATE,xb as PLOT_STROKE,xa as SYSTEM,za as SYSTEM_ENTRY,y as TYPESET,z as TYPESET_COMMANDS,qa as UNSET_PARAM,Hb as add,Rb as aim,ba as along,Ya as anchored,nb as axesFurniture,lb as axesMap,mb as axesOf,M as axisScale,Ib as between,e as blankLatex,Ia as boundsOfRuns,Lb as braceOutline,h as buildLatexPath,N as cartesianMap,Xa as castsShadow,La as clamp,ac as colorAt,ha as compileExpression,ia as compileExpressionCached,Cb as container,a as createBoundedCache,Fa as curveFor,va as curveValue,Z as declareFormulas,k as defaultLatexMorph,fc as domainEntry,jc as drawField,E as drawFormula,Mb as drawLabel3D,$ as drawLabels,Va as drawMark,fb as drawSystem,aa as drawn,la as equationError,ma as equationParams,ga as expressionVocabulary,sb as fieldError,qb as fieldParams,dc as fillAt,j as findLatexParts,Eb as followedQuad,hb as formatTick,G as formula,A as formulaFrame,I as formulaOf,Pb as graphEntry,Qb as graphOf,Ta as graphPoint,Nb as graphSpace,Kb as grown,Jb as heading,Ja as inflate,Ra as inkCentre,Qa as inkSize,da as intervalEntry,wa as isCurve,H as isFormula,S as isIdentityMatrix,J as latexPartBounds,i as latexPartNames,lc as layOut,C as layoutFormula,pa as lerpDomain,cc as lerpFillScale,ca as lerpInterval,R as lerpMatrix,w as lerpMorph,ra as lerpParams,r as lerpPartFills,$b as lerpScale,oa as lerpSource,V as lineThrough,n as listed,kb as loadAxes,D as loadFormula,_ as loadFormulas,c as loadMathJax,Oa as markRuns,Ua as markShape,d as mathJaxLoaded,B as measureFormula,ec as meshEntries,x as morphOf,o as omit,_a as openPlane,Fb as outlineBounds,Sa as ownPoint,p as painted,ka as parseEquation,rb as parseField,Wb as parseSpaceCurve,Vb as parseSurface,F as partBoundsIn,t as partPaint,Za as placeOnMap,$a as plotArea,Ea as plotPlane,Ka as radians,bc as readFillScale,ea as readInterval,Q as readMatrix,q as readPartFills,_b as readScale,na as readSource,Pa as reading,Ga as refId,L as resolveInterval,Db as resting,ta as revisionOf,Ha as runsToPath,ub as sampleCurve,sa as scopeFor,Da as settle,v as settled,Yb as spaceCurveError,Ub as spaceCurveParams,Ma as stated,Wa as strokeShape,Xb as surfaceError,Tb as surfaceParams,db as systemLayout,ab as systemMap,eb as systemOpenPlane,Ca as systemPlane,cb as systemProvides,bb as systemSize,gb as ticksFor,tb as traceContour,ic as traceField,zb as tracePlot,Na as traced,T as transformedMap,U as warpedMap,s as withPartFill,Y as withoutTips};
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
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@motionscript/math",
3
- "version": "0.2.0",
3
+ "version": "0.4.0-alpha.0",
4
4
  "exports": {
5
5
  ".": "dist/browser/index.js",
6
+ "./v1": "dist/browser/v1.js",
6
7
  "./kit": "dist/browser/kit.js",
7
8
  "./tex": "dist/browser/tex.js"
8
9
  },
@@ -0,0 +1,2 @@
1
+ import{a as C}from"./chunks/chunk-BIUAHFF7.js";import{Ab as n,Bb as q,Db as s,Ga as m,Kb as u,La as p,Na as t,Ta as x,Va as a,Vb as v,Xb as w,Yb as y,Zb as z,ac as A,cc as B,eb as b,fb as c,gb as d,hb as g,ib as h,jb as i,kb as j,lb as k,nb as l,za as f}from"./chunks/chunk-347RSDIW.js";import{M as r,O as e,e as o}from"./chunks/chunk-T42HWKBC.js";export{q as AngleMark,m as Axes2d,u as Axes3d,n as CurlyBrace,i as CurveArea,w as CurvePlot3d,l as DropLines,s as EmphasisMark,x as FunctionPlot,r as Latex,e as LatexMatrix,C as NODES,A as NetworkGraph,f as NumberLine,p as NumberPlane,g as PlotPoint,y as PlotPoint3d,a as PointsPlot,t as PolarPlane,j as RiemannSum,B as SampleSpace,c as StreamLines,v as SurfacePlot3d,k as TangentLine,d as TracedPath,h as VectorArrow,z as VectorArrow3d,b as VectorField,o as loadMathJax};
2
+ //# sourceMappingURL=v1.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
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';
@@ -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,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,IA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AO,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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C;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/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 * from './tex/node.js';
2
- export * from './tex/matrix.js';
3
- export * from './systems/number-line.js';
4
- export * from './systems/axes2d.js';
5
- export * from './systems/number-plane.js';
6
- export * from './plots/function-plot.js';
7
- export * from './plots/points-plot.js';
8
- export * from './marks/plot-point.js';
9
- export * from './marks/vector-arrow.js';
10
- export * from './marks/curve-area.js';
11
- export * from './marks/riemann-sum.js';
12
- export * from './marks/tangent-line.js';
13
- export * from './marks/drop-lines.js';
14
- export * from './annotate/curly-brace.js';
15
- export * from './annotate/angle-mark.js';
16
- export * from './annotate/emphasis-mark.js';
17
- export * from './three/axes3d.js';
18
- export * from './three/surface-plot3d.js';
19
- export * from './three/curve-plot3d.js';
20
- export * from './three/plot-point3d.js';
21
- export * from './three/vector-arrow3d.js';
22
- export * from './systems/polar-plane.js';
23
- export * from './plots/vector-field.js';
24
- export * from './plots/stream-lines.js';
25
- export * from './plots/traced-path.js';
26
- export * from './structures/network-graph.js';
27
- export * from './structures/sample-space.js';
28
- export * from './engine.js';
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
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cA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AC;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
- export * from './tex/node.js';
2
- export * from './tex/matrix.js';
3
- export * from './systems/number-line.js';
4
- export * from './systems/axes2d.js';
5
- export * from './systems/number-plane.js';
6
- export * from './plots/function-plot.js';
7
- export * from './plots/points-plot.js';
8
- export * from './marks/plot-point.js';
9
- export * from './marks/vector-arrow.js';
10
- export * from './marks/curve-area.js';
11
- export * from './marks/riemann-sum.js';
12
- export * from './marks/tangent-line.js';
13
- export * from './marks/drop-lines.js';
14
- export * from './annotate/curly-brace.js';
15
- export * from './annotate/angle-mark.js';
16
- export * from './annotate/emphasis-mark.js';
17
- export * from './three/axes3d.js';
18
- export * from './three/surface-plot3d.js';
19
- export * from './three/curve-plot3d.js';
20
- export * from './three/plot-point3d.js';
21
- export * from './three/vector-arrow3d.js';
22
- export * from './systems/polar-plane.js';
23
- export * from './plots/vector-field.js';
24
- export * from './plots/stream-lines.js';
25
- export * from './plots/traced-path.js';
26
- export * from './structures/network-graph.js';
27
- export * from './structures/sample-space.js';
28
- export * from './engine.js';
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,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC","sourcesContent":["export * from './tex/node';\nexport * from './tex/matrix';\nexport * from './systems/number-line';\nexport * from './systems/axes2d';\nexport * from './systems/number-plane';\nexport * from './plots/function-plot';\nexport * from './plots/points-plot';\nexport * from './marks/plot-point';\nexport * from './marks/vector-arrow';\nexport * from './marks/curve-area';\nexport * from './marks/riemann-sum';\nexport * from './marks/tangent-line';\nexport * from './marks/drop-lines';\nexport * from './annotate/curly-brace';\nexport * from './annotate/angle-mark';\nexport * from './annotate/emphasis-mark';\nexport * from './three/axes3d';\nexport * from './three/surface-plot3d';\nexport * from './three/curve-plot3d';\nexport * from './three/plot-point3d';\nexport * from './three/vector-arrow3d';\nexport * from './systems/polar-plane';\nexport * from './plots/vector-field';\nexport * from './plots/stream-lines';\nexport * from './plots/traced-path';\nexport * from './structures/network-graph';\nexport * from './structures/sample-space';\nexport * from './engine';\nexport { NODES } from \"./nodes\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,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","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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").PlotSource, import("../index.js").PlotSource, false>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").PlotSource, import("../index.js").PlotSource, false>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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("../index.js").PlotSource, import("../index.js").PlotSource, false>;
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("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
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
  }>, {