manim-web 0.3.6 → 0.3.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 (150) hide show
  1. package/dist/animation/Animation.d.ts +16 -1
  2. package/dist/animation/Animation.d.ts.map +1 -1
  3. package/dist/animation/MasterTimeline.d.ts +70 -0
  4. package/dist/animation/MasterTimeline.d.ts.map +1 -0
  5. package/dist/animation/Timeline.d.ts +1 -1
  6. package/dist/animation/Timeline.d.ts.map +1 -1
  7. package/dist/animation/transform/ApplyTransforms.d.ts +91 -0
  8. package/dist/animation/transform/ApplyTransforms.d.ts.map +1 -0
  9. package/dist/animation/transform/FadeTransforms.d.ts +76 -0
  10. package/dist/animation/transform/FadeTransforms.d.ts.map +1 -0
  11. package/dist/animation/transform/MovementTransforms.d.ts +131 -0
  12. package/dist/animation/transform/MovementTransforms.d.ts.map +1 -0
  13. package/dist/animation/transform/SpecialTransforms.d.ts +158 -0
  14. package/dist/animation/transform/SpecialTransforms.d.ts.map +1 -0
  15. package/dist/animation/transform/TransformExtensions.d.ts +11 -430
  16. package/dist/animation/transform/TransformExtensions.d.ts.map +1 -1
  17. package/dist/animation/transform/index.d.ts +4 -1
  18. package/dist/animation/transform/index.d.ts.map +1 -1
  19. package/dist/core/Group.d.ts +4 -1
  20. package/dist/core/Group.d.ts.map +1 -1
  21. package/dist/core/InteractiveScene.d.ts.map +1 -1
  22. package/dist/core/LinearTransformationScene.d.ts +152 -0
  23. package/dist/core/LinearTransformationScene.d.ts.map +1 -0
  24. package/dist/core/Mobject.d.ts +26 -389
  25. package/dist/core/Mobject.d.ts.map +1 -1
  26. package/dist/core/MobjectPositioning.d.ts +32 -0
  27. package/dist/core/MobjectPositioning.d.ts.map +1 -0
  28. package/dist/core/MobjectState.d.ts +40 -0
  29. package/dist/core/MobjectState.d.ts.map +1 -0
  30. package/dist/core/MobjectTypes.d.ts +51 -0
  31. package/dist/core/MobjectTypes.d.ts.map +1 -0
  32. package/dist/core/MovingCameraScene.d.ts +77 -0
  33. package/dist/core/MovingCameraScene.d.ts.map +1 -0
  34. package/dist/core/Renderer.d.ts +5 -0
  35. package/dist/core/Renderer.d.ts.map +1 -1
  36. package/dist/core/Scene.d.ts +25 -0
  37. package/dist/core/Scene.d.ts.map +1 -1
  38. package/dist/core/SceneExtensions.d.ts +7 -654
  39. package/dist/core/SceneExtensions.d.ts.map +1 -1
  40. package/dist/core/StateManager.d.ts.map +1 -1
  41. package/dist/core/ThreeDScene.d.ts +199 -0
  42. package/dist/core/ThreeDScene.d.ts.map +1 -0
  43. package/dist/core/VMobject.d.ts +48 -200
  44. package/dist/core/VMobject.d.ts.map +1 -1
  45. package/dist/core/VMobjectCurves.d.ts +25 -0
  46. package/dist/core/VMobjectCurves.d.ts.map +1 -0
  47. package/dist/core/VMobjectGeometry.d.ts +84 -0
  48. package/dist/core/VMobjectGeometry.d.ts.map +1 -0
  49. package/dist/core/VMobjectRendering.d.ts +138 -0
  50. package/dist/core/VMobjectRendering.d.ts.map +1 -0
  51. package/dist/core/VectorScene.d.ts +106 -0
  52. package/dist/core/VectorScene.d.ts.map +1 -0
  53. package/dist/core/ZoomedScene.d.ts +151 -0
  54. package/dist/core/ZoomedScene.d.ts.map +1 -0
  55. package/dist/core/index.d.ts +6 -2
  56. package/dist/core/index.d.ts.map +1 -1
  57. package/dist/export/GifExporter.d.ts +4 -3
  58. package/dist/export/GifExporter.d.ts.map +1 -1
  59. package/dist/export/VideoExporter.d.ts.map +1 -1
  60. package/dist/index.d.ts +6 -1
  61. package/dist/index.d.ts.map +1 -1
  62. package/dist/index.js +13424 -12758
  63. package/dist/integrations/react.js +322 -318
  64. package/dist/integrations/vue.js +316 -312
  65. package/dist/interaction/Clickable.d.ts.map +1 -1
  66. package/dist/interaction/Draggable.d.ts.map +1 -1
  67. package/dist/interaction/Hoverable.d.ts.map +1 -1
  68. package/dist/interaction/SelectionManager.d.ts.map +1 -1
  69. package/dist/mobjects/geometry/AnnularSector.d.ts +107 -0
  70. package/dist/mobjects/geometry/AnnularSector.d.ts.map +1 -0
  71. package/dist/mobjects/geometry/Annulus.d.ts +89 -0
  72. package/dist/mobjects/geometry/Annulus.d.ts.map +1 -0
  73. package/dist/mobjects/geometry/ArcPolygon.d.ts +74 -0
  74. package/dist/mobjects/geometry/ArcPolygon.d.ts.map +1 -0
  75. package/dist/mobjects/geometry/ArcShapes.d.ts +11 -657
  76. package/dist/mobjects/geometry/ArcShapes.d.ts.map +1 -1
  77. package/dist/mobjects/geometry/BooleanOperations.d.ts.map +1 -1
  78. package/dist/mobjects/geometry/CurvedArrow.d.ts +95 -0
  79. package/dist/mobjects/geometry/CurvedArrow.d.ts.map +1 -0
  80. package/dist/mobjects/geometry/CurvedDoubleArrow.d.ts +60 -0
  81. package/dist/mobjects/geometry/CurvedDoubleArrow.d.ts.map +1 -0
  82. package/dist/mobjects/geometry/Ellipse.d.ts +98 -0
  83. package/dist/mobjects/geometry/Ellipse.d.ts.map +1 -0
  84. package/dist/mobjects/geometry/Rectangle.d.ts +3 -3
  85. package/dist/mobjects/geometry/Rectangle.d.ts.map +1 -1
  86. package/dist/mobjects/geometry/Sector.d.ts +99 -0
  87. package/dist/mobjects/geometry/Sector.d.ts.map +1 -0
  88. package/dist/mobjects/geometry/ShapeMatchers.d.ts +5 -1
  89. package/dist/mobjects/geometry/ShapeMatchers.d.ts.map +1 -1
  90. package/dist/mobjects/geometry/TangentialArc.d.ts +58 -0
  91. package/dist/mobjects/geometry/TangentialArc.d.ts.map +1 -0
  92. package/dist/mobjects/geometry/index.d.ts +10 -3
  93. package/dist/mobjects/geometry/index.d.ts.map +1 -1
  94. package/dist/mobjects/graph/DiGraph.d.ts +26 -0
  95. package/dist/mobjects/graph/DiGraph.d.ts.map +1 -0
  96. package/dist/mobjects/graph/GenericGraph.d.ts +184 -0
  97. package/dist/mobjects/graph/GenericGraph.d.ts.map +1 -0
  98. package/dist/mobjects/graph/Graph.d.ts +10 -0
  99. package/dist/mobjects/graph/Graph.d.ts.map +1 -0
  100. package/dist/mobjects/graph/graphFactories.d.ts +49 -0
  101. package/dist/mobjects/graph/graphFactories.d.ts.map +1 -0
  102. package/dist/mobjects/graph/graphTypes.d.ts +110 -0
  103. package/dist/mobjects/graph/graphTypes.d.ts.map +1 -0
  104. package/dist/mobjects/graph/index.d.ts +6 -417
  105. package/dist/mobjects/graph/index.d.ts.map +1 -1
  106. package/dist/mobjects/graph/layoutAlgorithms.d.ts +11 -0
  107. package/dist/mobjects/graph/layoutAlgorithms.d.ts.map +1 -0
  108. package/dist/mobjects/graphing/FunctionGraph.d.ts.map +1 -1
  109. package/dist/mobjects/graphing/ParametricFunction.d.ts +1 -1
  110. package/dist/mobjects/graphing/ParametricFunction.d.ts.map +1 -1
  111. package/dist/mobjects/image/index.d.ts +2 -1
  112. package/dist/mobjects/image/index.d.ts.map +1 -1
  113. package/dist/mobjects/point/Mobject1D.d.ts +129 -0
  114. package/dist/mobjects/point/Mobject1D.d.ts.map +1 -0
  115. package/dist/mobjects/point/Mobject2D.d.ts +170 -0
  116. package/dist/mobjects/point/Mobject2D.d.ts.map +1 -0
  117. package/dist/mobjects/point/PGroup.d.ts +111 -0
  118. package/dist/mobjects/point/PGroup.d.ts.map +1 -0
  119. package/dist/mobjects/point/PMobject.d.ts +152 -0
  120. package/dist/mobjects/point/PMobject.d.ts.map +1 -0
  121. package/dist/mobjects/point/PointCloudDot.d.ts +98 -0
  122. package/dist/mobjects/point/PointCloudDot.d.ts.map +1 -0
  123. package/dist/mobjects/point/PointMobject.d.ts +62 -0
  124. package/dist/mobjects/point/PointMobject.d.ts.map +1 -0
  125. package/dist/mobjects/point/index.d.ts +7 -701
  126. package/dist/mobjects/point/index.d.ts.map +1 -1
  127. package/dist/mobjects/svg/Brace.d.ts.map +1 -1
  128. package/dist/mobjects/text/Code.d.ts +2 -39
  129. package/dist/mobjects/text/Code.d.ts.map +1 -1
  130. package/dist/mobjects/text/CodeHighlighting.d.ts +50 -0
  131. package/dist/mobjects/text/CodeHighlighting.d.ts.map +1 -0
  132. package/dist/mobjects/text/CodeLanguageData.d.ts +25 -0
  133. package/dist/mobjects/text/CodeLanguageData.d.ts.map +1 -0
  134. package/dist/mobjects/text/MathTex.d.ts +1 -0
  135. package/dist/mobjects/text/MathTex.d.ts.map +1 -1
  136. package/dist/mobjects/text/MathTexSVG.d.ts +2 -0
  137. package/dist/mobjects/text/MathTexSVG.d.ts.map +1 -1
  138. package/dist/mobjects/text/Variable.d.ts.map +1 -1
  139. package/dist/mobjects/text/katex-styles.d.ts.map +1 -1
  140. package/dist/player/Player.d.ts +85 -0
  141. package/dist/player/Player.d.ts.map +1 -0
  142. package/dist/player/PlayerController.d.ts +22 -0
  143. package/dist/player/PlayerController.d.ts.map +1 -0
  144. package/dist/player/PlayerUI.d.ts +70 -0
  145. package/dist/player/PlayerUI.d.ts.map +1 -0
  146. package/dist/player/index.d.ts +4 -0
  147. package/dist/player/index.d.ts.map +1 -0
  148. package/dist/utils/hungarian.d.ts.map +1 -1
  149. package/dist/utils/skeletonize.d.ts.map +1 -1
  150. package/package.json +1 -1
