@motionscript/math 0.1.0-alpha.6 → 0.1.0-alpha.7

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 (69) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/annotate/angle-mark.d.ts +28 -3
  3. package/dist/annotate/angle-mark.d.ts.map +1 -1
  4. package/dist/annotate/curly-brace.d.ts +38 -3
  5. package/dist/annotate/curly-brace.d.ts.map +1 -1
  6. package/dist/annotate/emphasis-mark.d.ts +29 -3
  7. package/dist/annotate/emphasis-mark.d.ts.map +1 -1
  8. package/dist/browser/index.js +1 -1
  9. package/dist/browser/index.js.map +3 -3
  10. package/dist/browser/manifest.json +1 -1
  11. package/dist/kit/component.d.ts.map +1 -1
  12. package/dist/kit/field-mark.d.ts +1 -3
  13. package/dist/kit/field-mark.d.ts.map +1 -1
  14. package/dist/kit/follow.d.ts +2 -2
  15. package/dist/kit/follow.d.ts.map +1 -1
  16. package/dist/marks/curve-area.d.ts +14 -1
  17. package/dist/marks/curve-area.d.ts.map +1 -1
  18. package/dist/marks/drop-lines.d.ts +20 -3
  19. package/dist/marks/drop-lines.d.ts.map +1 -1
  20. package/dist/marks/plot-point.d.ts +20 -1
  21. package/dist/marks/plot-point.d.ts.map +1 -1
  22. package/dist/marks/riemann-sum.d.ts +18 -1
  23. package/dist/marks/riemann-sum.d.ts.map +1 -1
  24. package/dist/marks/tangent-line.d.ts +23 -3
  25. package/dist/marks/tangent-line.d.ts.map +1 -1
  26. package/dist/marks/vector-arrow.d.ts +21 -3
  27. package/dist/marks/vector-arrow.d.ts.map +1 -1
  28. package/dist/plots/function-plot.d.ts +33 -5
  29. package/dist/plots/function-plot.d.ts.map +1 -1
  30. package/dist/plots/points-plot.d.ts +22 -1
  31. package/dist/plots/points-plot.d.ts.map +1 -1
  32. package/dist/plots/stream-lines.d.ts +23 -1
  33. package/dist/plots/stream-lines.d.ts.map +1 -1
  34. package/dist/plots/traced-path.d.ts +21 -1
  35. package/dist/plots/traced-path.d.ts.map +1 -1
  36. package/dist/plots/vector-field.d.ts +18 -1
  37. package/dist/plots/vector-field.d.ts.map +1 -1
  38. package/dist/structures/network-graph.d.ts +42 -1
  39. package/dist/structures/network-graph.d.ts.map +1 -1
  40. package/dist/structures/sample-space.d.ts +22 -1
  41. package/dist/structures/sample-space.d.ts.map +1 -1
  42. package/dist/systems/axes2d.d.ts +34 -1
  43. package/dist/systems/axes2d.d.ts.map +1 -1
  44. package/dist/systems/number-line.d.ts +30 -1
  45. package/dist/systems/number-line.d.ts.map +1 -1
  46. package/dist/systems/number-plane.d.ts +49 -1
  47. package/dist/systems/number-plane.d.ts.map +1 -1
  48. package/dist/systems/polar-plane.d.ts +30 -1
  49. package/dist/systems/polar-plane.d.ts.map +1 -1
  50. package/dist/tex/matrix.d.ts +34 -2
  51. package/dist/tex/matrix.d.ts.map +1 -1
  52. package/dist/tex/node.d.ts +31 -2
  53. package/dist/tex/node.d.ts.map +1 -1
  54. package/dist/tex/typeset.d.ts +4 -4
  55. package/dist/tex/typeset.d.ts.map +1 -1
  56. package/dist/three/axes3d.d.ts +75 -1
  57. package/dist/three/axes3d.d.ts.map +1 -1
  58. package/dist/three/axes3d.js +6 -2
  59. package/dist/three/axes3d.js.map +1 -1
  60. package/dist/three/curve-plot3d.d.ts +53 -15
  61. package/dist/three/curve-plot3d.d.ts.map +1 -1
  62. package/dist/three/plot-point3d.d.ts +43 -15
  63. package/dist/three/plot-point3d.d.ts.map +1 -1
  64. package/dist/three/surface-plot3d.d.ts +68 -23
  65. package/dist/three/surface-plot3d.d.ts.map +1 -1
  66. package/dist/three/vector-arrow3d.d.ts +44 -15
  67. package/dist/three/vector-arrow3d.d.ts.map +1 -1
  68. package/package.json +4 -4
  69. package/src/three/axes3d.ts +8 -2
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@motionscript/math",
3
- "version": "0.1.0-alpha.6",
3
+ "version": "0.1.0-alpha.7",
4
4
  "exports": {
5
5
  ".": "dist/browser/index.js",
6
6
  "./kit": "dist/browser/kit.js",
@@ -1 +1 @@
1
- {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/kit/component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,KAAK,aAAa,EAClB,KAAK,IAAI,EAET,KAAK,IAAI,IAAI,KAAK,EAClB,KAAK,YAAY,IAAI,aAAa,EAClC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACtC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACzC,MAAM,mBAAmB,CAAC;AAU3B,wFAAwF;AACxF,eAAO,MAAM,KAAK;;;;;;CAAQ,CAAC;AAC3B,eAAO,MAAM,cAAc;;;oBAQ3B,CADgJ;;;;oBACnC,CAAA;;;;oBAC5B,CAAC;;;;oBAQ3E,CAAC;;;;;;;;CAjBmC,CAAC;AAE5C;;GAEG;AACH,wBAAgB,MAAM,CAAC,KAAK,CAAC,CAAC,SAAS,SAAS,MAAM,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AACnI,yEAAyE;AACzE,wBAAgB,MAAM,CAAC,KAAK,CAAC,CAAC,SAAS,SAAS,MAAM,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,CAAC;AAK/I,UAAU,aAAa;IACnB,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,iEAAiE;AACjE,wBAAgB,IAAI,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,CAAC,CAAC,SAAS,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE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EAAE,OAAO,CAAC;CACjC;AAED,iEAAiE;AACjE,wBAAgB,IAAI,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,CAAC,CAAC,SAAS,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAInG;AAED;;;GAGG;AACH,wBAAgB,OAAO,CAAC,GAAG,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,IAAI,EAAE,IAAI,GAAE,MAAM,IAAgB,GAAG,IAAI,CAI/F"}
@@ -46,9 +46,7 @@ export declare const FIELD_COMMANDS: {
46
46
  };
47
47
  strokeTo: {
48
48
  readonly args: readonly ["stroke"];
49
- readonly run
50
- /** A field's vector at a graph point, written into `out`; `false` where it has none. */
51
- ?: undefined;
49
+ readonly run?: undefined;
52
50
  };
53
51
  shadowTo: {
54
52
  readonly args: readonly ["shadow"];
@@ -1 +1 @@
1
- {"version":3,"file":"field-mark.d.ts","sourceRoot":"","sources":["../../src/kit/field-mark.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,IAAI,EACT,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,OAAO,EAEZ,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACtC,KAAK,MAAM,IAAI,OAAO,EACzB,MAAM,mBAAmB,CAAC;AAG3B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAIpD,OAAO,EAAY,KAAK,SAAS,EAAE,KAAK,WAAW,EAAE,MAAM,QAAQ,CAAC;AAEpE,OAAO,EAAgD,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAEzF;;;;;GAKG;AAEH,MAAM,WAAW,UAAW,SAAQ,UAAU;IAC1C,UAAU,CAAC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AAa,EAAE,YAAY,EAAE,EAAE,CAAC;IAAC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;CAAE,EAC1F,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,MAAM,GACxB,IAAI,CA0BN"}
@@ -41,10 +41,10 @@ export declare const FOLLOW_STATE: {
41
41
  /** The nodes the retarget names, there and where it set out from, read as nodes. */
42
42
  retargetOn: import("@motionscript/sdk").Type<string, NodeView<import("@motionscript/sdk").Element<string, unknown, unknown>> | null, true>;
43
43
  retargetFrom: import("@motionscript/sdk").Type<string, NodeView<import("@motionscript/sdk").Element<string, unknown, unknown>> | null, true>;
44
- start: import("@motionscript/sdk").Type<number, number, false>;
45
- end: import("@motionscript/sdk").Type<number, number, false>;
46
44
  stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
47
45
  shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
46
+ start: import("@motionscript/sdk").Type<number, number, false>;
47
+ end: import("@motionscript/sdk").Type<number, number, false>;
48
48
  };
49
49
  export declare const FOLLOW_COMMANDS: {
50
50
  retargetTo: {
@@ -1 +1 @@
1
- {"version":3,"file":"follow.d.ts","sourceRoot":"","sources":["../../src/kit/follow.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,KAAK,SAAS,EACd,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,OAAO,EAEZ,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACtC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACzC,MAAM,mBAAmB,CAAC;AAO3B,2EAA2E;AAC3E,MAAM,WAAW,MAAM;IACnB,0FAA0F;IAC1F,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;CACnE;AAYD,oFAAoF;AACpF,MAAM,W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@ -33,6 +33,19 @@ export declare const CurveArea: import("@motionscript/sdk").Component<"curveArea
33
33
  graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
34
34
  fill: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
35
35
  shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
36
- }>, null>>;
36
+ }>, null, import("@motionscript/sdk").BuiltNode<import("@motionscript/sdk").Merge<import("@motionscript/sdk").Box2DState, {
37
+ /** The plot that bounds the area, by id. */
38
+ on: import("@motionscript/sdk").Type<string, NodeView<import("@motionscript/sdk").Element<string, unknown, unknown>> | null, false>;
39
+ /** A second plot to fill down to, in place of the x axis. */
40
+ under: import("@motionscript/sdk").Type<string, NodeView<import("@motionscript/sdk").Element<string, unknown, unknown>> | null, false>;
41
+ domain: import("@motionscript/sdk").Type<Interval, Interval, false>;
42
+ graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
43
+ fill: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
44
+ shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
45
+ }>, {
46
+ readonly domainTo: readonly ["domain"];
47
+ readonly fillTo: readonly ["fill"];
48
+ readonly shadowTo: readonly ["shadow"];
49
+ }, _Node2D<_Node2DProps>>>>;
37
50
  export type CurveArea = NodeOf<typeof CurveArea>;
38
51
  //# sourceMappingURL=curve-area.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"curve-area.d.ts","sourceRoot":"","sources":["../../src/marks/curve-area.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,MAAM,EACX,KAAK,QAAQ,EACb,KAAK,UAAU,EAGf,KAAK,IAAI,IAAI,KAAK,EAClB,KAAK,YAAY,IAAI,aAAa,EAClC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,WAAW,IAAI,YAAY,EAChC,KAAK,MAAM,IAAI,OAAO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AAM,SAAS,GAAG,MAAM,CAAC,OAAO,SAAS,CAAC,CAAC"}
@@ -14,10 +14,10 @@ export declare const DropLines: import("@motionscript/sdk").Component<"dropLines
14
14
  /** Which axis to drop to: `x` draws the vertical line, `y` the horizontal one. */
15
15
  axis: import("@motionscript/sdk").Type<"x" | "y" | "both", "x" | "y" | "both", false>;
16
16
  graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
17
- start: import("@motionscript/sdk").Type<number, number, false>;
18
- end: import("@motionscript/sdk").Type<number, number, false>;
19
17
  stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
20
18
  shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
19
+ start: import("@motionscript/sdk").Type<number, number, false>;
20
+ end: import("@motionscript/sdk").Type<number, number, false>;
21
21
  }>, {
22
22
  strokeTo: readonly ["stroke"];
23
23
  shadowTo: readonly ["shadow"];
@@ -31,10 +31,27 @@ export declare const DropLines: import("@motionscript/sdk").Component<"dropLines
31
31
  /** Which axis to drop to: `x` draws the vertical line, `y` the horizontal one. */
32
32
  axis: import("@motionscript/sdk").Type<"x" | "y" | "both", "x" | "y" | "both", false>;
33
33
  graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
34
+ stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
35
+ shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
34
36
  start: import("@motionscript/sdk").Type<number, number, false>;
35
37
  end: import("@motionscript/sdk").Type<number, number, false>;
38
+ }>, null, import("@motionscript/sdk").BuiltNode<import("@motionscript/sdk").Merge<import("@motionscript/sdk").Box2DState, {
39
+ /** A plot to take the point's height from, by id. */
40
+ on: import("@motionscript/sdk").Type<string, NodeView<import("@motionscript/sdk").Element<string, unknown, unknown>> | null, false>;
41
+ /** Which axis to drop to: `x` draws the vertical line, `y` the horizontal one. */
42
+ axis: import("@motionscript/sdk").Type<"x" | "y" | "both", "x" | "y" | "both", false>;
43
+ graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
36
44
  stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
37
45
  shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
38
- }>, null>>;
46
+ start: import("@motionscript/sdk").Type<number, number, false>;
47
+ end: import("@motionscript/sdk").Type<number, number, false>;
48
+ }>, {
49
+ strokeTo: readonly ["stroke"];
50
+ shadowTo: readonly ["shadow"];
51
+ progressTo: readonly ["start", "end"];
52
+ flash: {
53
+ readonly portion: import("@motionscript/sdk").Type<number, number, false>;
54
+ };
55
+ }, _Node2D<_Node2DProps>>>>;
39
56
  export type DropLines = NodeOf<typeof DropLines>;
40
57
  //# sourceMappingURL=drop-lines.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"drop-lines.d.ts","sourceRoot":"","sources":["../../src/marks/drop-lines.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,KAAK,MAAM,EACX,KAAK,QAAQ,EACb,KAAK,UAAU,EAGf,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,WAAW,IAAI,YAAY,EAChC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACtC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACzC,MAAM,mBAAmB,CAAC;AAQ3B,MAAM,MAAM,QAAQ,GAAG,GAAG,GAAG,GAAG,GAAG,MAAM,CAAC;AAE1C,MAAM,WAAW,cAAe,SAAQ,UAAU;IAC9C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,QAAQ,CAAC;CACnB;AAkBD;;;GAGG;AACH,eAAO,MAAM,SAAS;IAlBlB,qDAAqD;;IAErD,kFAAkF;;;;;;;;;;;;;;;IAFlF,qDAAqD;;IAErD,kFAAkF;;;;;;;UAuBvE,CAAC;AAEhB,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,SAAS,CAAC,CAAC"}
1
+ {"version":3,"file":"drop-lines.d.ts","sourceRoot":"","sources":["../../src/marks/drop-lines.ts"],"names":[],"mappings":"AAAA,OAAO,EAEH,KAAK,MAAM,EACX,KAAK,QAAQ,EACb,KAAK,UAAU,EAGf,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,WAAW,IAAI,YAAY,EAChC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACtC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACzC,MAAM,mBAAmB,CAAC;AAQ3B,MAAM,MAAM,QAAQ,GAAG,GAAG,GAAG,GAAG,GAAG,MAAM,CAAC;AAE1C,MAAM,WAAW,cAAe,SAAQ,UAAU;IAC9C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,QAAQ,CAAC;CACnB;AAkBD;;;GAGG;AACH,eAAO,MAAM,SAAS;IAlBlB,qDAAqD;;IAErD,kFAAkF;;;;;;;;;;;;;;;IAFlF,qDAAqD;;IAErD,kFAAkF;;;;;;;;IAFlF,qDAAqD;;IAErD,kFAAkF;;;;;;;;;;;;;;2BAuBvE,CAAC;AAEhB,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,SAAS,CAAC,CAAC"}
@@ -47,6 +47,25 @@ export declare const PlotPoint: import("@motionscript/sdk").Component<"plotPoint
47
47
  fill: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
48
48
  stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
49
49
  shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
50
- }>, null>>;
50
+ }>, null, import("@motionscript/sdk").BuiltNode<import("@motionscript/sdk").Merge<import("@motionscript/sdk").Box2DState, {
51
+ /** The plot this point rides, by id; empty for a point that sits at its own `x`/`y`. */
52
+ on: import("@motionscript/sdk").Type<string, import("@motionscript/sdk").NodeView<import("@motionscript/sdk").Element<string, unknown, unknown>> | null, false>;
53
+ radius: import("@motionscript/sdk").Type<number, number, false>;
54
+ label: import("@motionscript/sdk").Type<string, string, false>;
55
+ labelSide: import("@motionscript/sdk").Type<"left" | "right" | "below" | "above", "left" | "right" | "below" | "above", false>;
56
+ labelSize: import("@motionscript/sdk").Type<number, number, false>;
57
+ labelColor: import("@motionscript/sdk").Type<Color, NormalizedColor, false>;
58
+ fontFamily: import("@motionscript/sdk").Type<string, string, false>;
59
+ graph: import("@motionscript/sdk").Type<GraphPlane | null, GraphPlane | null, true>;
60
+ /** The graph height the point is at: the curve's when it rides one. A formula reads it back as `[key.value]`. */
61
+ value: import("@motionscript/sdk").Type<number, number, true>;
62
+ fill: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
63
+ stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
64
+ shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
65
+ }>, {
66
+ fillTo: readonly ["fill"];
67
+ strokeTo: readonly ["stroke"];
68
+ shadowTo: readonly ["shadow"];
69
+ }, _Node2D<_Node2DProps>>>>;
51
70
  export type PlotPoint = NodeOf<typeof PlotPoint>;
52
71
  //# sourceMappingURL=plot-point.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plot-point.d.ts","sourceRoot":"","sources":["../../src/marks/plot-point.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,KAAK,KAAK,EACV,KAAK,MAAM,EACX,KAAK,eAAe,EACpB,KAAK,UAAU,EAEf,KAAK,IAAI,IAAI,KAAK,EAClB,KAAK,YAAY,IAAI,aAAa,EAClC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,WAAW,IAAI,YAAY,EAChC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACtC,KAAK,MAAM,IAAI,OAAO,EAC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CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAkBD;;;GAGG;AACH,eAAO,MAAM,SAAS;IAjBlB,wFAAwF;;;;;;;;;IASxF,iHAAiH;;;;;;;;;;IATjH,wFAAwF;;;;;;;;;IASxF,iHAAiH;;;;;;IATjH,wFAAwF;;;;;;;;;IASxF,iHAAiH;;;;;;;;;2BA4CvB,CAAC;AAE/F,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,SAAS,CAAC,CAAC"}
@@ -36,6 +36,23 @@ export declare const RiemannSum: import("@motionscript/sdk").Component<"riemannS
36
36
  fill: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
37
37
  stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
38
38
  shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
39
- }>, null>>;
39
+ }>, null, import("@motionscript/sdk").BuiltNode<import("@motionscript/sdk").Merge<import("@motionscript/sdk").Box2DState, {
40
+ on: import("@motionscript/sdk").Type<string, NodeView<import("@motionscript/sdk").Element<string, unknown, unknown>> | null, false>;
41
+ domain: import("@motionscript/sdk").Type<Interval, Interval, false>;
42
+ /** Each rectangle's width, in graph units. */
43
+ dx: import("@motionscript/sdk").Type<number, number, false>;
44
+ /** Where in its width a rectangle reads the curve's height. */
45
+ sample: import("@motionscript/sdk").Type<"center" | "left" | "right", "center" | "left" | "right", false>;
46
+ graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
47
+ fill: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
48
+ stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
49
+ shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
50
+ }>, {
51
+ readonly refineTo: readonly ["dx"];
52
+ readonly domainTo: readonly ["domain"];
53
+ readonly fillTo: readonly ["fill"];
54
+ readonly strokeTo: readonly ["stroke"];
55
+ readonly shadowTo: readonly ["shadow"];
56
+ }, _Node2D<_Node2DProps>>>>;
40
57
  export type RiemannSum = NodeOf<typeof RiemannSum>;
