manim-web 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/audio/Voiceover.d.ts +95 -0
- package/dist/audio/Voiceover.d.ts.map +1 -0
- package/dist/audio/VoiceoverScene.d.ts +28 -0
- package/dist/audio/VoiceoverScene.d.ts.map +1 -0
- package/dist/audio/bookmarks.d.ts +40 -0
- package/dist/audio/bookmarks.d.ts.map +1 -0
- package/dist/audio/speechSynthesizer.d.ts +95 -0
- package/dist/audio/speechSynthesizer.d.ts.map +1 -0
- package/dist/core/Mobject.d.ts +31 -0
- package/dist/core/Mobject.d.ts.map +1 -1
- package/dist/core/Scene.d.ts +9 -0
- package/dist/core/Scene.d.ts.map +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/integrations/react.js +17 -17
- package/dist/integrations/vue.js +16 -16
- package/dist/interaction/MovablePoint.d.ts +127 -0
- package/dist/interaction/MovablePoint.d.ts.map +1 -0
- package/dist/interaction/Slider.d.ts +125 -0
- package/dist/interaction/Slider.d.ts.map +1 -0
- package/dist/interaction/index.d.ts +2 -0
- package/dist/interaction/index.d.ts.map +1 -1
- package/dist/manim-web.browser.js +4226 -3491
- package/dist/mobjects/svg/SVGMobject.d.ts +29 -0
- package/dist/mobjects/svg/SVGMobject.d.ts.map +1 -1
- package/dist/mobjects/svg/index.d.ts +3 -1
- package/dist/mobjects/svg/index.d.ts.map +1 -1
- package/dist/mobjects/svg/svgFill.d.ts +42 -0
- package/dist/mobjects/svg/svgFill.d.ts.map +1 -0
- package/dist/mobjects/svg/svgGradients.d.ts +68 -0
- package/dist/mobjects/svg/svgGradients.d.ts.map +1 -0
- package/dist/mobjects/svg/svgImage.d.ts +9 -0
- package/dist/mobjects/svg/svgImage.d.ts.map +1 -0
- package/dist/mobjects/svg/svgLoader.d.ts +35 -0
- package/dist/mobjects/svg/svgLoader.d.ts.map +1 -0
- package/dist/mobjects/svg/svgText.d.ts +15 -0
- package/dist/mobjects/svg/svgText.d.ts.map +1 -0
- package/dist/rendering/blendModes.d.ts +38 -0
- package/dist/rendering/blendModes.d.ts.map +1 -0
- package/dist/{src-C817VR8M.js → src-BQF5-SG7.js} +6267 -5532
- package/dist/utils/ThemeManager.d.ts +79 -0
- package/dist/utils/ThemeManager.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { Dot } from '../mobjects/geometry/Dot';
|
|
2
|
+
import { Vector3Tuple } from '../core/Mobject';
|
|
3
|
+
import { Scene } from '../core/Scene';
|
|
4
|
+
import { ValueTracker } from '../mobjects/value-tracker/ValueTracker';
|
|
5
|
+
import { Draggable } from './Draggable';
|
|
6
|
+
/**
|
|
7
|
+
* Options for creating a {@link MovablePoint}.
|
|
8
|
+
*/
|
|
9
|
+
export interface MovablePointOptions {
|
|
10
|
+
/** Initial position. Default: [0, 0, 0]. */
|
|
11
|
+
point?: Vector3Tuple;
|
|
12
|
+
/** Fill color as a CSS color string. Default: YELLOW. */
|
|
13
|
+
color?: string;
|
|
14
|
+
/** Radius of the dot. Default: 0.1. */
|
|
15
|
+
radius?: number;
|
|
16
|
+
/** Called with the new position whenever the point moves. */
|
|
17
|
+
onChange?: (position: Vector3Tuple) => void;
|
|
18
|
+
/** ValueTracker that receives the point's x coordinate. */
|
|
19
|
+
xTracker?: ValueTracker;
|
|
20
|
+
/** ValueTracker that receives the point's y coordinate. */
|
|
21
|
+
yTracker?: ValueTracker;
|
|
22
|
+
/**
|
|
23
|
+
* Re-render the scene after each drag update. Default: true. Set false when
|
|
24
|
+
* a render loop (play(), wait() with updaters) is already running.
|
|
25
|
+
*/
|
|
26
|
+
autoRender?: boolean;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* MovablePoint — a draggable in-scene point whose position drives bound values.
|
|
30
|
+
*
|
|
31
|
+
* It is a {@link Dot} the reader can drag with the mouse or a finger. Each move
|
|
32
|
+
* writes the new x and y into the bound {@link ValueTracker}s and calls
|
|
33
|
+
* `onChange`, so dependent mobjects update live through the normal updater or
|
|
34
|
+
* `alwaysRedraw` path. This is the Desmos-style interactivity that drives an
|
|
35
|
+
* explorable explanation.
|
|
36
|
+
*
|
|
37
|
+
* The point can be constrained to stay on a graph (`constrainToFunction`), a
|
|
38
|
+
* parametric curve (`constrainToParametric`), an infinite line
|
|
39
|
+
* (`constrainToLine`) or a finite segment (`constrainToSegment`).
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```typescript
|
|
43
|
+
* const xT = new ValueTracker(1);
|
|
44
|
+
* const p = new MovablePoint(scene, { point: [1, 1, 0], xTracker: xT });
|
|
45
|
+
* p.constrainToFunction((x) => Math.sin(x));
|
|
46
|
+
* scene.add(p);
|
|
47
|
+
*
|
|
48
|
+
* // A label that always reads the live x value.
|
|
49
|
+
* const label = alwaysRedraw(() => new DecimalNumber({ value: xT.getValue() }));
|
|
50
|
+
* scene.add(label);
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare class MovablePoint extends Dot {
|
|
54
|
+
private _draggable;
|
|
55
|
+
private _onChange?;
|
|
56
|
+
private _xTracker?;
|
|
57
|
+
private _yTracker?;
|
|
58
|
+
private _constraint;
|
|
59
|
+
private _parameter;
|
|
60
|
+
/**
|
|
61
|
+
* Create a MovablePoint.
|
|
62
|
+
* @param scene - The scene the point lives in (needed for pointer events).
|
|
63
|
+
* @param options - Appearance, bound trackers and the change callback.
|
|
64
|
+
*/
|
|
65
|
+
constructor(scene: Scene, options?: MovablePointOptions);
|
|
66
|
+
/**
|
|
67
|
+
* Move the point to a position, applying any active constraint, syncing the
|
|
68
|
+
* bound trackers and firing `onChange`.
|
|
69
|
+
* @param point - The requested position (before constraint projection).
|
|
70
|
+
* @returns this for chaining.
|
|
71
|
+
*/
|
|
72
|
+
setPoint(point: Vector3Tuple): this;
|
|
73
|
+
/**
|
|
74
|
+
* Keep the point on the graph y = f(x) while dragging.
|
|
75
|
+
* @param fn - The graph function.
|
|
76
|
+
* @returns this for chaining.
|
|
77
|
+
*/
|
|
78
|
+
constrainToFunction(fn: (x: number) => number): this;
|
|
79
|
+
/**
|
|
80
|
+
* Keep the point on a parametric curve, projecting the drag to the nearest
|
|
81
|
+
* point on the curve.
|
|
82
|
+
* @param fn - Maps a parameter t to a point [x, y].
|
|
83
|
+
* @param tRange - [tMin, tMax] and an optional sample count (default 256).
|
|
84
|
+
* @returns this for chaining.
|
|
85
|
+
*/
|
|
86
|
+
constrainToParametric(fn: (t: number) => [number, number], tRange: [number, number] | [number, number, number]): this;
|
|
87
|
+
/**
|
|
88
|
+
* Keep the point on the infinite line through p1 and p2.
|
|
89
|
+
* @param p1 - A point on the line.
|
|
90
|
+
* @param p2 - A second point on the line.
|
|
91
|
+
* @returns this for chaining.
|
|
92
|
+
*/
|
|
93
|
+
constrainToLine(p1: Vector3Tuple, p2: Vector3Tuple): this;
|
|
94
|
+
/**
|
|
95
|
+
* Keep the point on the finite segment from p1 to p2 (clamped to the ends).
|
|
96
|
+
* @param p1 - The start of the segment.
|
|
97
|
+
* @param p2 - The end of the segment.
|
|
98
|
+
* @returns this for chaining.
|
|
99
|
+
*/
|
|
100
|
+
constrainToSegment(p1: Vector3Tuple, p2: Vector3Tuple): this;
|
|
101
|
+
/**
|
|
102
|
+
* Remove any active constraint so the point drags freely again.
|
|
103
|
+
* @returns this for chaining.
|
|
104
|
+
*/
|
|
105
|
+
clearConstraint(): this;
|
|
106
|
+
/**
|
|
107
|
+
* Get the current parameter t from the last parametric projection, or null
|
|
108
|
+
* when no parametric constraint is active.
|
|
109
|
+
*/
|
|
110
|
+
getParameter(): number | null;
|
|
111
|
+
/** Get the underlying {@link Draggable} behavior. */
|
|
112
|
+
getDraggable(): Draggable;
|
|
113
|
+
/** Remove pointer-event listeners. Call when the point is no longer used. */
|
|
114
|
+
dispose(): void;
|
|
115
|
+
/** Apply the current constraint to the current position without firing onChange. */
|
|
116
|
+
private _reproject;
|
|
117
|
+
private _commit;
|
|
118
|
+
private _syncTrackers;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Factory function to create a {@link MovablePoint}.
|
|
122
|
+
* @param scene - The scene the point lives in.
|
|
123
|
+
* @param options - Appearance, bound trackers and the change callback.
|
|
124
|
+
* @returns A new MovablePoint.
|
|
125
|
+
*/
|
|
126
|
+
export declare function makeMovablePoint(scene: Scene, options?: MovablePointOptions): MovablePoint;
|
|
127
|
+
//# sourceMappingURL=MovablePoint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MovablePoint.d.ts","sourceRoot":"","sources":["../../src/interaction/MovablePoint.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAEtE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQxC;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,4CAA4C;IAC5C,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uCAAuC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAC;IAC5C,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBAAa,YAAa,SAAQ,GAAG;IACnC,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
|
|
1
|
+
import { Group } from '../core/Group';
|
|
2
|
+
import { Vector3Tuple } from '../core/Mobject';
|
|
3
|
+
import { Scene } from '../core/Scene';
|
|
4
|
+
import { Dot } from '../mobjects/geometry/Dot';
|
|
5
|
+
import { Line } from '../mobjects/geometry/Line';
|
|
6
|
+
import { DecimalNumber } from '../mobjects/text/DecimalNumber';
|
|
7
|
+
import { ValueTracker } from '../mobjects/value-tracker/ValueTracker';
|
|
8
|
+
import { Draggable } from './Draggable';
|
|
9
|
+
/**
|
|
10
|
+
* Options for creating a {@link Slider}.
|
|
11
|
+
*/
|
|
12
|
+
export interface SliderOptions {
|
|
13
|
+
/** Minimum value at the left end of the track. Default: 0. */
|
|
14
|
+
min?: number;
|
|
15
|
+
/** Maximum value at the right end of the track. Default: 1. */
|
|
16
|
+
max?: number;
|
|
17
|
+
/** Step to snap values to. 0 means continuous. Default: 0. */
|
|
18
|
+
step?: number;
|
|
19
|
+
/** Initial value. Default: min. */
|
|
20
|
+
value?: number;
|
|
21
|
+
/** Track length in world units. Default: 4. */
|
|
22
|
+
length?: number;
|
|
23
|
+
/** World position of the track center. Default: [0, 0, 0]. */
|
|
24
|
+
center?: Vector3Tuple;
|
|
25
|
+
/** Handle color as a CSS color string. Default: BLUE. */
|
|
26
|
+
color?: string;
|
|
27
|
+
/** Track color as a CSS color string. Default: GRAY. */
|
|
28
|
+
trackColor?: string;
|
|
29
|
+
/** Handle radius. Default: 0.12. */
|
|
30
|
+
handleRadius?: number;
|
|
31
|
+
/** ValueTracker to bind the slider value to. One is created when omitted. */
|
|
32
|
+
tracker?: ValueTracker;
|
|
33
|
+
/** Show a numeric label above the handle. Default: false. */
|
|
34
|
+
showLabel?: boolean;
|
|
35
|
+
/** Decimal places for the label. Default: 2. */
|
|
36
|
+
numDecimalPlaces?: number;
|
|
37
|
+
/** Called with the new value whenever the slider moves. */
|
|
38
|
+
onChange?: (value: number) => void;
|
|
39
|
+
/**
|
|
40
|
+
* Re-render the scene after each drag update. Default: true. Set false when
|
|
41
|
+
* a render loop (play(), wait() with updaters) is already running.
|
|
42
|
+
*/
|
|
43
|
+
autoRender?: boolean;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Slider — an in-scene slider mobject bound to a {@link ValueTracker}.
|
|
47
|
+
*
|
|
48
|
+
* Unlike the DOM `Controls.addSlider` widget, this slider is drawn from
|
|
49
|
+
* mobjects (a track {@link Line} and a draggable handle {@link Dot}), so it
|
|
50
|
+
* lives in animation world space and exports and records with the scene.
|
|
51
|
+
* Dragging the handle maps its position to a value with min, max and step,
|
|
52
|
+
* writes the value into the bound tracker and calls `onChange`, so dependent
|
|
53
|
+
* mobjects update live through the normal updater or `alwaysRedraw` path.
|
|
54
|
+
*
|
|
55
|
+
* Position the slider with the `center` option rather than by moving the
|
|
56
|
+
* group, so the drag mapping stays aligned with the track.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ```typescript
|
|
60
|
+
* const t = new ValueTracker(0);
|
|
61
|
+
* const slider = new Slider(scene, { min: -3, max: 3, step: 0.1, tracker: t });
|
|
62
|
+
* scene.add(slider);
|
|
63
|
+
* // A curve that redraws from the live slider value.
|
|
64
|
+
* scene.add(alwaysRedraw(() => axes.plot((x) => t.getValue() * x * x)));
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
export declare class Slider extends Group {
|
|
68
|
+
private _min;
|
|
69
|
+
private _max;
|
|
70
|
+
private _step;
|
|
71
|
+
private _length;
|
|
72
|
+
private _center;
|
|
73
|
+
private _trackY;
|
|
74
|
+
private _value;
|
|
75
|
+
private _tracker;
|
|
76
|
+
private _onChange?;
|
|
77
|
+
private _track;
|
|
78
|
+
private _handle;
|
|
79
|
+
private _label;
|
|
80
|
+
private _draggable;
|
|
81
|
+
/**
|
|
82
|
+
* Create a Slider.
|
|
83
|
+
* @param scene - The scene the slider lives in (needed for pointer events).
|
|
84
|
+
* @param options - Range, step, appearance and the bound tracker.
|
|
85
|
+
*/
|
|
86
|
+
constructor(scene: Scene, options?: SliderOptions);
|
|
87
|
+
/** Get the current slider value. */
|
|
88
|
+
getValue(): number;
|
|
89
|
+
/**
|
|
90
|
+
* Set the slider value, clamping to [min, max] and snapping to the step.
|
|
91
|
+
* Updates the handle position, the bound tracker, the label and fires
|
|
92
|
+
* `onChange`.
|
|
93
|
+
* @param value - The requested value.
|
|
94
|
+
* @returns this for chaining.
|
|
95
|
+
*/
|
|
96
|
+
setValue(value: number): this;
|
|
97
|
+
/** Get the bound {@link ValueTracker}. */
|
|
98
|
+
getValueTracker(): ValueTracker;
|
|
99
|
+
/** Get the track {@link Line} mobject. */
|
|
100
|
+
getTrack(): Line;
|
|
101
|
+
/** Get the draggable handle {@link Dot} mobject. */
|
|
102
|
+
getHandle(): Dot;
|
|
103
|
+
/** Get the value label, or null when `showLabel` was not set. */
|
|
104
|
+
getLabel(): DecimalNumber | null;
|
|
105
|
+
/** Get the underlying {@link Draggable} behavior for the handle. */
|
|
106
|
+
getDraggable(): Draggable;
|
|
107
|
+
/** Remove pointer-event listeners. Call when the slider is no longer used. */
|
|
108
|
+
dispose(): void;
|
|
109
|
+
private _createLabel;
|
|
110
|
+
private _positionLabel;
|
|
111
|
+
/** Map a value to the handle's x coordinate along the track. */
|
|
112
|
+
private _valueToX;
|
|
113
|
+
/** Map a handle x coordinate to a clamped, stepped value. */
|
|
114
|
+
private _xToValue;
|
|
115
|
+
/** Clamp a value to [min, max] and snap it to the step. */
|
|
116
|
+
private _clampAndStep;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Factory function to create a {@link Slider}.
|
|
120
|
+
* @param scene - The scene the slider lives in.
|
|
121
|
+
* @param options - Range, step, appearance and the bound tracker.
|
|
122
|
+
* @returns A new Slider.
|
|
123
|
+
*/
|
|
124
|
+
export declare function makeSlider(scene: Scene, options?: SliderOptions): Slider;
|
|
125
|
+
//# sourceMappingURL=Slider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,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 +7,8 @@ export { PlaybackControls, type PlaybackControlsOptions, type TimeUpdateCallback
|
|
|
7
7
|
export { Draggable, makeDraggable, type DraggableOptions } from './Draggable';
|
|
8
8
|
export { Hoverable, makeHoverable, type HoverableOptions } from './Hoverable';
|
|
9
9
|
export { Clickable, makeClickable, type ClickableOptions } from './Clickable';
|
|
10
|
+
export { MovablePoint, makeMovablePoint, type MovablePointOptions } from './MovablePoint';
|
|
11
|
+
export { Slider, makeSlider, type SliderOptions } from './Slider';
|
|
10
12
|
export { SelectionManager, type SelectionManagerOptions } from './SelectionManager';
|
|
11
13
|
export { OrbitControls, type OrbitControlsOptions } from './OrbitControls';
|
|
12
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/interaction/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACL,QAAQ,EACR,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,iBAAiB,GACvB,MAAM,YAAY,CAAC;AAEpB,OAAO,EACL,gBAAgB,EAChB,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,GACxB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAG9E,OAAO,EAAE,gBAAgB,EAAE,KAAK,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAGpF,OAAO,EAAE,aAAa,EAAE,KAAK,oBAAoB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
1
|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