@@ -1,659 +1,13 @@
1
- import { VMobject } from '../../core/VMobject';
2
- import { Vector3Tuple } from '../../core/Mobject';
3
- import { Arc } from './Arc';
4
1
  /**
5
- * Options for creating an Ellipse
6
- */
7
- export interface EllipseOptions {
8
- /** Width (horizontal diameter) of the ellipse. Default: 2 */
9
- width?: number;
10
- /** Height (vertical diameter) of the ellipse. Default: 1 */
11
- height?: number;
12
- /** Stroke color as CSS color string. Default: Manim's blue (#58C4DD) */
13
- color?: string;
14
- /** Fill opacity from 0 to 1. Default: 0 */
15
- fillOpacity?: number;
16
- /** Stroke width in pixels. Default: 4 (Manim's default) */
17
- strokeWidth?: number;
18
- /** Center position. Default: [0, 0, 0] */
19
- center?: Vector3Tuple;
20
- /** Number of Bezier segments for approximation. Default: 8 */
21
- numComponents?: number;
22
- }
23
- /**
24
- * Ellipse - An elliptical VMobject
25
- *
26
- * Creates an ellipse using cubic Bezier curve approximation.
27
- * The ellipse is defined by its width and height.
28
- *
29
- * @example
30
- * ```typescript
31
- * // Create a horizontal ellipse
32
- * const ellipse = new Ellipse({ width: 4, height: 2 });
33
- *
34
- * // Create a filled ellipse
35
- * const filled = new Ellipse({ width: 3, height: 1, fillOpacity: 0.5 });
36
- * ```
37
- */
38
- export declare class Ellipse extends VMobject {
39
- private _width;
40
- private _height;
41
- private _centerPoint;
42
- private _numComponents;
43
- constructor(options?: EllipseOptions);
44
- /**
45
- * Generate the ellipse points using Bezier curve approximation.
46
- * Uses 4 cubic Bezier segments for optimal ellipse approximation.
47
- */
48
- private _generatePoints;
49
- /**
50
- * Get the width of the ellipse
51
- */
52
- getWidth(): number;
53
- /**
54
- * Set the width of the ellipse
55
- */
56
- setWidth(value: number): this;
57
- /**
58
- * Get the height of the ellipse
59
- */
60
- getHeight(): number;
61
- /**
62
- * Set the height of the ellipse
63
- */
64
- setHeight(value: number): this;
65
- /**
66
- * Get the center of the ellipse
67
- */
68
- getEllipseCenter(): Vector3Tuple;
69
- /**
70
- * Set the center of the ellipse
71
- */
72
- setEllipseCenter(value: Vector3Tuple): this;
73
- /**
74
- * Get the semi-major axis length (half of width)
75
- */
76
- getSemiMajorAxis(): number;
77
- /**
78
- * Get the semi-minor axis length (half of height)
79
- */
80
- getSemiMinorAxis(): number;
81
- /**
82
- * Get the eccentricity of the ellipse
83
- */
84
- getEccentricity(): number;
85
- /**
86
- * Get the area of the ellipse
87
- */
88
- getArea(): number;
89
- /**
90
- * Get a point on the ellipse at a given angle (in radians)
91
- * @param angle Angle in radians from the positive x-axis
92
- */
93
- pointAtAngle(angle: number): Vector3Tuple;
94
- /**
95
- * Create a copy of this Ellipse
96
- */
97
- protected _createCopy(): Ellipse;
98
- }
99
- /**
100
- * Options for creating an Annulus
101
- */
102
- export interface AnnulusOptions {
103
- /** Inner radius of the annulus. Default: 0.5 */
104
- innerRadius?: number;
105
- /** Outer radius of the annulus. Default: 1 */
106
- outerRadius?: number;
107
- /** Stroke color as CSS color string. Default: Manim's blue (#58C4DD) */
108
- color?: string;
109
- /** Fill opacity from 0 to 1. Default: 0.5 */
110
- fillOpacity?: number;
111
- /** Stroke width in pixels. Default: 4 (Manim's default) */
112
- strokeWidth?: number;
113
- /** Center position. Default: [0, 0, 0] */
114
- center?: Vector3Tuple;
115
- /** Number of Bezier segments for approximation. Default: 8 */
116
- numComponents?: number;
117
- }
118
- /**
119
- * Annulus - A ring/donut shaped VMobject
120
- *
121
- * Creates an annulus (ring) defined by inner and outer radii.
122
- * The area between the two circles is filled.
123
- *
124
- * @example
125
- * ```typescript
126
- * // Create a basic ring
127
- * const ring = new Annulus({ innerRadius: 0.5, outerRadius: 1.5 });
128
- *
129
- * // Create a filled donut
130
- * const donut = new Annulus({
131
- * innerRadius: 0.3,
132
- * outerRadius: 1,
133
- * fillOpacity: 0.8,
134
- * color: '#ff6600'
135
- * });
136
- * ```
137
- */
138
- export declare class Annulus extends VMobject {
139
- private _innerRadius;
140
- private _outerRadius;
141
- private _centerPoint;
142
- private _numComponents;
143
- constructor(options?: AnnulusOptions);
144
- /**
145
- * Generate the annulus points using two circles (outer CCW, inner CW).
146
- */
147
- private _generatePoints;
148
- /**
149
- * Get the inner radius
150
- */
151
- getInnerRadius(): number;
152
- /**
153
- * Set the inner radius
154
- */
155
- setInnerRadius(value: number): this;
156
- /**
157
- * Get the outer radius
158
- */
159
- getOuterRadius(): number;
160
- /**
161
- * Set the outer radius
162
- */
163
- setOuterRadius(value: number): this;
164
- /**
165
- * Get the center of the annulus
166
- */
167
- getAnnulusCenter(): Vector3Tuple;
168
- /**
169
- * Set the center of the annulus
170
- */
171
- setAnnulusCenter(value: Vector3Tuple): this;
172
- /**
173
- * Get the area of the annulus
174
- */
175
- getArea(): number;
176
- /**
177
- * Get the thickness (outer - inner radius)
178
- */
179
- getThickness(): number;
180
- /**
181
- * Create a copy of this Annulus
182
- */
183
- protected _createCopy(): Annulus;
184
- }
185
- /**
186
- * Options for creating an AnnularSector
187
- */
188
- export interface AnnularSectorOptions {
189
- /** Inner radius of the sector. Default: 0.5 */
190
- innerRadius?: number;
191
- /** Outer radius of the sector. Default: 1 */
192
- outerRadius?: number;
193
- /** Start angle in radians. Default: 0 */
194
- startAngle?: number;
195
- /** Arc angle (span) in radians. Default: PI/2 */
196
- angle?: number;
197
- /** Stroke color as CSS color string. Default: Manim's blue (#58C4DD) */
198
- color?: string;
199
- /** Fill opacity from 0 to 1. Default: 0.5 */
200
- fillOpacity?: number;
201
- /** Stroke width in pixels. Default: 4 (Manim's default) */
202
- strokeWidth?: number;
203
- /** Center position. Default: [0, 0, 0] */
204
- center?: Vector3Tuple;
205
- /** Number of Bezier segments for approximation. Default: 8 */
206
- numComponents?: number;
207
- }
208
- /**
209
- * AnnularSector - A pie slice of an annulus (ring)
210
- *
211
- * Creates a sector of an annulus, like a slice of a donut.
212
- *
213
- * @example
214
- * ```typescript
215
- * // Create a quarter donut slice
216
- * const slice = new AnnularSector({
217
- * innerRadius: 0.5,
218
- * outerRadius: 1.5,
219
- * startAngle: 0,
220
- * angle: Math.PI / 2
221
- * });
222
- *
223
- * // Create a half ring
224
- * const halfRing = new AnnularSector({
225
- * innerRadius: 0.3,
226
- * outerRadius: 1,
227
- * angle: Math.PI,
228
- * fillOpacity: 0.8
229
- * });
230
- * ```
231
- */
232
- export declare class AnnularSector extends VMobject {
233
- private _innerRadius;
234
- private _outerRadius;
235
- private _startAngle;
236
- private _angle;
237
- private _centerPoint;
238
- private _numComponents;
239
- constructor(options?: AnnularSectorOptions);
240
- /**
241
- * Generate the annular sector points.
242
- */
243
- private _generatePoints;
244
- /**
245
- * Get the inner radius
246
- */
247
- getInnerRadius(): number;
248
- /**
249
- * Set the inner radius
250
- */
251
- setInnerRadius(value: number): this;
252
- /**
253
- * Get the outer radius
254
- */
255
- getOuterRadius(): number;
256
- /**
257
- * Set the outer radius
258
- */
259
- setOuterRadius(value: number): this;
260
- /**
261
- * Get the start angle
262
- */
263
- getStartAngle(): number;
264
- /**
265
- * Set the start angle
266
- */
267
- setStartAngle(value: number): this;
268
- /**
269
- * Get the arc angle
270
- */
271
- getAngle(): number;
272
- /**
273
- * Set the arc angle
274
- */
275
- setAngle(value: number): this;
276
- /**
277
- * Get the center
278
- */
279
- getSectorCenter(): Vector3Tuple;
280
- /**
281
- * Get the area of the sector
282
- */
283
- getArea(): number;
284
- /**
285
- * Create a copy of this AnnularSector
286
- */
287
- protected _createCopy(): AnnularSector;
288
- }
289
- /**
290
- * Options for creating a Sector
291
- */
292
- export interface SectorOptions {
293
- /** Radius of the sector. Default: 1 */
294
- radius?: number;
295
- /** Start angle in radians. Default: 0 */
296
- startAngle?: number;
297
- /** Arc angle (span) in radians. Default: PI/2 */
298
- angle?: number;
299
- /** Stroke color as CSS color string. Default: Manim's blue (#58C4DD) */
300
- color?: string;
301
- /** Fill opacity from 0 to 1. Default: 0.5 */
302
- fillOpacity?: number;
303
- /** Stroke width in pixels. Default: 4 (Manim's default) */
304
- strokeWidth?: number;
305
- /** Center position. Default: [0, 0, 0] */
306
- center?: Vector3Tuple;
307
- /** Number of Bezier segments for approximation. Default: 8 */
308
- numComponents?: number;
309
- }
310
- /**
311
- * Sector - A pie slice of a circle
312
- *
313
- * Creates a sector (pie slice) from the center to the arc.
314
- *
315
- * @example
316
- * ```typescript
317
- * // Create a quarter pie slice
318
- * const quarter = new Sector({
319
- * radius: 1,
320
- * startAngle: 0,
321
- * angle: Math.PI / 2
322
- * });
323
- *
324
- * // Create a filled semicircle sector
325
- * const semi = new Sector({
326
- * radius: 2,
327
- * angle: Math.PI,
328
- * fillOpacity: 0.8,
329
- * color: '#ff0000'
330
- * });
331
- * ```
332
- */
333
- export declare class Sector extends VMobject {
334
- private _radius;
335
- private _startAngle;
336
- private _angle;
337
- private _centerPoint;
338
- private _numComponents;
339
- constructor(options?: SectorOptions);
340
- /**
341
- * Generate the sector points.
342
- */
343
- private _generatePoints;
344
- /**
345
- * Get the radius
346
- */
347
- getRadius(): number;
348
- /**
349
- * Set the radius
350
- */
351
- setRadius(value: number): this;
352
- /**
353
- * Get the start angle
354
- */
355
- getStartAngle(): number;
356
- /**
357
- * Set the start angle
358
- */
359
- setStartAngle(value: number): this;
360
- /**
361
- * Get the arc angle
362
- */
363
- getAngle(): number;
364
- /**
365
- * Set the arc angle
366
- */
367
- setAngle(value: number): this;
368
- /**
369
- * Get the center
370
- */
371
- getSectorCenter(): Vector3Tuple;
372
- /**
373
- * Get the area of the sector
374
- */
375
- getArea(): number;
376
- /**
377
- * Get the arc length of the sector
378
- */
379
- getArcLength(): number;
380
- /**
381
- * Create a copy of this Sector
382
- */
383
- protected _createCopy(): Sector;
384
- }
385
- /**
386
- * Arc configuration for connecting vertices in ArcPolygon
387
- */
388
- export interface ArcConfig {
389
- /** Arc angle for this edge. Default: 0 (straight line) */
390
- angle?: number;
391
- /** Number of Bezier segments. Default: 8 */
392
- numComponents?: number;
393
- }
394
- /**
395
- * Options for creating an ArcPolygon
396
- */
397
- export interface ArcPolygonOptions {
398
- /** Array of vertices defining the polygon. Required. */
399
- vertices: Vector3Tuple[];
400
- /** Arc configurations for each edge. If not provided, straight lines are used. */
401
- arcConfigs?: ArcConfig[];
402
- /** Stroke color as CSS color string. Default: Manim's blue (#58C4DD) */
403
- color?: string;
404
- /** Fill opacity from 0 to 1. Default: 0 */
405
- fillOpacity?: number;
406
- /** Stroke width in pixels. Default: 4 (Manim's default) */
407
- strokeWidth?: number;
408
- }
409
- /**
410
- * ArcPolygon - A polygon with arc edges instead of straight lines
411
- *
412
- * Creates a polygon where edges can be curved arcs.
413
- *
414
- * @example
415
- * ```typescript
416
- * // Create a triangle with curved edges
417
- * const arcTriangle = new ArcPolygon({
418
- * vertices: [
419
- * [0, 1, 0],
420
- * [-1, -0.5, 0],
421
- * [1, -0.5, 0]
422
- * ],
423
- * arcConfigs: [
424
- * { angle: Math.PI / 4 },
425
- * { angle: -Math.PI / 4 },
426
- * { angle: Math.PI / 4 }
427
- * ]
428
- * });
429
- * ```
430
- */
431
- export declare class ArcPolygon extends VMobject {
432
- private _vertices;
433
- private _arcConfigs;
434
- constructor(options: ArcPolygonOptions);
435
- /**
436
- * Generate the arc polygon points.
437
- */
438
- private _generatePoints;
439
- /**
440
- * Generate points for an arc between two points
441
- */
442
- private _generateArcPoints;
443
- /**
444
- * Get the vertices
445
- */
446
- getVertices(): Vector3Tuple[];
447
- /**
448
- * Get the arc configurations
449
- */
450
- getArcConfigs(): ArcConfig[];
451
- /**
452
- * Create a copy of this ArcPolygon
453
- */
454
- protected _createCopy(): ArcPolygon;
455
- }
456
- /**
457
- * Options for creating a CurvedArrow
458
- */
459
- export interface CurvedArrowOptions {
460
- /** Start point of the arrow. Default: [-1, 0, 0] */
461
- startPoint?: Vector3Tuple;
462
- /** End point of the arrow. Default: [1, 0, 0] */
463
- endPoint?: Vector3Tuple;
464
- /** Arc angle in radians. Default: PI/4 */
465
- angle?: number;
466
- /** Stroke color as CSS color string. Default: Manim's blue (#58C4DD) */
467
- color?: string;
468
- /** Stroke width in pixels. Default: 4 (Manim's default) */
469
- strokeWidth?: number;
470
- /** Length of the arrowhead tip. Default: 0.25 */
471
- tipLength?: number;
472
- /** Width of the arrowhead base. Default: 0.15 */
473
- tipWidth?: number;
474
- /** Number of Bezier segments for approximation. Default: 8 */
475
- numComponents?: number;
476
- }
477
- /**
478
- * CurvedArrow - An arrow that follows an arc path
479
- *
480
- * Creates an arrow that curves from start to end point.
481
- *
482
- * @example
483
- * ```typescript
484
- * // Create a curved arrow
485
- * const curvedArrow = new CurvedArrow({
486
- * startPoint: [-2, 0, 0],
487
- * endPoint: [2, 0, 0],
488
- * angle: Math.PI / 3
489
- * });
490
- *
491
- * // Create an arrow curving the other way
492
- * const otherWay = new CurvedArrow({
493
- * startPoint: [0, -1, 0],
494
- * endPoint: [0, 1, 0],
495
- * angle: -Math.PI / 4
496
- * });
497
- * ```
498
- */
499
- export declare class CurvedArrow extends VMobject {
500
- private _startPoint;
501
- private _endPoint;
502
- private _angle;
503
- private _tipLength;
504
- private _tipWidth;
505
- private _numComponents;
506
- constructor(options?: CurvedArrowOptions);
507
- /**
508
- * Generate the curved arrow points.
509
- */
510
- private _generatePoints;
511
- /**
512
- * Get the start point
513
- */
514
- getStartPoint(): Vector3Tuple;
515
- /**
516
- * Set the start point
517
- */
518
- setStartPoint(point: Vector3Tuple): this;
519
- /**
520
- * Get the end point
521
- */
522
- getEndPoint(): Vector3Tuple;
523
- /**
524
- * Set the end point
525
- */
526
- setEndPoint(point: Vector3Tuple): this;
527
- /**
528
- * Get the arc angle
529
- */
530
- getAngle(): number;
531
- /**
532
- * Set the arc angle
533
- */
534
- setAngle(value: number): this;
535
- /**
536
- * Get the tip length
537
- */
538
- getTipLength(): number;
539
- /**
540
- * Get the tip width
541
- */
542
- getTipWidth(): number;
543
- /**
544
- * Create a copy of this CurvedArrow
545
- */
546
- protected _createCopy(): CurvedArrow;
547
- }
548
- /**
549
- * CurvedDoubleArrow - A double arrow that follows an arc path
550
- *
551
- * Creates a double-headed arrow that curves from start to end point.
552
- *
553
- * @example
554
- * ```typescript
555
- * // Create a curved double arrow
556
- * const curvedDouble = new CurvedDoubleArrow({
557
- * startPoint: [-2, 0, 0],
558
- * endPoint: [2, 0, 0],
559
- * angle: Math.PI / 3
560
- * });
561
- * ```
562
- */
563
- export declare class CurvedDoubleArrow extends VMobject {
564
- private _startPoint;
565
- private _endPoint;
566
- private _angle;
567
- private _tipLength;
568
- private _tipWidth;
569
- private _numComponents;
570
- constructor(options?: CurvedArrowOptions);
571
- /**
572
- * Generate the curved double arrow points.
573
- */
574
- private _generatePoints;
575
- /**
576
- * Get the start point
577
- */
578
- getStartPoint(): Vector3Tuple;
579
- /**
580
- * Set the start point
581
- */
582
- setStartPoint(point: Vector3Tuple): this;
583
- /**
584
- * Get the end point
585
- */
586
- getEndPoint(): Vector3Tuple;
587
- /**
588
- * Set the end point
589
- */
590
- setEndPoint(point: Vector3Tuple): this;
591
- /**
592
- * Get the arc angle
593
- */
594
- getAngle(): number;
595
- /**
596
- * Set the arc angle
597
- */
598
- setAngle(value: number): this;
599
- /**
600
- * Create a copy of this CurvedDoubleArrow
601
- */
602
- protected _createCopy(): CurvedDoubleArrow;
603
- }
604
- /**
605
- * Options for creating a TangentialArc
606
- */
607
- export interface TangentialArcOptions {
608
- /** Start point of the arc. Default: [0, 0, 0] */
609
- start?: Vector3Tuple;
610
- /** Direction at the start point (tangent direction). Default: [1, 0, 0] */
611
- direction?: Vector3Tuple;
612
- /** Radius of the arc. Default: 1 */
613
- radius?: number;
614
- /** Arc angle in radians. Default: PI/2 */
615
- angle?: number;
616
- /** Stroke color as CSS color string. Default: Manim's blue (#58C4DD) */
617
- color?: string;
618
- /** Stroke width in pixels. Default: 4 (Manim's default) */
619
- strokeWidth?: number;
620
- /** Number of Bezier segments for approximation. Default: 8 */
621
- numComponents?: number;
622
- }
623
- /**
624
- * TangentialArc - An arc that is tangent to a given direction at its start
625
- *
626
- * Creates an arc that starts tangent to a given direction.
627
- *
628
- * @example
629
- * ```typescript
630
- * // Create an arc tangent to the x-axis
631
- * const tangentArc = new TangentialArc({
632
- * start: [0, 0, 0],
633
- * direction: [1, 0, 0],
634
- * radius: 1,
635
- * angle: Math.PI / 2
636
- * });
637
- *
638
- * // Create an arc tangent to a diagonal
639
- * const diagonalArc = new TangentialArc({
640
- * start: [0, 0, 0],
641
- * direction: [1, 1, 0],
642
- * radius: 2,
643
- * angle: Math.PI / 3
644
- * });
645
- * ```
646
- */
647
- export declare class TangentialArc extends Arc {
648
- private _direction;
649
- constructor(options?: TangentialArcOptions);
650
- /**
651
- * Get the tangent direction at the start
652
- */
653
- getDirection(): Vector3Tuple;
654
- /**
655
- * Create a copy of this TangentialArc
656
- */
657
- protected _createCopy(): TangentialArc;
658
- }
2
+ * Re-export barrel for backward compatibility.
3
+ * Individual classes have been split into separate files.
4
+ */
5
+ export { Ellipse, type EllipseOptions } from './Ellipse';
6
+ export { Annulus, type AnnulusOptions } from './Annulus';
7
+ export { AnnularSector, type AnnularSectorOptions } from './AnnularSector';
8
+ export { Sector, type SectorOptions } from './Sector';
9
+ export { ArcPolygon, type ArcPolygonOptions, type ArcConfig } from './ArcPolygon';
10
+ export { CurvedArrow, type CurvedArrowOptions } from './CurvedArrow';
11
+ export { CurvedDoubleArrow } from './CurvedDoubleArrow';
12
+ export { TangentialArc, type TangentialArcOptions } from './TangentialArc';
659
13
  //# sourceMappingURL=ArcShapes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ArcShapes.d.ts","sourceRoot":"","sources":["../../../src/mobjects/geometry/ArcShapes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4DAA4D;IAC5D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wEAAwE;IACxE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2DAA2D;IAC3D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,8DAA8D;IAC9D,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;;;;;;GAcG;AACH,qBAAa,OAAQ,SAAQ,QAAQ;IACnC,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,YAAY,CAAe;IACnC,OAAO,CAAC,cAAc,CAAS;gBAEnB,OAAO,GAAE,cAAmB;IAyBxC;;;OAGG;IACH,OAAO,CAAC,eAAe;IA0CvB;;OAEG;IACH,QAAQ,IAAI,MAAM;IAIlB;;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AI,aAAa;CAWhD"}
1
+ {"version":3,"file":"ArcShapes.d.ts","sourceRoot":"","sources":["../../../src/mobjects/geometry/ArcShapes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,KAAK,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,KAAK,aAAa,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAClF,OAAO,EAAE,WAAW,EAAE,KAAK,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,KAAK,oBAAoB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BooleanOperations.d.ts","sourceRoot":"","sources":["../../../src/mobjects/geometry/BooleanOperations.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAU/C;;GAEG;AACH,UAAU,QAAQ;IAChB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wDAAwD;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iFAAiF;IACjF,iBAAiB,CAAC,EA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