41
58
  //# sourceMappingURL=riemann-sum.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"riemann-sum.d.ts","sourceRoot":"","sources":["../../src/marks/riemann-sum.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,MAAM,EACX,KAAK,QAAQ,EACb,KAAK,UAAU,EAGf,KAAK,IAAI,IAAI,KAAK,EAClB,KAAK,YAAY,IAAI,aAAa,EAClC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,WAAW,IAAI,YAAY,EAChC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACtC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACzC,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAO9C,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;AAExD,MAAM,WAAW,eAAgB,SAAQ,UAAU;IAC/C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,QAAQ,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,aAAa,CAAC;CAC1B;AAwBD,4FAA4F;AAC5F,eAAO,MAAM,UAAU;;;IAfnB,8CAA8C;;IAE9C,+DAA+D;;;;;;;;;;;;;;;IAF/D,8CAA8C;;IAE9C,+DAA+D;;;;;;UA+BtD,CAAC;AAEd,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"riemann-sum.d.ts","sourceRoot":"","sources":["../../src/marks/riemann-sum.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,MAAM,EACX,KAAK,QAAQ,EACb,KAAK,UAAU,EAGf,KAAK,IAAI,IAAI,KAAK,EAClB,KAAK,YAAY,IAAI,aAAa,EAClC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,WAAW,IAAI,YAAY,EAChC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACtC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACzC,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAO9C,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;AAExD,MAAM,WAAW,eAAgB,SAAQ,UAAU;IAC/C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,QAAQ,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,aAAa,CAAC;CAC1B;AAwBD,4FAA4F;AAC5F,eAAO,MAAM,UAAU;;;IAfnB,8CAA8C;;IAE9C,+DAA+D;;;;;;;;;;;;;;;IAF/D,8CAA8C;;IAE9C,+DAA+D;;;;;;;;;IAF/D,8CAA8C;;IAE9C,+DAA+D;;;;;;;;;;;;2BA+BtD,CAAC;AAEd,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC"}
