@motionscript/math 0.1.0-alpha.5 → 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.
- package/CHANGELOG.md +28 -0
- package/README.md +39 -33
- package/dist/annotate/angle-mark.d.ts +77 -27
- package/dist/annotate/angle-mark.d.ts.map +1 -1
- package/dist/annotate/angle-mark.js +80 -115
- package/dist/annotate/angle-mark.js.map +1 -1
- package/dist/annotate/curly-brace.d.ts +94 -25
- package/dist/annotate/curly-brace.d.ts.map +1 -1
- package/dist/annotate/curly-brace.js +85 -100
- package/dist/annotate/curly-brace.js.map +1 -1
- package/dist/annotate/emphasis-mark.d.ts +69 -9
- package/dist/annotate/emphasis-mark.d.ts.map +1 -1
- package/dist/annotate/emphasis-mark.js +33 -34
- package/dist/annotate/emphasis-mark.js.map +1 -1
- package/dist/browser/chunks/chunk-ABYBW64J.js +2 -0
- package/dist/browser/chunks/chunk-ABYBW64J.js.map +7 -0
- package/dist/browser/chunks/chunk-K77KLQX4.js +2 -0
- package/dist/browser/chunks/chunk-K77KLQX4.js.map +7 -0
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +3 -3
- package/dist/browser/kit.js +1 -1
- package/dist/browser/manifest.json +1 -1
- package/dist/browser/tex.js +1 -1
- package/dist/browser/tex.js.map +2 -2
- package/dist/engine.d.ts +26 -19
- package/dist/engine.d.ts.map +1 -1
- package/dist/engine.js +17 -14
- package/dist/engine.js.map +1 -1
- package/dist/kit/component.d.ts +51 -0
- package/dist/kit/component.d.ts.map +1 -0
- package/dist/kit/component.js +30 -0
- package/dist/kit/component.js.map +1 -0
- package/dist/kit/curve.d.ts +22 -11
- package/dist/kit/curve.d.ts.map +1 -1
- package/dist/kit/curve.js +25 -18
- package/dist/kit/curve.js.map +1 -1
- package/dist/kit/field-mark.d.ts +56 -35
- package/dist/kit/field-mark.d.ts.map +1 -1
- package/dist/kit/field-mark.js +100 -120
- package/dist/kit/field-mark.js.map +1 -1
- package/dist/kit/follow.d.ts +67 -29
- package/dist/kit/follow.d.ts.map +1 -1
- package/dist/kit/follow.js +114 -110
- package/dist/kit/follow.js.map +1 -1
- package/dist/kit/furniture.d.ts +3 -1
- package/dist/kit/furniture.d.ts.map +1 -1
- package/dist/kit/furniture.js +5 -0
- package/dist/kit/furniture.js.map +1 -1
- package/dist/kit/graph.d.ts +46 -0
- package/dist/kit/graph.d.ts.map +1 -0
- package/dist/kit/graph.js +90 -0
- package/dist/kit/graph.js.map +1 -0
- package/dist/kit/mark.d.ts +64 -39
- package/dist/kit/mark.d.ts.map +1 -1
- package/dist/kit/mark.js +80 -96
- package/dist/kit/mark.js.map +1 -1
- package/dist/kit/place.d.ts +10 -8
- package/dist/kit/place.d.ts.map +1 -1
- package/dist/kit/place.js +28 -30
- package/dist/kit/place.js.map +1 -1
- package/dist/kit/system.d.ts +27 -29
- package/dist/kit/system.d.ts.map +1 -1
- package/dist/kit/system.js +62 -58
- package/dist/kit/system.js.map +1 -1
- package/dist/kit/withdrawn.d.ts +3 -3
- package/dist/kit/withdrawn.js +3 -3
- package/dist/kit/withdrawn.js.map +1 -1
- package/dist/marks/curve-area.d.ts +37 -18
- package/dist/marks/curve-area.d.ts.map +1 -1
- package/dist/marks/curve-area.js +50 -73
- package/dist/marks/curve-area.js.map +1 -1
- package/dist/marks/drop-lines.d.ts +45 -10
- package/dist/marks/drop-lines.d.ts.map +1 -1
- package/dist/marks/drop-lines.js +37 -52
- package/dist/marks/drop-lines.js.map +1 -1
- package/dist/marks/plot-point.d.ts +56 -20
- package/dist/marks/plot-point.d.ts.map +1 -1
- package/dist/marks/plot-point.js +65 -91
- package/dist/marks/plot-point.js.map +1 -1
- package/dist/marks/riemann-sum.d.ts +47 -26
- package/dist/marks/riemann-sum.d.ts.map +1 -1
- package/dist/marks/riemann-sum.js +57 -85
- package/dist/marks/riemann-sum.js.map +1 -1
- package/dist/marks/tangent-line.d.ts +58 -14
- package/dist/marks/tangent-line.d.ts.map +1 -1
- package/dist/marks/tangent-line.js +73 -87
- package/dist/marks/tangent-line.js.map +1 -1
- package/dist/marks/vector-arrow.d.ts +48 -20
- package/dist/marks/vector-arrow.d.ts.map +1 -1
- package/dist/marks/vector-arrow.js +58 -78
- package/dist/marks/vector-arrow.js.map +1 -1
- package/dist/nodes.d.ts +13 -5
- package/dist/nodes.d.ts.map +1 -1
- package/dist/nodes.js +0 -6
- package/dist/nodes.js.map +1 -1
- package/dist/plots/function-plot.d.ts +135 -43
- package/dist/plots/function-plot.d.ts.map +1 -1
- package/dist/plots/function-plot.js +146 -177
- package/dist/plots/function-plot.js.map +1 -1
- package/dist/plots/points-plot.d.ts +55 -19
- package/dist/plots/points-plot.d.ts.map +1 -1
- package/dist/plots/points-plot.js +31 -58
- package/dist/plots/points-plot.js.map +1 -1
- package/dist/plots/stream-lines.d.ts +60 -19
- package/dist/plots/stream-lines.d.ts.map +1 -1
- package/dist/plots/stream-lines.js +60 -79
- package/dist/plots/stream-lines.js.map +1 -1
- package/dist/plots/traced-path.d.ts +54 -15
- package/dist/plots/traced-path.d.ts.map +1 -1
- package/dist/plots/traced-path.js +33 -48
- package/dist/plots/traced-path.js.map +1 -1
- package/dist/plots/vector-field.d.ts +48 -11
- package/dist/plots/vector-field.d.ts.map +1 -1
- package/dist/plots/vector-field.js +50 -64
- package/dist/plots/vector-field.js.map +1 -1
- package/dist/structures/network-graph.d.ts +140 -49
- package/dist/structures/network-graph.d.ts.map +1 -1
- package/dist/structures/network-graph.js +168 -217
- package/dist/structures/network-graph.js.map +1 -1
- package/dist/structures/sample-space.d.ts +90 -38
- package/dist/structures/sample-space.d.ts.map +1 -1
- package/dist/structures/sample-space.js +132 -170
- package/dist/structures/sample-space.js.map +1 -1
- package/dist/systems/axes2d.d.ts +159 -37
- package/dist/systems/axes2d.d.ts.map +1 -1
- package/dist/systems/axes2d.js +147 -183
- package/dist/systems/axes2d.js.map +1 -1
- package/dist/systems/number-line.d.ts +80 -28
- package/dist/systems/number-line.d.ts.map +1 -1
- package/dist/systems/number-line.js +82 -118
- package/dist/systems/number-line.js.map +1 -1
- package/dist/systems/number-plane.d.ts +140 -31
- package/dist/systems/number-plane.d.ts.map +1 -1
- package/dist/systems/number-plane.js +142 -149
- package/dist/systems/number-plane.js.map +1 -1
- package/dist/systems/polar-plane.d.ts +76 -26
- package/dist/systems/polar-plane.d.ts.map +1 -1
- package/dist/systems/polar-plane.js +107 -133
- package/dist/systems/polar-plane.js.map +1 -1
- package/dist/tex/index.d.ts.map +1 -1
- package/dist/tex/index.js +1 -0
- package/dist/tex/index.js.map +1 -1
- package/dist/tex/matrix.d.ts +88 -18
- package/dist/tex/matrix.d.ts.map +1 -1
- package/dist/tex/matrix.js +33 -50
- package/dist/tex/matrix.js.map +1 -1
- package/dist/tex/node.d.ts +84 -201
- package/dist/tex/node.d.ts.map +1 -1
- package/dist/tex/node.js +23 -593
- package/dist/tex/node.js.map +1 -1
- package/dist/tex/typeset.d.ts +133 -0
- package/dist/tex/typeset.d.ts.map +1 -0
- package/dist/tex/typeset.js +403 -0
- package/dist/tex/typeset.js.map +1 -0
- package/dist/three/axes3d.d.ts +214 -54
- package/dist/three/axes3d.d.ts.map +1 -1
- package/dist/three/axes3d.js +163 -204
- package/dist/three/axes3d.js.map +1 -1
- package/dist/three/curve-plot3d.d.ts +108 -42
- package/dist/three/curve-plot3d.d.ts.map +1 -1
- package/dist/three/curve-plot3d.js +97 -132
- package/dist/three/curve-plot3d.js.map +1 -1
- package/dist/three/entries.d.ts +17 -0
- package/dist/three/entries.d.ts.map +1 -0
- package/dist/three/entries.js +15 -0
- package/dist/three/entries.js.map +1 -0
- package/dist/three/plot-point3d.d.ts +85 -12
- package/dist/three/plot-point3d.d.ts.map +1 -1
- package/dist/three/plot-point3d.js +27 -53
- package/dist/three/plot-point3d.js.map +1 -1
- package/dist/three/space.d.ts +17 -2
- package/dist/three/space.d.ts.map +1 -1
- package/dist/three/space.js +19 -8
- package/dist/three/space.js.map +1 -1
- package/dist/three/surface-plot3d.d.ts +176 -49
- package/dist/three/surface-plot3d.d.ts.map +1 -1
- package/dist/three/surface-plot3d.js +227 -261
- package/dist/three/surface-plot3d.js.map +1 -1
- package/dist/three/vector-arrow3d.d.ts +87 -16
- package/dist/three/vector-arrow3d.d.ts.map +1 -1
- package/dist/three/vector-arrow3d.js +48 -67
- package/dist/three/vector-arrow3d.js.map +1 -1
- package/package.json +4 -4
- package/src/annotate/angle-mark.ts +95 -105
- package/src/annotate/curly-brace.ts +107 -85
- package/src/annotate/emphasis-mark.ts +55 -26
- package/src/engine.ts +35 -21
- package/src/kit/component.ts +57 -0
- package/src/kit/curve.ts +38 -20
- package/src/kit/field-mark.ts +124 -108
- package/src/kit/follow.ts +146 -120
- package/src/kit/furniture.ts +6 -1
- package/src/kit/graph.ts +116 -0
- package/src/kit/mark.ts +135 -114
- package/src/kit/place.ts +32 -56
- package/src/kit/system.ts +77 -71
- package/src/kit/withdrawn.ts +3 -3
- package/src/marks/curve-area.ts +65 -65
- package/src/marks/drop-lines.ts +50 -42
- package/src/marks/plot-point.ts +77 -82
- package/src/marks/riemann-sum.ts +73 -72
- package/src/marks/tangent-line.ts +87 -71
- package/src/marks/vector-arrow.ts +73 -73
- package/src/nodes.ts +41 -5
- package/src/plots/function-plot.ts +155 -171
- package/src/plots/points-plot.ts +46 -50
- package/src/plots/stream-lines.ts +75 -66
- package/src/plots/traced-path.ts +51 -33
- package/src/plots/vector-field.ts +68 -49
- package/src/structures/network-graph.ts +168 -185
- package/src/structures/sample-space.ts +149 -148
- package/src/systems/axes2d.ts +165 -156
- package/src/systems/number-line.ts +91 -92
- package/src/systems/number-plane.ts +149 -120
- package/src/systems/polar-plane.ts +117 -116
- package/src/tex/index.ts +2 -1
- package/src/tex/matrix.ts +62 -40
- package/src/tex/node.ts +54 -621
- package/src/tex/typeset.ts +461 -0
- package/src/three/axes3d.ts +187 -160
- package/src/three/curve-plot3d.ts +107 -110
- package/src/three/entries.ts +42 -0
- package/src/three/plot-point3d.ts +42 -45
- package/src/three/space.ts +34 -9
- package/src/three/surface-plot3d.ts +312 -323
- package/src/three/vector-arrow3d.ts +65 -54
- package/dist/browser/chunks/chunk-3GJB6AVO.js +0 -2
- package/dist/browser/chunks/chunk-3GJB6AVO.js.map +0 -7
- package/dist/browser/chunks/chunk-D5WHCVBC.js +0 -2
- package/dist/browser/chunks/chunk-D5WHCVBC.js.map +0 -7
- package/dist/browser/chunks/chunk-WL4KEX7Y.js +0 -2
- package/dist/browser/chunks/chunk-WL4KEX7Y.js.map +0 -7
- package/src/kit/placement.ts +0 -8
package/dist/three/axes3d.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type Canvas3DProps, type Color, type NodeOf, type Alignment as _Alignment, type CornerRadiusResolved as _CornerRadiusResolved, type CornerStyleResolved as _CornerStyleResolved, type Fill as _Fill, type FillResolved as _FillResolved, type FlowMode as _FlowMode, type FlowResolved as _FlowResolved, type GapSize as _GapSize, type Node2D as _Node2D, type Node2DProps as _Node2DProps, type NormalizedColor as _NormalizedColor, type PostEffect3D as _PostEffect3D, type RectCornerRadius as _RectCornerRadius, type RectCornerStyle as _RectCornerStyle, type Shadow as _Shadow, type ShadowResolved as _ShadowResolved, type Shadows3D as _Shadows3D, type Stroke as _Stroke, type StrokeResolved as _StrokeResolved, type ToneMapping3D as _ToneMapping3D, type Vector2 as _Vector2 } from "@motionscript/sdk";
|
|
2
2
|
import type { Interval } from "../kit/coords.js";
|
|
3
|
-
import { type GraphSpace } from "./space.js";
|
|
4
3
|
export interface Axes3dProps extends Canvas3DProps {
|
|
5
4
|
xRange?: Interval;
|
|
6
5
|
yRange?: Interval;
|
|
@@ -32,56 +31,217 @@ export interface Axes3dProps extends Canvas3DProps {
|
|
|
32
31
|
* does. Its 3D children sit in its graph coordinates: a surface, a space curve,
|
|
33
32
|
* a point, an arrow, or any 3D node. `orbitTo` swings the camera round it.
|
|
34
33
|
*/
|
|
35
|
-
export declare
|
|
36
|
-
xRange: Interval
|
|
37
|
-
yRange: Interval
|
|
38
|
-
zRange: Interval
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
34
|
+
export declare const Axes3d: import("@motionscript/sdk").Component<"axes3d", import("@motionscript/sdk").Merge<import("@motionscript/sdk").Box2DState, {
|
|
35
|
+
readonly xRange: import("@motionscript/sdk").Type<Interval, Interval, false>;
|
|
36
|
+
readonly yRange: import("@motionscript/sdk").Type<Interval, Interval, false>;
|
|
37
|
+
readonly zRange: import("@motionscript/sdk").Type<Interval, Interval, false>;
|
|
38
|
+
readonly xLength: import("@motionscript/sdk").Type<number, number, false>;
|
|
39
|
+
readonly yLength: import("@motionscript/sdk").Type<number, number, false>;
|
|
40
|
+
readonly zLength: import("@motionscript/sdk").Type<number, number, false>;
|
|
41
|
+
readonly xStep: import("@motionscript/sdk").Type<number, number, false>;
|
|
42
|
+
readonly yStep: import("@motionscript/sdk").Type<number, number, false>;
|
|
43
|
+
readonly zStep: import("@motionscript/sdk").Type<number, number, false>;
|
|
44
|
+
readonly color: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
45
|
+
readonly thickness: import("@motionscript/sdk").Type<number, number, false>;
|
|
46
|
+
readonly tips: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
47
|
+
readonly ticks: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
48
|
+
readonly tickSize: import("@motionscript/sdk").Type<number, number, false>;
|
|
49
|
+
readonly grid: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
50
|
+
readonly gridLineColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
51
|
+
readonly labels: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
52
|
+
readonly labelSize: import("@motionscript/sdk").Type<number, number, false>;
|
|
53
|
+
readonly labelColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
54
|
+
readonly fontFamily: import("@motionscript/sdk").Type<string, string, false>;
|
|
55
|
+
readonly xLabel: import("@motionscript/sdk").Type<string, string, false>;
|
|
56
|
+
readonly yLabel: import("@motionscript/sdk").Type<string, string, false>;
|
|
57
|
+
readonly zLabel: import("@motionscript/sdk").Type<string, string, false>;
|
|
58
|
+
readonly orbit: import("@motionscript/sdk").Type<number, number, false>;
|
|
59
|
+
readonly elevation: import("@motionscript/sdk").Type<number, number, false>;
|
|
60
|
+
readonly zoom: import("@motionscript/sdk").Type<number, number, false>;
|
|
61
|
+
readonly fov: import("@motionscript/sdk").Type<number, number, false>;
|
|
62
|
+
readonly ambientIntensity: import("@motionscript/sdk").Type<number, number, false>;
|
|
63
|
+
readonly ambientColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
64
|
+
readonly keyIntensity: import("@motionscript/sdk").Type<number, number, false>;
|
|
65
|
+
readonly keyColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
66
|
+
readonly showGrid: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
67
|
+
readonly gridSize: import("@motionscript/sdk").Type<number, number, false>;
|
|
68
|
+
readonly gridDivisions: import("@motionscript/sdk").Type<number, number, false>;
|
|
69
|
+
readonly gridMajorEvery: import("@motionscript/sdk").Type<number, number, false>;
|
|
70
|
+
readonly gridColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
71
|
+
readonly gridMajorColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
72
|
+
readonly showAxes: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
73
|
+
readonly axisXColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
74
|
+
readonly axisZColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
75
|
+
readonly gridFade: import("@motionscript/sdk").Type<number, number, false>;
|
|
76
|
+
readonly gridFadeColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
77
|
+
readonly maxPixelRatio: import("@motionscript/sdk").Type<number, number, false>;
|
|
78
|
+
readonly antialias: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
79
|
+
readonly shadows: import("@motionscript/sdk").Type<_Shadows3D, _Shadows3D, false>;
|
|
80
|
+
readonly tone: import("@motionscript/sdk").Type<_ToneMapping3D | undefined, _ToneMapping3D | undefined, false>;
|
|
81
|
+
readonly exposure: import("@motionscript/sdk").Type<number | undefined, number | undefined, false>;
|
|
82
|
+
readonly post: import("@motionscript/sdk").Type<_PostEffect3D | readonly _PostEffect3D[] | undefined, _PostEffect3D | readonly _PostEffect3D[] | undefined, false>;
|
|
83
|
+
readonly cornerRadius: import("@motionscript/sdk").Attribute<_RectCornerRadius, _CornerRadiusResolved>;
|
|
84
|
+
readonly cornerStyle: import("@motionscript/sdk").Attribute<_RectCornerStyle, _CornerStyleResolved>;
|
|
85
|
+
readonly flow: import("@motionscript/sdk").Type<_FlowMode, _FlowResolved, false>;
|
|
86
|
+
readonly gap: import("@motionscript/sdk").Type<_GapSize, _GapSize, false>;
|
|
87
|
+
readonly wrap: boolean;
|
|
88
|
+
readonly crossGap: import("@motionscript/sdk").Type<number | undefined, number | undefined, false>;
|
|
89
|
+
readonly columns: import("@motionscript/sdk").Type<number, number, false>;
|
|
90
|
+
readonly align: import("@motionscript/sdk").Attribute<_Alignment, _Vector2>;
|
|
91
|
+
readonly fill: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
|
|
92
|
+
readonly stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
93
|
+
readonly shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
|
|
94
|
+
readonly overlay: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
|
|
95
|
+
readonly start: import("@motionscript/sdk").Type<number, number, false>;
|
|
96
|
+
readonly end: import("@motionscript/sdk").Type<number, number, false>;
|
|
97
|
+
}>, {
|
|
98
|
+
readonly rangeTo: readonly ["xRange", "yRange", "zRange"];
|
|
99
|
+
readonly orbitTo: readonly ["orbit", "elevation", "zoom"];
|
|
100
|
+
readonly fillTo: readonly ["fill"];
|
|
101
|
+
readonly strokeTo: readonly ["stroke"];
|
|
102
|
+
readonly shadowTo: readonly ["shadow"];
|
|
103
|
+
readonly overlayTo: readonly ["overlay"];
|
|
104
|
+
readonly progressTo: readonly ["start", "end"];
|
|
105
|
+
readonly flash: {
|
|
106
|
+
readonly portion: import("@motionscript/sdk").Type<number, number, false>;
|
|
107
|
+
};
|
|
108
|
+
}, readonly ["2d", "3d"], _Node2D<_Node2DProps>, import("@motionscript/sdk").CallProps<import("@motionscript/sdk").Merge<import("@motionscript/sdk").Box2DState, {
|
|
109
|
+
readonly xRange: import("@motionscript/sdk").Type<Interval, Interval, false>;
|
|
110
|
+
readonly yRange: import("@motionscript/sdk").Type<Interval, Interval, false>;
|
|
111
|
+
readonly zRange: import("@motionscript/sdk").Type<Interval, Interval, false>;
|
|
112
|
+
readonly xLength: import("@motionscript/sdk").Type<number, number, false>;
|
|
113
|
+
readonly yLength: import("@motionscript/sdk").Type<number, number, false>;
|
|
114
|
+
readonly zLength: import("@motionscript/sdk").Type<number, number, false>;
|
|
115
|
+
readonly xStep: import("@motionscript/sdk").Type<number, number, false>;
|
|
116
|
+
readonly yStep: import("@motionscript/sdk").Type<number, number, false>;
|
|
117
|
+
readonly zStep: import("@motionscript/sdk").Type<number, number, false>;
|
|
118
|
+
readonly color: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
119
|
+
readonly thickness: import("@motionscript/sdk").Type<number, number, false>;
|
|
120
|
+
readonly tips: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
121
|
+
readonly ticks: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
122
|
+
readonly tickSize: import("@motionscript/sdk").Type<number, number, false>;
|
|
123
|
+
readonly grid: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
124
|
+
readonly gridLineColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
125
|
+
readonly labels: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
126
|
+
readonly labelSize: import("@motionscript/sdk").Type<number, number, false>;
|
|
127
|
+
readonly labelColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
128
|
+
readonly fontFamily: import("@motionscript/sdk").Type<string, string, false>;
|
|
129
|
+
readonly xLabel: import("@motionscript/sdk").Type<string, string, false>;
|
|
130
|
+
readonly yLabel: import("@motionscript/sdk").Type<string, string, false>;
|
|
131
|
+
readonly zLabel: import("@motionscript/sdk").Type<string, string, false>;
|
|
132
|
+
readonly orbit: import("@motionscript/sdk").Type<number, number, false>;
|
|
133
|
+
readonly elevation: import("@motionscript/sdk").Type<number, number, false>;
|
|
134
|
+
readonly zoom: import("@motionscript/sdk").Type<number, number, false>;
|
|
135
|
+
readonly fov: import("@motionscript/sdk").Type<number, number, false>;
|
|
136
|
+
readonly ambientIntensity: import("@motionscript/sdk").Type<number, number, false>;
|
|
137
|
+
readonly ambientColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
138
|
+
readonly keyIntensity: import("@motionscript/sdk").Type<number, number, false>;
|
|
139
|
+
readonly keyColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
140
|
+
readonly showGrid: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
141
|
+
readonly gridSize: import("@motionscript/sdk").Type<number, number, false>;
|
|
142
|
+
readonly gridDivisions: import("@motionscript/sdk").Type<number, number, false>;
|
|
143
|
+
readonly gridMajorEvery: import("@motionscript/sdk").Type<number, number, false>;
|
|
144
|
+
readonly gridColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
145
|
+
readonly gridMajorColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
146
|
+
readonly showAxes: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
147
|
+
readonly axisXColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
148
|
+
readonly axisZColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
149
|
+
readonly gridFade: import("@motionscript/sdk").Type<number, number, false>;
|
|
150
|
+
readonly gridFadeColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
151
|
+
readonly maxPixelRatio: import("@motionscript/sdk").Type<number, number, false>;
|
|
152
|
+
readonly antialias: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
153
|
+
readonly shadows: import("@motionscript/sdk").Type<_Shadows3D, _Shadows3D, false>;
|
|
154
|
+
readonly tone: import("@motionscript/sdk").Type<_ToneMapping3D | undefined, _ToneMapping3D | undefined, false>;
|
|
155
|
+
readonly exposure: import("@motionscript/sdk").Type<number | undefined, number | undefined, false>;
|
|
156
|
+
readonly post: import("@motionscript/sdk").Type<_PostEffect3D | readonly _PostEffect3D[] | undefined, _PostEffect3D | readonly _PostEffect3D[] | undefined, false>;
|
|
157
|
+
readonly cornerRadius: import("@motionscript/sdk").Attribute<_RectCornerRadius, _CornerRadiusResolved>;
|
|
158
|
+
readonly cornerStyle: import("@motionscript/sdk").Attribute<_RectCornerStyle, _CornerStyleResolved>;
|
|
159
|
+
readonly flow: import("@motionscript/sdk").Type<_FlowMode, _FlowResolved, false>;
|
|
160
|
+
readonly gap: import("@motionscript/sdk").Type<_GapSize, _GapSize, false>;
|
|
161
|
+
readonly wrap: boolean;
|
|
162
|
+
readonly crossGap: import("@motionscript/sdk").Type<number | undefined, number | undefined, false>;
|
|
163
|
+
readonly columns: import("@motionscript/sdk").Type<number, number, false>;
|
|
164
|
+
readonly align: import("@motionscript/sdk").Attribute<_Alignment, _Vector2>;
|
|
165
|
+
readonly fill: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
|
|
166
|
+
readonly stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
167
|
+
readonly shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
|
|
168
|
+
readonly overlay: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
|
|
169
|
+
readonly start: import("@motionscript/sdk").Type<number, number, false>;
|
|
170
|
+
readonly end: import("@motionscript/sdk").Type<number, number, false>;
|
|
171
|
+
}>, readonly ["2d", "3d"], import("@motionscript/sdk").BuiltNode<import("@motionscript/sdk").Merge<import("@motionscript/sdk").Box2DState, {
|
|
172
|
+
readonly xRange: import("@motionscript/sdk").Type<Interval, Interval, false>;
|
|
173
|
+
readonly yRange: import("@motionscript/sdk").Type<Interval, Interval, false>;
|
|
174
|
+
readonly zRange: import("@motionscript/sdk").Type<Interval, Interval, false>;
|
|
175
|
+
readonly xLength: import("@motionscript/sdk").Type<number, number, false>;
|
|
176
|
+
readonly yLength: import("@motionscript/sdk").Type<number, number, false>;
|
|
177
|
+
readonly zLength: import("@motionscript/sdk").Type<number, number, false>;
|
|
178
|
+
readonly xStep: import("@motionscript/sdk").Type<number, number, false>;
|
|
179
|
+
readonly yStep: import("@motionscript/sdk").Type<number, number, false>;
|
|
180
|
+
readonly zStep: import("@motionscript/sdk").Type<number, number, false>;
|
|
181
|
+
readonly color: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
182
|
+
readonly thickness: import("@motionscript/sdk").Type<number, number, false>;
|
|
183
|
+
readonly tips: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
184
|
+
readonly ticks: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
185
|
+
readonly tickSize: import("@motionscript/sdk").Type<number, number, false>;
|
|
186
|
+
readonly grid: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
187
|
+
readonly gridLineColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
188
|
+
readonly labels: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
189
|
+
readonly labelSize: import("@motionscript/sdk").Type<number, number, false>;
|
|
190
|
+
readonly labelColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
191
|
+
readonly fontFamily: import("@motionscript/sdk").Type<string, string, false>;
|
|
192
|
+
readonly xLabel: import("@motionscript/sdk").Type<string, string, false>;
|
|
193
|
+
readonly yLabel: import("@motionscript/sdk").Type<string, string, false>;
|
|
194
|
+
readonly zLabel: import("@motionscript/sdk").Type<string, string, false>;
|
|
195
|
+
readonly orbit: import("@motionscript/sdk").Type<number, number, false>;
|
|
196
|
+
readonly elevation: import("@motionscript/sdk").Type<number, number, false>;
|
|
197
|
+
readonly zoom: import("@motionscript/sdk").Type<number, number, false>;
|
|
198
|
+
readonly fov: import("@motionscript/sdk").Type<number, number, false>;
|
|
199
|
+
readonly ambientIntensity: import("@motionscript/sdk").Type<number, number, false>;
|
|
200
|
+
readonly ambientColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
201
|
+
readonly keyIntensity: import("@motionscript/sdk").Type<number, number, false>;
|
|
202
|
+
readonly keyColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
203
|
+
readonly showGrid: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
204
|
+
readonly gridSize: import("@motionscript/sdk").Type<number, number, false>;
|
|
205
|
+
readonly gridDivisions: import("@motionscript/sdk").Type<number, number, false>;
|
|
206
|
+
readonly gridMajorEvery: import("@motionscript/sdk").Type<number, number, false>;
|
|
207
|
+
readonly gridColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
208
|
+
readonly gridMajorColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
209
|
+
readonly showAxes: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
210
|
+
readonly axisXColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
211
|
+
readonly axisZColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
212
|
+
readonly gridFade: import("@motionscript/sdk").Type<number, number, false>;
|
|
213
|
+
readonly gridFadeColor: import("@motionscript/sdk").Type<Color, _NormalizedColor, false>;
|
|
214
|
+
readonly maxPixelRatio: import("@motionscript/sdk").Type<number, number, false>;
|
|
215
|
+
readonly antialias: import("@motionscript/sdk").Type<boolean, boolean, false>;
|
|
216
|
+
readonly shadows: import("@motionscript/sdk").Type<_Shadows3D, _Shadows3D, false>;
|
|
217
|
+
readonly tone: import("@motionscript/sdk").Type<_ToneMapping3D | undefined, _ToneMapping3D | undefined, false>;
|
|
218
|
+
readonly exposure: import("@motionscript/sdk").Type<number | undefined, number | undefined, false>;
|
|
219
|
+
readonly post: import("@motionscript/sdk").Type<_PostEffect3D | readonly _PostEffect3D[] | undefined, _PostEffect3D | readonly _PostEffect3D[] | undefined, false>;
|
|
220
|
+
readonly cornerRadius: import("@motionscript/sdk").Attribute<_RectCornerRadius, _CornerRadiusResolved>;
|
|
221
|
+
readonly cornerStyle: import("@motionscript/sdk").Attribute<_RectCornerStyle, _CornerStyleResolved>;
|
|
222
|
+
readonly flow: import("@motionscript/sdk").Type<_FlowMode, _FlowResolved, false>;
|
|
223
|
+
readonly gap: import("@motionscript/sdk").Type<_GapSize, _GapSize, false>;
|
|
224
|
+
readonly wrap: boolean;
|
|
225
|
+
readonly crossGap: import("@motionscript/sdk").Type<number | undefined, number | undefined, false>;
|
|
226
|
+
readonly columns: import("@motionscript/sdk").Type<number, number, false>;
|
|
227
|
+
readonly align: import("@motionscript/sdk").Attribute<_Alignment, _Vector2>;
|
|
228
|
+
readonly fill: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
|
|
229
|
+
readonly stroke: import("@motionscript/sdk").Attribute<_Stroke, _StrokeResolved[]>;
|
|
230
|
+
readonly shadow: import("@motionscript/sdk").Attribute<_Shadow, _ShadowResolved[]>;
|
|
231
|
+
readonly overlay: import("@motionscript/sdk").Attribute<_Fill, _FillResolved[]>;
|
|
232
|
+
readonly start: import("@motionscript/sdk").Type<number, number, false>;
|
|
233
|
+
readonly end: import("@motionscript/sdk").Type<number, number, false>;
|
|
234
|
+
}>, {
|
|
235
|
+
readonly rangeTo: readonly ["xRange", "yRange", "zRange"];
|
|
236
|
+
readonly orbitTo: readonly ["orbit", "elevation", "zoom"];
|
|
237
|
+
readonly fillTo: readonly ["fill"];
|
|
238
|
+
readonly strokeTo: readonly ["stroke"];
|
|
239
|
+
readonly shadowTo: readonly ["shadow"];
|
|
240
|
+
readonly overlayTo: readonly ["overlay"];
|
|
241
|
+
readonly progressTo: readonly ["start", "end"];
|
|
242
|
+
readonly flash: {
|
|
243
|
+
readonly portion: import("@motionscript/sdk").Type<number, number, false>;
|
|
244
|
+
};
|
|
245
|
+
}, _Node2D<_Node2DProps>>>>;
|
|
246
|
+
export type Axes3d = NodeOf<typeof Axes3d>;
|
|
87
247
|
//# sourceMappingURL=axes3d.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axes3d.d.ts","sourceRoot":"","sources":["../../src/three/axes3d.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"axes3d.d.ts","sourceRoot":"","sources":["../../src/three/axes3d.ts"],"names":[],"mappings":"AAAA,OAAO,EAWH,KAAK,aAAa,EAClB,KAAK,KAAK,EACV,KAAK,MAAM,EAOX,KAAK,SAAS,IAAI,UAAU,EAC5B,KAAK,oBAAoB,IAAI,qBAAqB,EAClD,KAAK,mBAAmB,IAAI,oBAAoB,EAChD,KAAK,IAAI,IAAI,KAAK,EAClB,KAAK,YAAY,IAAI,aAAa,EAClC,KAAK,QAAQ,IAAI,SAAS,EAC1B,KAAK,YAAY,IAAI,aAAa,EAClC,KAAK,OAAO,IAAI,QAAQ,EACxB,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,WAAW,IAAI,YAAY,EAChC,KAAK,eAAe,IAAI,gBAAgB,EACxC,KAAK,YAAY,IAAI,aAAa,EAClC,KAAK,gBAAgB,IAAI,iBAAiB,EAC1C,KAAK,eAAe,IAAI,gBAAgB,EACxC,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACtC,KAAK,SAAS,IAAI,UAAU,EAC5B,KAAK,MAAM,IAAI,OAAO,EACtB,KAAK,cAAc,IAAI,eAAe,EACtC,KAAK,aAAa,IAAI,cAAc,EACpC,KAAK,OAAO,IAAI,QAAQ,EAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAO9C,MAAM,WAAW,WAAY,SAAQ,aAAa;IAC9C,MAAM,CAAC,EAAE,QAAQ,CAAC;IAClB,MAAM,CAAC,EAAE,QAAQ,CAAC;IAClB,MAAM,CAAC,EAAE,QAAQ,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAsDD;;;;;GAKG;AACH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAoBjB,CAAC;AAEH,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,OAAO,MAAM,CAAC,CAAC"}
|