@@ -20,10 +20,10 @@ export declare const TangentLine: import("@motionscript/sdk").Component<"tangent
20
20
  graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
21
21
  /** 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]`. */
22
22
  slope: import("@motionscript/sdk").Type<number, number, true>;
23
- start: import("@motionscript/sdk").Type<number, number, false>;
24
- end: import("@motionscript/sdk").Type<number, number, false>;
25
23
  stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
26
24
  shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
25
+ start: import("@motionscript/sdk").Type<number, number, false>;
26
+ end: import("@motionscript/sdk").Type<number, number, false>;
27
27
  }>, {
28
28
  strokeTo: readonly ["stroke"];
29
29
  shadowTo: readonly ["shadow"];
@@ -40,11 +40,31 @@ export declare const TangentLine: import("@motionscript/sdk").Component<"tangent
40
40
  graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
41
41
  /** 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]`. */
42
42
  slope: import("@motionscript/sdk").Type<number, number, true>;
43
+ stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
44
+ shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
43
45
  start: import("@motionscript/sdk").Type<number, number, false>;
44
46
  end: import("@motionscript/sdk").Type<number, number, false>;
47
+ }>, null, import("@motionscript/sdk").BuiltNode<import("@motionscript/sdk").Merge<import("@motionscript/sdk").Box2DState, {
48
+ on: import("@motionscript/sdk").Type<string, NodeView<import("@motionscript/sdk").Element<string, unknown, unknown>> | null, false>;
49
+ length: import("@motionscript/sdk").Type<number, number, false>;
50
+ /** The second point's distance along x; zero is the tangent itself. */
51
+ dx: import("@motionscript/sdk").Type<number, number, false>;
52
+ legs: import("@motionscript/sdk").Type<boolean, boolean, false>;
53
+ graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
54
+ /** 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]`. */
55
+ slope: import("@motionscript/sdk").Type<number, number, true>;
45
56
  stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
46
57
  shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
47
- }>, null>>;
58
+ start: import("@motionscript/sdk").Type<number, number, false>;
59
+ end: import("@motionscript/sdk").Type<number, number, false>;
60
+ }>, {
61
+ strokeTo: readonly ["stroke"];
62
+ shadowTo: readonly ["shadow"];
63
+ progressTo: readonly ["start", "end"];
64
+ flash: {
65
+ readonly portion: import("@motionscript/sdk").Type<number, number, false>;
66
+ };
67
+ }, _Node2D<_Node2DProps>>>>;
48
68
  export type TangentLine = NodeOf<typeof TangentLine>;
49
69
  /** The slope a tangent at `x` draws on `curve`, in graph units: the curve's at `x`, or the secant's to `x + dx`. */
50
70
  export declare function tangentSlope(curve: CurveValues, x: number, dx?: number): number;
@@ -1 +1 @@
1
- {"version":3,"file":"tangent-line.d.ts","sourceRoot":"","sources":["../../src/marks/tangent-line.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,MAAM,EACX,KAAK,QAAQ,EACb,KAAK,UAAU,EAGf,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,WAAW,IAAI,YAAY,EAChC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACtC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACzC,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAc,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAI5D,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAChD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,OAAO,CAAC;CAClB;AAyBD;;;;GAIG;AACH,eAAO,MAAM,WAAW;;;IArBpB,uEAAuE;;;;IAIvE,2IAA2I;;;;;;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AG,MAAM,CAI1E"}
@@ -15,10 +15,10 @@ export declare const VectorArrow: import("@motionscript/sdk").Component<"vectorA
15
15
  /** The arc the arrow sweeps, in degrees: zero is straight, positive bows to its left. */
16
16
  bend: import("@motionscript/sdk").Type<number, number, false>;
17
17
  graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
18
- start: import("@motionscript/sdk").Type<number, number, false>;
19
- end: import("@motionscript/sdk").Type<number, number, false>;
20
18
  stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
21
19
  shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
20
+ start: import("@motionscript/sdk").Type<number, number, false>;
21
+ end: import("@motionscript/sdk").Type<number, number, false>;
22
22
  }>, {
23
23
  readonly endpointsTo: readonly ["tail", "head"];
24
24
  readonly strokeTo: readonly ["stroke"];
@@ -33,10 +33,28 @@ export declare const VectorArrow: import("@motionscript/sdk").Component<"vectorA
33
33
  /** The arc the arrow sweeps, in degrees: zero is straight, positive bows to its left. */
34
34
  bend: import("@motionscript/sdk").Type<number, number, false>;
35
35
  graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
36
+ stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
37
+ shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
36
38
  start: import("@motionscript/sdk").Type<number, number, false>;
37
39
  end: import("@motionscript/sdk").Type<number, number, false>;
40
+ }>, null, import("@motionscript/sdk").BuiltNode<import("@motionscript/sdk").Merge<import("@motionscript/sdk").Box2DState, {
41
+ tail: import("@motionscript/sdk").Type<Vector2, Vector2, false>;
42
+ head: import("@motionscript/sdk").Type<Vector2, Vector2, false>;
43
+ /** The arc the arrow sweeps, in degrees: zero is straight, positive bows to its left. */
44
+ bend: import("@motionscript/sdk").Type<number, number, false>;
45
+ graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
38
46
  stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
39
47
  shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
40
- }>, null>>;
48
+ start: import("@motionscript/sdk").Type<number, number, false>;
49
+ end: import("@motionscript/sdk").Type<number, number, false>;
50
+ }>, {
51
+ readonly endpointsTo: readonly ["tail", "head"];
52
+ readonly strokeTo: readonly ["stroke"];
53
+ readonly shadowTo: readonly ["shadow"];
54
+ readonly progressTo: readonly ["start", "end"];
55
+ readonly flash: {
56
+ readonly portion: import("@motionscript/sdk").Type<number, number, false>;
57
+ };
58
+ }, _Node2D<_Node2DProps>>>>;
41
59
  export type VectorArrow = NodeOf<typeof VectorArrow>;
42
60
  //# sourceMappingURL=vector-arrow.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vector-arrow.d.ts","sourceRoot":"","sources":["../../src/marks/vector-arrow.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,MAAM,EACX,KAAK,UAAU,EACf,KAAK,OAAO,EAEZ,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,WAAW,IAAI,YAAY,EAChC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACtC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACzC,MAAM,mBAAmB,CAAC;AAK3B,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAChD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAgCD;;;;GAIG;AACH,eAAO,MAAM,WAAW;;;IA5BpB,yFAAyF;;;;;;;;;;;;;;;;;;IAAzF,yFAAyF;;;;;;;UAwC9E,CAAC;AAEhB,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,WAAW,CAAC,CAAC"}
1
+ {"version":3,"file":"vector-arrow.d.ts","sourceRoot":"","sources":["../../src/marks/vector-arrow.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,MAAM,EACX,KAAK,UAAU,EACf,KAAK,OAAO,EAEZ,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,WAAW,IAAI,YAAY,EAChC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACtC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACzC,MAAM,mBAAmB,CAAC;AAK3B,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAChD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAgCD;;;;GAIG;AACH,eAAO,MAAM,WAAW;;;IA5BpB,yFAAyF;;;;;;;;;;;;;;;;;;IAAzF,yFAAyF;;;;;;;;;;IAAzF,yFAAyF;;;;;;;;;;;;;;;2BAwC9E,CAAC;AAEhB,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,WAAW,CAAC,CAAC"}
@@ -23,10 +23,10 @@ export declare const PLOT_STATE: {
23
23
  */
24
24
  params: import("@motionscript/sdk").Type<Readonly<Record<string, number>>, Readonly<Record<string, number>>, false>;
25
25
  graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
26
- start: import("@motionscript/sdk").Type<number, number, false>;
27
- end: import("@motionscript/sdk").Type<number, number, false>;
28
26
  stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
29
27
  shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
28
+ start: import("@motionscript/sdk").Type<number, number, false>;
29
+ end: import("@motionscript/sdk").Type<number, number, false>;
30
30
  };
31
31
  /** A plot's own commands, beside a line's paints. */
32
32
  export declare const PLOT_COMMANDS: {
@@ -92,10 +92,10 @@ export declare const FunctionPlot: import("@motionscript/sdk").Component<"functi
92
92
  */
93
93
  params: import("@motionscript/sdk").Type<Readonly<Record<string, number>>, Readonly<Record<string, number>>, false>;
94
94
  graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
95
- start: import("@motionscript/sdk").Type<number, number, false>;
96
- end: import("@motionscript/sdk").Type<number, number, false>;
97
95
  stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
98
96
  shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
97
+ start: import("@motionscript/sdk").Type<number, number, false>;
98
+ end: import("@motionscript/sdk").Type<number, number, false>;
99
99
  }>, {
100
100
  morphTo: readonly ["expression"];
101
101
  paramsTo: readonly ["params"];
@@ -120,11 +120,39 @@ export declare const FunctionPlot: import("@motionscript/sdk").Component<"functi
120
120
  */
121
121
  params: import("@motionscript/sdk").Type<Readonly<Record<string, number>>, Readonly<Record<string, number>>, false>;
122
122
  graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
123
+ stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
124
+ shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
123
125
  start: import("@motionscript/sdk").Type<number, number, false>;
124
126
  end: import("@motionscript/sdk").Type<number, number, false>;
127
+ }>, null, import("@motionscript/sdk").BuiltNode<import("@motionscript/sdk").Merge<import("@motionscript/sdk").Box2DState, {
128
+ expression: import("@motionscript/sdk").Type<string | PlotSource, PlotSource, false>;
129
+ /**
130
+ * The span of the free variable that is drawn. Left out, a function runs the
131
+ * width of its system, a polar curve one turn and a parametric one from 0 to 1.
132
+ */
133
+ domain: import("@motionscript/sdk").Type<Interval | null, Interval | null, false>;
134
+ /**
135
+ * The equation's named values: any name in it that is not a variable, a
136
+ * function or a constant. One left unset is 1, and a formula can bind each
137
+ * to a variable.
138
+ */
139
+ params: import("@motionscript/sdk").Type<Readonly<Record<string, number>>, Readonly<Record<string, number>>, false>;
140
+ graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
125
141
  stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
126
142
  shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
127
- }>, null>>;
143
+ start: import("@motionscript/sdk").Type<number, number, false>;
144
+ end: import("@motionscript/sdk").Type<number, number, false>;
145
+ }>, {
146
+ morphTo: readonly ["expression"];
147
+ paramsTo: readonly ["params"];
148
+ domainTo: readonly ["domain"];
149
+ strokeTo: readonly ["stroke"];
150
+ shadowTo: readonly ["shadow"];
151
+ progressTo: readonly ["start", "end"];
152
+ flash: {
153
+ readonly portion: import("@motionscript/sdk").Type<number, number, false>;
154
+ };
155
+ }, _Node2D<_Node2DProps>>>>;
128
156
  export type FunctionPlot = NodeOf<typeof FunctionPlot>;
129
157
  /** The runs a plot of `s` draws through `read`, over `span` of its free variable (all of it for `null`). */
130
158
  export declare function tracePlot(s: PlotValues, read: MarkReading, span: Interval | null): Vector2[][];
@@ -1 +1 @@
1
- {"version":3,"file":"function-plot.d.ts","sourceRoot":"","sources":["../../src/plots/function-plot.ts"],"names":[],"mappings":"AAAA,OAAO,EAKH,KAAK,MAAM,EACX,KAAK,UAAU,EACf,KAAK,OAAO,EAEZ,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,WAAW,IAAI,YAAY,EAChC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACtC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACzC,MAAM,mBAAmB,CAAC;AAI3B,OAAO,KAAK,EAAiB,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGzD,OAAO,EAAiD,KAAK,WAAW,EAAE,MAAM,aA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AM,YAAY,GAAG,MAAM,CAAC,OAAO,YAAY,CAAC,CAAC;AAIvD,4GAA4G;AAC5G,wBAAgB,SAAS,CAAC,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,GAAG,IAAI,GAAG,OAAO,EAAE,EAAE,CA2B9F"}
@@ -38,6 +38,27 @@ export declare const PointsPlot: import("@motionscript/sdk").Component<"pointsPl
38
38
  shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
39
39
  start: import("@motionscript/sdk").Type<number, number, false>;
40
40
  end: import("@motionscript/sdk").Type<number, number, false>;
41
- }>, null>>;
41
+ }>, null, import("@motionscript/sdk").BuiltNode<import("@motionscript/sdk").Merge<import("@motionscript/sdk").Box2DState, {
42
+ points: import("@motionscript/sdk").Type<Vector2[], Vector2[], false>;
43
+ /** Join the last point to the first. */
44
+ closed: import("@motionscript/sdk").Type<boolean, boolean, false>;
45
+ /** Curve through the points instead of turning a corner at each. */
46
+ smooth: import("@motionscript/sdk").Type<boolean, boolean, false>;
47
+ graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
48
+ fill: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
49
+ stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
50
+ shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
51
+ start: import("@motionscript/sdk").Type<number, number, false>;
52
+ end: import("@motionscript/sdk").Type<number, number, false>;
53
+ }>, {
54
+ readonly pointsTo: readonly ["points"];
55
+ readonly fillTo: readonly ["fill"];
56
+ readonly strokeTo: readonly ["stroke"];
57
+ readonly shadowTo: readonly ["shadow"];
58
+ readonly progressTo: readonly ["start", "end"];
59
+ readonly flash: {
60
+ readonly portion: import("@motionscript/sdk").Type<number, number, false>;
61
+ };
62
+ }, _Node2D<_Node2DProps>>>>;
42
63
  export type PointsPlot = NodeOf<typeof PointsPlot>;
43
64
  //# sourceMappingURL=points-plot.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"points-plot.d.ts","sourceRoot":"","sources":["../../src/plots/points-plot.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,MAAM,EACX,KAAK,UAAU,EACf,KAAK,OAAO,EAEZ,KAAK,IAAI,IAAI,KAAK,EAClB,KAAK,YAAY,IAAI,aAAa,EAClC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,WAAW,IAAI,YAAY,EAChC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACtC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACzC,MAAM,mBAAmB,CAAC;AAM3B,MAAM,WAAW,eAAgB,SAAQ,UAAU;IAC/C,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB;AAkCD,+HAA+H;AAC/H,eAAO,MAAM,UAAU;;IAdnB,wCAAwC;;IAExC,oEAAoE;;;;;;;;;;;;;;;;;;;IAFpE,wCAAwC;;IAExC,oEAAoE;;;;;;;;UAwBxD,CAAC;AAEjB,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"points-plot.d.ts","sourceRoot":"","sources":["../../src/plots/points-plot.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,MAAM,EACX,KAAK,UAAU,EACf,KAAK,OAAO,EAEZ,KAAK,IAAI,IAAI,KAAK,EAClB,KAAK,YAAY,IAAI,aAAa,EAClC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,WAAW,IAAI,YAAY,EAChC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACtC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACzC,MAAM,mBAAmB,CAAC;AAM3B,MAAM,WAAW,eAAgB,SAAQ,UAAU;IAC/C,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB;AAkCD,+HAA+H;AAC/H,eAAO,MAAM,UAAU;;IAdnB,wCAAwC;;IAExC,oEAAoE;;;;;;;;;;;;;;;;;;;IAFpE,wCAAwC;;IAExC,oEAAoE;;;;;;;;;;IAFpE,wCAAwC;;IAExC,oEAAoE;;;;;;;;;;;;;;;;;2BAwBxD,CAAC;AAEjB,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC"}
@@ -49,6 +49,28 @@ export declare const StreamLines: import("@motionscript/sdk").Component<"streamL
49
49
  graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
50
50
  stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
51
51
  shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
52
- }>, null>>;
52
+ }>, null, import("@motionscript/sdk").BuiltNode<import("@motionscript/sdk").Merge<import("@motionscript/sdk").Box2DState, {
53
+ /** How far apart the lines start, in graph units. */
54
+ spacing: import("@motionscript/sdk").Type<number, number, false>;
55
+ /** How far each line runs from where it starts, in graph units along itself. */
56
+ length: import("@motionscript/sdk").Type<number, number, false>;
57
+ /** The share of each line that is shown at once; one shows all of it. */
58
+ window: import("@motionscript/sdk").Type<number, number, false>;
59
+ /** Where along its line each shown stretch is: one turn of it runs every line from end to end. */
60
+ phase: import("@motionscript/sdk").Type<number, number, false>;
61
+ expression: import("@motionscript/sdk").Type<string | import("../index.js").PlotSource, import("../index.js").PlotSource, false>;
62
+ params: import("@motionscript/sdk").Type<Readonly<Record<string, number>>, Readonly<Record<string, number>>, false>;
63
+ strengthFills: import("@motionscript/sdk").Type<_Fill[], _FillResolved[][], false>;
64
+ maxMagnitude: import("@motionscript/sdk").Type<number, number, false>;
65
+ graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
66
+ stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
67
+ shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
68
+ }>, {
69
+ readonly flowTo: readonly ["phase"];
70
+ readonly morphTo: readonly ["expression"];
71
+ readonly paramsTo: readonly ["params"];
72
+ readonly strokeTo: readonly ["stroke"];
73
+ readonly shadowTo: readonly ["shadow"];
74
+ }, _Node2D<_Node2DProps>>>>;
53
75
  export type StreamLines = NodeOf<typeof StreamLines>;
54
76
  //# sourceMappingURL=stream-lines.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stream-lines.d.ts","sourceRoot":"","sources":["../../src/plots/stream-lines.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,MAAM,EAGX,KAAK,IAAI,IAAI,KAAK,EAClB,KAAK,YAAY,IAAI,aAAa,EAClC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,WAAW,IAAI,YAAY,EAChC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACtC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACzC,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAyE,KAAK,UAAU,EAAyD,MAAM,mBAAmB,CAAC;AAKlL,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAChD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAiCD;;;;GAIG;AACH,eAAO,MAAM,WAAW;IA7BpB,qDAAqD;;IAErD,gFAAgF;;IAEhF,yEAAyE;;IAEzE,kGAAkG;;;;;;;;;;;;;;;;IANlG,qDAAqD;;IAErD,gFAAgF;;IAEhF,yEAAyE;;IAEzE,kGAAkG;;;;;;;;;UAkClC,CAAC;AAErE,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,WAAW,CAAC,CAAC"}
1
+ {"version":3,"file":"stream-lines.d.ts","sourceRoot":"","sources":["../../src/plots/stream-lines.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,MAAM,EAGX,KAAK,IAAI,IAAI,KAAK,EAClB,KAAK,YAAY,IAAI,aAAa,EAClC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,WAAW,IAAI,YAAY,EAChC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACtC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACzC,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAyE,KAAK,UAAU,EAAyD,MAAM,mBAAmB,CAAC;AAKlL,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAChD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAiCD;;;;GAIG;AACH,eAAO,MAAM,WAAW;IA7BpB,qDAAqD;;IAErD,gFAAgF;;IAEhF,yEAAyE;;IAEzE,kGAAkG;;;;;;;;;;;;;;;;IANlG,qDAAqD;;IAErD,gFAAgF;;IAEhF,yEAAyE;;IAEzE,kGAAkG;;;;;;;;;;IANlG,qDAAqD;;IAErD,gFAAgF;;IAEhF,yEAAyE;;IAEzE,kGAAkG;;;;;;;;;;;;;;;2BAkClC,CAAC;AAErE,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,WAAW,CAAC,CAAC"}
@@ -45,6 +45,26 @@ export declare const TracedPath: import("@motionscript/sdk").Component<"tracedPa
45
45
  expression: import("@motionscript/sdk").Type<string | import("../index.js").PlotSource, import("../index.js").PlotSource, false>;
46
46
  domain: import("@motionscript/sdk").Type<Interval | null, Interval | null, false>;
47
47
  graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
48
- }>, null>>;
48
+ }>, null, import("@motionscript/sdk").BuiltNode<import("@motionscript/sdk").Merge<import("@motionscript/sdk").Box2DState, {
49
+ /** The value the trail starts at. */
50
+ from: import("@motionscript/sdk").Type<number, number, false>;
51
+ /** The value the point is at now: where the trail ends. */
52
+ value: import("@motionscript/sdk").Type<number, number, false>;
53
+ /** How much of the trail is kept, in the value's own units; zero keeps all of it. */
54
+ tail: import("@motionscript/sdk").Type<number, number, false>;
55
+ stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
56
+ shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
57
+ params: import("@motionscript/sdk").Type<Readonly<Record<string, number>>, Readonly<Record<string, number>>, false>;
58
+ expression: import("@motionscript/sdk").Type<string | import("../index.js").PlotSource, import("../index.js").PlotSource, false>;
59
+ domain: import("@motionscript/sdk").Type<Interval | null, Interval | null, false>;
60
+ graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
61
+ }>, {
62
+ readonly traceTo: readonly ["value"];
63
+ readonly strokeTo: readonly ["stroke"];
64
+ readonly shadowTo: readonly ["shadow"];
65
+ readonly morphTo: readonly ["expression"];
66
+ readonly paramsTo: readonly ["params"];
67
+ readonly domainTo: readonly ["domain"];
68
+ }, _Node2D<_Node2DProps>>>>;
49
69
  export type TracedPath = NodeOf<typeof TracedPath>;
50
70
  //# sourceMappingURL=traced-path.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"traced-path.d.ts","sourceRoot":"","sources":["../../src/plots/traced-path.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,MAAM,EAEX,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,W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ACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAmBD;;;;;GAKG;AACH,eAAO,MAAM,UAAU;IApBnB,qCAAqC;;IAErC,2DAA2D;;IAE3D,qFAAqF;;;;;;;;;;;;;;;;IAJrF,qCAAqC;;IAErC,2DAA2D;;IAE3D,qFAAqF;;;;;;;;;IAJrF,qCAAqC;;IAErC,2DAA2D;;IAE3D,qFAAqF;;;;;;;;;;;;;;;2BA2B1E,CAAC;AAEhB,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC"}
@@ -38,6 +38,23 @@ export declare const VectorField: import("@motionscript/sdk").Component<"vectorF
38
38
  graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
39
39
  stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
40
40
  shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
41
- }>, null>>;
41
+ }>, null, import("@motionscript/sdk").BuiltNode<import("@motionscript/sdk").Merge<import("@motionscript/sdk").Box2DState, {
42
+ /** How far apart the arrows stand, in graph units. */
43
+ spacing: import("@motionscript/sdk").Type<number, number, false>;
44
+ /** How long an arrow is drawn for a vector of length one, in graph units. */
45
+ arrowScale: import("@motionscript/sdk").Type<number, number, false>;
46
+ expression: import("@motionscript/sdk").Type<string | import("../index.js").PlotSource, import("../index.js").PlotSource, false>;
47
+ params: import("@motionscript/sdk").Type<Readonly<Record<string, number>>, Readonly<Record<string, number>>, false>;
48
+ strengthFills: import("@motionscript/sdk").Type<_Fill[], _FillResolved[][], false>;
49
+ maxMagnitude: import("@motionscript/sdk").Type<number, number, false>;
50
+ graph: import("@motionscript/sdk").Type<import("../index.js").GraphPlane | null, import("../index.js").GraphPlane | null, true>;
51
+ stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
52
+ shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
53
+ }>, {
54
+ morphTo: readonly ["expression"];
55
+ paramsTo: readonly ["params"];
56
+ strokeTo: readonly ["stroke"];
57
+ shadowTo: readonly ["shadow"];
58
+ }, _Node2D<_Node2DProps>>>>;
42
59
  export type VectorField = NodeOf<typeof VectorField>;
43
60
  //# sourceMappingURL=vector-field.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vector-field.d.ts","sourceRoot":"","sources":["../../src/plots/vector-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,MAAM,EAGX,KAAK,IAAI,IAAI,KAAK,EAClB,KAAK,YAAY,IAAI,aAAa,EAClC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,WAAW,IAAI,YAAY,EAChC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACtC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACzC,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAyE,KAAK,UAAU,EAAyD,MAAM,mBAAmB,CAAC;AAIlL,MAAM,WAAW,gBAAiB,SAAQ,UAAU;IAChD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AA6BD;;;;GAIG;AACH,eAAO,MAAM,WAAW;IAvBpB,sDAAsD;;IAEtD,6EAA6E;;;;;;;;;;;;;;;IAF7E,sDAAsD;;IAEtD,6EAA6E;;;;;;;;;UA4BX,CAAC;AAEvE,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,WAAW,CAAC,CAAC"}
1
+ {"version":3,"file":"vector-field.d.ts","sourceRoot":"","sources":["../../src/plots/vector-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,MAAM,EAGX,KAAK,IAAI,IAAI,KAAK,EAClB,KAAK,YAAY,IAAI,aAAa,EAClC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,WAAW,IAAI,YAAY,EAChC,KAAK,MAAM,IAAI,OAA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