manim-web 0.2.0 → 0.3.1
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/README.md +1 -0
- package/dist/core/AudioManager.d.ts +1 -1
- package/dist/core/Scene.d.ts.map +1 -1
- package/dist/core/VMobject.d.ts +9 -3
- package/dist/core/VMobject.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3216 -2931
- package/dist/integrations/react.js +250 -249
- package/dist/integrations/vue.js +254 -253
- package/dist/mobjects/text/MathJaxRenderer.d.ts +1 -1
- package/dist/mobjects/text/MathJaxRenderer.d.ts.map +1 -1
- package/dist/mobjects/text/MathTexSVG.d.ts +96 -0
- package/dist/mobjects/text/MathTexSVG.d.ts.map +1 -0
- package/dist/mobjects/text/index.d.ts +1 -0
- package/dist/mobjects/text/index.d.ts.map +1 -1
- package/dist/utils/featureFlags.d.ts +1 -1
- package/dist/utils/logger.d.ts +1 -1
- package/package.json +4 -3
- package/dist/constants/colors.test.d.ts +0 -2
- package/dist/constants/colors.test.d.ts.map +0 -1
- package/dist/constants/directions.test.d.ts +0 -2
- package/dist/constants/directions.test.d.ts.map +0 -1
- package/dist/core/SceneExtensions.test.d.ts +0 -2
- package/dist/core/SceneExtensions.test.d.ts.map +0 -1
- package/dist/examples.test.d.ts +0 -2
- package/dist/examples.test.d.ts.map +0 -1
- package/dist/rate-functions/rateFunctions.test.d.ts +0 -2
- package/dist/rate-functions/rateFunctions.test.d.ts.map +0 -1
package/dist/integrations/vue.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as d, ref as n, watch as l, provide as T, h as A, shallowRef as s, onMounted as p, onUnmounted as c, inject as _ } from "vue";
|
|
2
2
|
import { Scene as u } from "../index.js";
|
|
3
|
-
import { AddTextLetterByLetter as O, Angle as b, Animation as y, AnimationGroup as B, AnnularSector as C, Annulus as U, ApplyPointwiseFunction as I, ApplyWave as x, Arc as N, ArcBetweenPoints as w, ArcBrace as V, ArcPolygon as W, Arrow as H, Arrow3D as k, AudioManager as j, Axes as Y, BLACK as K, BLUE as z, BLUE_A as J, BLUE_B as Z, BLUE_C as Q, BLUE_D as X, BLUE_E as $, BackgroundRectangle as q, BezierRenderer as ee, BooleanResult as ae, Box3D as te, Brace as re, BraceBetweenPoints as oe, BraceLabel as ne, BraceText as le, Broadcast as ie, Camera2D as ue, Camera2DFrame as ce, Camera3D as se, CameraAnimateProxy as me, CameraFrame as Ee, Circle as de, Circumscribe as Te, Clickable as Ae, ComplexHomotopy as pe, ComplexValueTracker as _e, Cone as
|
|
3
|
+
import { AddTextLetterByLetter as O, Angle as b, Animation as y, AnimationGroup as B, AnnularSector as C, Annulus as U, ApplyPointwiseFunction as I, ApplyWave as x, Arc as N, ArcBetweenPoints as w, ArcBrace as V, ArcPolygon as W, Arrow as H, Arrow3D as k, AudioManager as j, Axes as Y, BLACK as K, BLUE as z, BLUE_A as J, BLUE_B as Z, BLUE_C as Q, BLUE_D as X, BLUE_E as $, BackgroundRectangle as q, BezierRenderer as ee, BooleanResult as ae, Box3D as te, Brace as re, BraceBetweenPoints as oe, BraceLabel as ne, BraceText as le, Broadcast as ie, Camera2D as ue, Camera2DFrame as ce, Camera3D as se, CameraAnimateProxy as me, CameraFrame as Ee, Circle as de, Circumscribe as Te, Clickable as Ae, ComplexHomotopy as pe, ComplexValueTracker as _e, Cone as he, Controls as ge, ConvexHull as Re, Create as Le, Cross as De, Cube as Fe, CubicBezier as fe, CurvedArrow as ve, CurvedDoubleArrow as Pe, Cutout as Ge, Cylinder as Se, DARKER_GRAY as Me, DARK_BLUE as Oe, DARK_BROWN as be, DARK_GRAY as ye, DEFAULT_ANIMATION_DURATION as Be, DEFAULT_ASPECT_RATIO as Ce, DEFAULT_FONT_SIZE as Ue, DEFAULT_FPS as Ie, DEFAULT_FRAME_HEIGHT as xe, DEFAULT_FRAME_WIDTH as Ne, DEFAULT_MOBJECT_TO_EDGE_BUFFER as we, DEFAULT_MOBJECT_TO_MOBJECT_BUFFER as Ve, DEFAULT_PIXEL_HEIGHT as We, DEFAULT_PIXEL_WIDTH as He, DEFAULT_STROKE_WIDTH as ke, DL as je, DOWN as Ye, DR as Ke, DashedLine as ze, DashedVMobject as Je, DecimalMatrix as Ze, DecimalNumber as Qe, DecimalTable as Xe, DiGraph as $e, DiceFace as qe, Difference as ea, Dot as aa, DoubleArrow as ta, Draggable as ra, DrawBorderThenFill as oa, Elbow as na, Ellipse as la, Exclusion as ia, FadeIn as ua, FadeOut as ca, FadeToColor as sa, Flash as ma, FocusOn as Ea, FrameTimeTracker as da, FullScreenFadeRectangle as Ta, FullScreenRectangle as Aa, FunctionGraph as pa, GOLD as _a, GOLD_A as ha, GOLD_B as ga, GOLD_C as Ra, GOLD_D as La, GOLD_E as Da, GRAY as Fa, GRAY_A as fa, GRAY_B as va, GRAY_C as Pa, GRAY_D as Ga, GRAY_E as Sa, GREEN as Ma, GREEN_A as Oa, GREEN_B as ba, GREEN_C as ya, GREEN_D as Ba, GREEN_E as Ca, GenericGraph as Ua, GifExporter as Ia, GlyphVMobject as xa, Graph as Na, Group as wa, GrowFromCenter as Va, Hexagon as Wa, Homotopy as Ha, Hoverable as ka, IN as ja, ImageMobject as Ya, ImplicitFunction as Ka, Indicate as za, Integer as Ja, IntegerMatrix as Za, IntegerTable as Qa, InteractiveScene as Xa, Intersection as $a, LARGE_BUFF as qa, LEFT as et, LIGHTER_GRAY as at, LIGHT_BROWN as tt, LIGHT_GRAY as rt, LIGHT_PINK as ot, LaggedStart as nt, LargeDot as lt, Lighting as it, Line as ut, Line3D as ct, MANIM_BACKGROUND as st, MAROON as mt, MAROON_A as Et, MAROON_B as dt, MAROON_C as Tt, MAROON_D as At, MAROON_E as pt, MED_LARGE_BUFF as _t, MED_SMALL_BUFF as ht, MandelbrotSet as gt, MarkupText as Rt, MathTable as Lt, MathTex as Dt, MathTexSVG as Ft, Matrix as ft, Mobject as vt, MobjectMatrix as Pt, MobjectTable as Gt, MoveAlongPath as St, MoveToTarget as Mt, MoveToTargetPosition as Ot, NewtonFractal as bt, NumberLine as yt, NumberPlane as Bt, ORANGE as Ct, ORIGIN as Ut, OUT as It, OrbitControls as xt, PGroup as Nt, PINK as wt, PMobject as Vt, PURE_BLUE as Wt, PURE_GREEN as Ht, PURE_RED as kt, PURPLE as jt, PURPLE_A as Yt, PURPLE_B as Kt, PURPLE_C as zt, PURPLE_D as Jt, PURPLE_E as Zt, Paragraph as Qt, ParametricFunction as Xt, ParametricSurface as $t, Pentagon as qt, PerformanceMonitor as er, PhaseFlow as ar, PlaybackControls as tr, PointCloudDot as rr, PointMobject as or, Polygon as nr, Pulse as lr, RED as ir, RED_A as ur, RED_B as cr, RED_C as sr, RED_D as mr, RED_E as Er, RIGHT as dr, Rectangle as Tr, RegularPolygon as Ar, RegularPolygram as pr, RemoveTextLetterByLetter as _r, Renderer as hr, ReplacementTransform as gr, Restore as Rr, RightAngle as Lr, Rotate as Dr, Rotating as Fr, RoundedRectangle as fr, SMALL_BUFF as vr, SVGMobject as Pr, SampleSpace as Gr, Scale as Sr, ScaleInPlace as Mr, SceneStateManager as Or, ScreenRectangle as br, Sector as yr, SelectionManager as Br, Shift as Cr, ShowCreationThenDestruction as Ur, ShowPassingFlash as Ir, SmallDot as xr, SmoothedVectorizedHomotopy as Nr, Sphere as wr, Square as Vr, Star as Wr, Succession as Hr, Surface3D as kr, SurfacePresets as jr, SurroundingRectangle as Yr, TEAL as Kr, TEAL_A as zr, TEAL_B as Jr, TEAL_C as Zr, TEAL_D as Qr, TEAL_E as Xr, Table as $r, TangentLine as qr, TangentialArc as eo, Tex as ao, Text as to, TextGlyphGroup as ro, TexturedSurface as oo, ThreeDAxes as no, ThreeDScene as lo, Timeline as io, Torus as uo, Transform as co, Triangle as so, UL as mo, UP as Eo, UR as To, Uncreate as Ao, Underline as po, Union as _o, Unwrite as ho, UpdateFromAlphaFunc as go, UpdateFromFunc as Ro, VDict as Lo, VGroup as Do, VMobject as Fo, VMobjectFromSVGPath as fo, ValueTracker as vo, Variable as Po, Vector as Go, Vector3D as So, VectorFieldVector as Mo, VectorizedPoint as Oo, VideoExporter as bo, WHITE as yo, Wiggle as Bo, WiggleOutThenIn as Co, Write as Uo, YELLOW as Io, YELLOW_A as xo, YELLOW_B as No, YELLOW_C as wo, YELLOW_D as Vo, YELLOW_E as Wo, ZoomDisplayPopOut as Ho, ZoomedScene as ko, addTextLetterByLetter as jo, addVec as Yo, animationGroup as Ko, applyPointwiseFunction as zo, applyWave as Jo, areKatexStylesLoaded as Zo, binaryTree as Qo, bipartiteGraph as Xo, broadcast as $o, circumscribe as qo, completeGraph as en, complexHomotopy as an, complexValueTracker as tn, compose as rn, create as on, createBezierShaderMaterial as nn, createDiceRow as ln, createFadeToBlack as un, createFadeToWhite as cn, createFrameTimeTracker as sn, createGifExporter as mn, createPerformanceMonitor as En, createVideoExporter as dn, cycleGraph as Tn, deserializeMobject as An, doubleSmooth as pn, drawBorderThenFill as _n, easeIn as hn, easeInBounce as gn, easeInExpo as Rn, easeInOut as Ln, easeInQuad as Dn, easeOut as Fn, easeOutBounce as fn, easeOutExpo as vn, easeOutQuad as Pn, ensureCCW as Gn, ensureCW as Sn, ensureKatexStyles as Mn, fadeIn as On, fadeOut as bn, fadeToColor as yn, flash as Bn, flowPoint as Cn, flowPointTrajectory as Un, focusOn as In, getFeatureFlags as xn, gridGraph as Nn, growFromCenter as wn, homotopy as Vn, hungarian as Wn, hungarianFromSimilarity as Hn, indicate as kn, isFeatureEnabled as jn, isMathJaxLoaded as Yn, katexCanRender as Kn, laggedStart as zn, linear as Jn, linspace as Zn, maintainPositionRelativeTo as Qn, makeClickable as Xn, makeDraggable as $n, makeHoverable as qn, moveAlongPath as el, moveToTarget as al, moveToTargetPosition as tl, parseSVGPathData as rl, pathGraph as ol, phaseFlow as nl, preloadMathJax as ll, pulse as il, removeTextLetterByLetter as ul, renderLatexToSVG as cl, replacementTransform as sl, resetFeatureFlags as ml, restore as El, restoreMobjectState as dl, reverse as Tl, rk4Step as Al, rotate as pl, rotating as _l, rushFrom as hl, rushInto as gl, saveMobjectState as Rl, scale as Ll, scaleVec as Dl, serializeMobject as Fl, setFeatureFlags as fl, shift as vl, showCreationThenDestruction as Pl, showPassingFlash as Gl, signedArea2D as Sl, skeletonizeGlyph as Ml, smooth as Ol, smoothedVectorizedHomotopy as bl, snapshotFromJSON as yl, snapshotToJSON as Bl, solveIVP as Cl, starGraph as Ul, stateFromJSON as Il, stateToJSON as xl, stepFunction as Nl, subVec as wl, succession as Vl, svgMobject as Wl, svgToVMobjects as Hl, texturedSphere as kl, thereAndBack as jl, transform as Yl, triangulatePolygon as Kl, triangulatePolygonPositions as zl, uncreate as Jl, unwrite as Zl, updateBezierMaterialResolution as Ql, updateFromAlphaFunc as Xl, updateFromFunc as $l, valueTracker as ql, wiggle as ei, wiggleOutThenIn as ai, write as ti } from "../index.js";
|
|
4
4
|
import "three";
|
|
5
|
-
function
|
|
5
|
+
function h(e, t) {
|
|
6
6
|
const a = s(null), r = n(!1);
|
|
7
7
|
return p(() => {
|
|
8
8
|
e.value && (a.value = new u(e.value, t), r.value = !0);
|
|
@@ -116,7 +116,7 @@ const m = /* @__PURE__ */ Symbol("manimweb-scene"), v = d({
|
|
|
116
116
|
ready: (e) => e instanceof u
|
|
117
117
|
},
|
|
118
118
|
setup(e, { emit: t, slots: a }) {
|
|
119
|
-
const r = n(null), { scene: o, isReady: i } =
|
|
119
|
+
const r = n(null), { scene: o, isReady: i } = h(r, {
|
|
120
120
|
width: e.width,
|
|
121
121
|
height: e.height,
|
|
122
122
|
backgroundColor: e.backgroundColor,
|
|
@@ -189,8 +189,8 @@ export {
|
|
|
189
189
|
Ae as Clickable,
|
|
190
190
|
pe as ComplexHomotopy,
|
|
191
191
|
_e as ComplexValueTracker,
|
|
192
|
-
|
|
193
|
-
|
|
192
|
+
he as Cone,
|
|
193
|
+
ge as Controls,
|
|
194
194
|
Re as ConvexHull,
|
|
195
195
|
Le as Create,
|
|
196
196
|
De as Cross,
|
|
@@ -243,8 +243,8 @@ export {
|
|
|
243
243
|
Aa as FullScreenRectangle,
|
|
244
244
|
pa as FunctionGraph,
|
|
245
245
|
_a as GOLD,
|
|
246
|
-
|
|
247
|
-
|
|
246
|
+
ha as GOLD_A,
|
|
247
|
+
ga as GOLD_B,
|
|
248
248
|
Ra as GOLD_C,
|
|
249
249
|
La as GOLD_D,
|
|
250
250
|
Da as GOLD_E,
|
|
@@ -297,264 +297,265 @@ export {
|
|
|
297
297
|
At as MAROON_D,
|
|
298
298
|
pt as MAROON_E,
|
|
299
299
|
_t as MED_LARGE_BUFF,
|
|
300
|
-
|
|
301
|
-
|
|
300
|
+
ht as MED_SMALL_BUFF,
|
|
301
|
+
gt as MandelbrotSet,
|
|
302
302
|
v as ManimScene,
|
|
303
303
|
G as ManimWebPlugin,
|
|
304
304
|
Rt as MarkupText,
|
|
305
305
|
Lt as MathTable,
|
|
306
306
|
Dt as MathTex,
|
|
307
|
-
Ft as
|
|
308
|
-
ft as
|
|
309
|
-
vt as
|
|
310
|
-
Pt as
|
|
311
|
-
Gt as
|
|
312
|
-
St as
|
|
313
|
-
Mt as
|
|
314
|
-
Ot as
|
|
315
|
-
bt as
|
|
316
|
-
yt as
|
|
317
|
-
Bt as
|
|
318
|
-
Ct as
|
|
319
|
-
Ut as
|
|
320
|
-
It as
|
|
321
|
-
xt as
|
|
322
|
-
Nt as
|
|
323
|
-
wt as
|
|
324
|
-
Vt as
|
|
325
|
-
Wt as
|
|
326
|
-
Ht as
|
|
327
|
-
kt as
|
|
328
|
-
jt as
|
|
329
|
-
Yt as
|
|
330
|
-
Kt as
|
|
331
|
-
zt as
|
|
332
|
-
Jt as
|
|
333
|
-
Zt as
|
|
334
|
-
Qt as
|
|
335
|
-
Xt as
|
|
336
|
-
$t as
|
|
337
|
-
qt as
|
|
338
|
-
er as
|
|
339
|
-
ar as
|
|
340
|
-
tr as
|
|
341
|
-
rr as
|
|
342
|
-
or as
|
|
343
|
-
nr as
|
|
344
|
-
lr as
|
|
345
|
-
ir as
|
|
346
|
-
ur as
|
|
347
|
-
cr as
|
|
348
|
-
sr as
|
|
349
|
-
mr as
|
|
350
|
-
Er as
|
|
351
|
-
dr as
|
|
352
|
-
Tr as
|
|
353
|
-
Ar as
|
|
354
|
-
pr as
|
|
355
|
-
_r as
|
|
307
|
+
Ft as MathTexSVG,
|
|
308
|
+
ft as Matrix,
|
|
309
|
+
vt as Mobject,
|
|
310
|
+
Pt as MobjectMatrix,
|
|
311
|
+
Gt as MobjectTable,
|
|
312
|
+
St as MoveAlongPath,
|
|
313
|
+
Mt as MoveToTarget,
|
|
314
|
+
Ot as MoveToTargetPosition,
|
|
315
|
+
bt as NewtonFractal,
|
|
316
|
+
yt as NumberLine,
|
|
317
|
+
Bt as NumberPlane,
|
|
318
|
+
Ct as ORANGE,
|
|
319
|
+
Ut as ORIGIN,
|
|
320
|
+
It as OUT,
|
|
321
|
+
xt as OrbitControls,
|
|
322
|
+
Nt as PGroup,
|
|
323
|
+
wt as PINK,
|
|
324
|
+
Vt as PMobject,
|
|
325
|
+
Wt as PURE_BLUE,
|
|
326
|
+
Ht as PURE_GREEN,
|
|
327
|
+
kt as PURE_RED,
|
|
328
|
+
jt as PURPLE,
|
|
329
|
+
Yt as PURPLE_A,
|
|
330
|
+
Kt as PURPLE_B,
|
|
331
|
+
zt as PURPLE_C,
|
|
332
|
+
Jt as PURPLE_D,
|
|
333
|
+
Zt as PURPLE_E,
|
|
334
|
+
Qt as Paragraph,
|
|
335
|
+
Xt as ParametricFunction,
|
|
336
|
+
$t as ParametricSurface,
|
|
337
|
+
qt as Pentagon,
|
|
338
|
+
er as PerformanceMonitor,
|
|
339
|
+
ar as PhaseFlow,
|
|
340
|
+
tr as PlaybackControls,
|
|
341
|
+
rr as PointCloudDot,
|
|
342
|
+
or as PointMobject,
|
|
343
|
+
nr as Polygon,
|
|
344
|
+
lr as Pulse,
|
|
345
|
+
ir as RED,
|
|
346
|
+
ur as RED_A,
|
|
347
|
+
cr as RED_B,
|
|
348
|
+
sr as RED_C,
|
|
349
|
+
mr as RED_D,
|
|
350
|
+
Er as RED_E,
|
|
351
|
+
dr as RIGHT,
|
|
352
|
+
Tr as Rectangle,
|
|
353
|
+
Ar as RegularPolygon,
|
|
354
|
+
pr as RegularPolygram,
|
|
355
|
+
_r as RemoveTextLetterByLetter,
|
|
356
|
+
hr as Renderer,
|
|
356
357
|
gr as ReplacementTransform,
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
358
|
+
Rr as Restore,
|
|
359
|
+
Lr as RightAngle,
|
|
360
|
+
Dr as Rotate,
|
|
361
|
+
Fr as Rotating,
|
|
362
|
+
fr as RoundedRectangle,
|
|
363
|
+
vr as SMALL_BUFF,
|
|
364
|
+
Pr as SVGMobject,
|
|
365
|
+
Gr as SampleSpace,
|
|
366
|
+
Sr as Scale,
|
|
367
|
+
Mr as ScaleInPlace,
|
|
367
368
|
u as Scene,
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
369
|
+
Or as SceneStateManager,
|
|
370
|
+
br as ScreenRectangle,
|
|
371
|
+
yr as Sector,
|
|
372
|
+
Br as SelectionManager,
|
|
373
|
+
Cr as Shift,
|
|
374
|
+
Ur as ShowCreationThenDestruction,
|
|
375
|
+
Ir as ShowPassingFlash,
|
|
376
|
+
xr as SmallDot,
|
|
377
|
+
Nr as SmoothedVectorizedHomotopy,
|
|
378
|
+
wr as Sphere,
|
|
379
|
+
Vr as Square,
|
|
380
|
+
Wr as Star,
|
|
381
|
+
Hr as Succession,
|
|
382
|
+
kr as Surface3D,
|
|
383
|
+
jr as SurfacePresets,
|
|
384
|
+
Yr as SurroundingRectangle,
|
|
385
|
+
Kr as TEAL,
|
|
386
|
+
zr as TEAL_A,
|
|
387
|
+
Jr as TEAL_B,
|
|
388
|
+
Zr as TEAL_C,
|
|
389
|
+
Qr as TEAL_D,
|
|
390
|
+
Xr as TEAL_E,
|
|
391
|
+
$r as Table,
|
|
392
|
+
qr as TangentLine,
|
|
393
|
+
eo as TangentialArc,
|
|
394
|
+
ao as Tex,
|
|
395
|
+
to as Text,
|
|
396
|
+
ro as TextGlyphGroup,
|
|
397
|
+
oo as TexturedSurface,
|
|
398
|
+
no as ThreeDAxes,
|
|
399
|
+
lo as ThreeDScene,
|
|
400
|
+
io as Timeline,
|
|
401
|
+
uo as Torus,
|
|
402
|
+
co as Transform,
|
|
403
|
+
so as Triangle,
|
|
404
|
+
mo as UL,
|
|
405
|
+
Eo as UP,
|
|
406
|
+
To as UR,
|
|
407
|
+
Ao as Uncreate,
|
|
408
|
+
po as Underline,
|
|
409
|
+
_o as Union,
|
|
410
|
+
ho as Unwrite,
|
|
410
411
|
go as UpdateFromAlphaFunc,
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
412
|
+
Ro as UpdateFromFunc,
|
|
413
|
+
Lo as VDict,
|
|
414
|
+
Do as VGroup,
|
|
415
|
+
Fo as VMobject,
|
|
416
|
+
fo as VMobjectFromSVGPath,
|
|
417
|
+
vo as ValueTracker,
|
|
418
|
+
Po as Variable,
|
|
419
|
+
Go as Vector,
|
|
420
|
+
So as Vector3D,
|
|
421
|
+
Mo as VectorFieldVector,
|
|
422
|
+
Oo as VectorizedPoint,
|
|
423
|
+
bo as VideoExporter,
|
|
424
|
+
yo as WHITE,
|
|
425
|
+
Bo as Wiggle,
|
|
426
|
+
Co as WiggleOutThenIn,
|
|
427
|
+
Uo as Write,
|
|
428
|
+
Io as YELLOW,
|
|
429
|
+
xo as YELLOW_A,
|
|
430
|
+
No as YELLOW_B,
|
|
431
|
+
wo as YELLOW_C,
|
|
432
|
+
Vo as YELLOW_D,
|
|
433
|
+
Wo as YELLOW_E,
|
|
434
|
+
Ho as ZoomDisplayPopOut,
|
|
435
|
+
ko as ZoomedScene,
|
|
436
|
+
jo as addTextLetterByLetter,
|
|
437
|
+
Yo as addVec,
|
|
438
|
+
Ko as animationGroup,
|
|
439
|
+
zo as applyPointwiseFunction,
|
|
440
|
+
Jo as applyWave,
|
|
441
|
+
Zo as areKatexStylesLoaded,
|
|
442
|
+
Qo as binaryTree,
|
|
443
|
+
Xo as bipartiteGraph,
|
|
444
|
+
$o as broadcast,
|
|
445
|
+
qo as circumscribe,
|
|
446
|
+
en as completeGraph,
|
|
447
|
+
an as complexHomotopy,
|
|
448
|
+
tn as complexValueTracker,
|
|
449
|
+
rn as compose,
|
|
450
|
+
on as create,
|
|
451
|
+
nn as createBezierShaderMaterial,
|
|
452
|
+
ln as createDiceRow,
|
|
453
|
+
un as createFadeToBlack,
|
|
454
|
+
cn as createFadeToWhite,
|
|
455
|
+
sn as createFrameTimeTracker,
|
|
456
|
+
mn as createGifExporter,
|
|
457
|
+
En as createPerformanceMonitor,
|
|
458
|
+
dn as createVideoExporter,
|
|
459
|
+
Tn as cycleGraph,
|
|
460
|
+
An as deserializeMobject,
|
|
461
|
+
pn as doubleSmooth,
|
|
462
|
+
_n as drawBorderThenFill,
|
|
463
|
+
hn as easeIn,
|
|
463
464
|
gn as easeInBounce,
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
465
|
+
Rn as easeInExpo,
|
|
466
|
+
Ln as easeInOut,
|
|
467
|
+
Dn as easeInQuad,
|
|
468
|
+
Fn as easeOut,
|
|
469
|
+
fn as easeOutBounce,
|
|
470
|
+
vn as easeOutExpo,
|
|
471
|
+
Pn as easeOutQuad,
|
|
472
|
+
Gn as ensureCCW,
|
|
473
|
+
Sn as ensureCW,
|
|
474
|
+
Mn as ensureKatexStyles,
|
|
475
|
+
On as fadeIn,
|
|
476
|
+
bn as fadeOut,
|
|
477
|
+
yn as fadeToColor,
|
|
478
|
+
Bn as flash,
|
|
479
|
+
Cn as flowPoint,
|
|
480
|
+
Un as flowPointTrajectory,
|
|
481
|
+
In as focusOn,
|
|
482
|
+
xn as getFeatureFlags,
|
|
483
|
+
Nn as gridGraph,
|
|
484
|
+
wn as growFromCenter,
|
|
485
|
+
Vn as homotopy,
|
|
486
|
+
Wn as hungarian,
|
|
487
|
+
Hn as hungarianFromSimilarity,
|
|
488
|
+
kn as indicate,
|
|
489
|
+
jn as isFeatureEnabled,
|
|
490
|
+
Yn as isMathJaxLoaded,
|
|
491
|
+
Kn as katexCanRender,
|
|
492
|
+
zn as laggedStart,
|
|
493
|
+
Jn as linear,
|
|
494
|
+
Zn as linspace,
|
|
495
|
+
Qn as maintainPositionRelativeTo,
|
|
496
|
+
Xn as makeClickable,
|
|
497
|
+
$n as makeDraggable,
|
|
498
|
+
qn as makeHoverable,
|
|
499
|
+
el as moveAlongPath,
|
|
500
|
+
al as moveToTarget,
|
|
501
|
+
tl as moveToTargetPosition,
|
|
502
|
+
rl as parseSVGPathData,
|
|
503
|
+
ol as pathGraph,
|
|
504
|
+
nl as phaseFlow,
|
|
505
|
+
ll as preloadMathJax,
|
|
506
|
+
il as pulse,
|
|
507
|
+
ul as removeTextLetterByLetter,
|
|
508
|
+
cl as renderLatexToSVG,
|
|
509
|
+
sl as replacementTransform,
|
|
510
|
+
ml as resetFeatureFlags,
|
|
511
|
+
El as restore,
|
|
512
|
+
dl as restoreMobjectState,
|
|
513
|
+
Tl as reverse,
|
|
514
|
+
Al as rk4Step,
|
|
515
|
+
pl as rotate,
|
|
516
|
+
_l as rotating,
|
|
517
|
+
hl as rushFrom,
|
|
517
518
|
gl as rushInto,
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
519
|
+
Rl as saveMobjectState,
|
|
520
|
+
Ll as scale,
|
|
521
|
+
Dl as scaleVec,
|
|
522
|
+
Fl as serializeMobject,
|
|
523
|
+
fl as setFeatureFlags,
|
|
524
|
+
vl as shift,
|
|
525
|
+
Pl as showCreationThenDestruction,
|
|
526
|
+
Gl as showPassingFlash,
|
|
527
|
+
Sl as signedArea2D,
|
|
528
|
+
Ml as skeletonizeGlyph,
|
|
529
|
+
Ol as smooth,
|
|
530
|
+
bl as smoothedVectorizedHomotopy,
|
|
531
|
+
yl as snapshotFromJSON,
|
|
532
|
+
Bl as snapshotToJSON,
|
|
533
|
+
Cl as solveIVP,
|
|
534
|
+
Ul as starGraph,
|
|
535
|
+
Il as stateFromJSON,
|
|
536
|
+
xl as stateToJSON,
|
|
537
|
+
Nl as stepFunction,
|
|
538
|
+
wl as subVec,
|
|
539
|
+
Vl as succession,
|
|
540
|
+
Wl as svgMobject,
|
|
541
|
+
Hl as svgToVMobjects,
|
|
542
|
+
kl as texturedSphere,
|
|
543
|
+
jl as thereAndBack,
|
|
544
|
+
Yl as transform,
|
|
545
|
+
Kl as triangulatePolygon,
|
|
546
|
+
zl as triangulatePolygonPositions,
|
|
547
|
+
Jl as uncreate,
|
|
548
|
+
Zl as unwrite,
|
|
549
|
+
Ql as updateBezierMaterialResolution,
|
|
550
|
+
Xl as updateFromAlphaFunc,
|
|
551
|
+
$l as updateFromFunc,
|
|
551
552
|
F as useAnimation,
|
|
552
553
|
P as useInjectedScene,
|
|
553
554
|
D as useMobject,
|
|
554
|
-
|
|
555
|
+
h as useScene,
|
|
555
556
|
f as useUpdater,
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
557
|
+
ql as valueTracker,
|
|
558
|
+
ei as wiggle,
|
|
559
|
+
ai as wiggleOutThenIn,
|
|
560
|
+
ti as write
|
|
560
561
|
};
|
|
@@ -34,7 +34,7 @@ export declare function isMathJaxLoaded(): boolean;
|
|
|
34
34
|
export declare function preloadMathJax(): Promise<void>;
|
|
35
35
|
/**
|
|
36
36
|
* Render a LaTeX string to SVG using MathJax and convert the result
|
|
37
|
-
* into VMobject paths suitable for manim-
|
|
37
|
+
* into VMobject paths suitable for manim-web animation.
|
|
38
38
|
*
|
|
39
39
|
* @param texString - The raw LaTeX to render (without delimiters).
|
|
40
40
|
* @param options - Rendering options.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MathJaxRenderer.d.ts","sourceRoot":"","sources":["../../../src/mobjects/text/MathJaxRenderer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAOhD,MAAM,WAAW,oBAAoB;IACnC,yDAAyD;IACzD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kFAAkF;IAClF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4CAA4C;IAC5C,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,yEAAyE;IACzE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+DAA+D;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,mBAAmB;IAClC,+CAA+C;IAC/C,UAAU,EAAE,UAAU,CAAC;IACvB,mDAAmD;IACnD,aAAa,EAAE,MAAM,CAAC;IACtB,qDAAqD;IACrD,SAAS,EAAE,MAAM,CAAC;IAClB,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,MAAM,EAAE,MAAM,CAAC;CAChB;AAgGD;;GAEG;AACH,wBAAgB,eAAe,IAAI,OAAO,CAEzC;AAED;;;GAGG;AACH,wBAAsB,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAEpD;AAED;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CACpC,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE,oBAAyB,GACjC,OAAO,CAAC,mBAAmB,CAAC,
|
|
1
|
+
{"version":3,"file":"MathJaxRenderer.d.ts","sourceRoot":"","sources":["../../../src/mobjects/text/MathJaxRenderer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAOhD,MAAM,WAAW,oBAAoB;IACnC,yDAAyD;IACzD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kFAAkF;IAClF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4CAA4C;IAC5C,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,yEAAyE;IACzE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+DAA+D;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,mBAAmB;IAClC,+CAA+C;IAC/C,UAAU,EAAE,UAAU,CAAC;IACvB,mDAAmD;IACnD,aAAa,EAAE,MAAM,CAAC;IACtB,qDAAqD;IACrD,SAAS,EAAE,MAAM,CAAC;IAClB,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,MAAM,EAAE,MAAM,CAAC;CAChB;AAgGD;;GAEG;AACH,wBAAgB,eAAe,IAAI,OAAO,CAEzC;AAED;;;GAGG;AACH,wBAAsB,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAEpD;AAED;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CACpC,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE,oBAAyB,GACjC,OAAO,CAAC,mBAAmB,CAAC,CA+H9B;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,UAAO,GAAG,OAAO,CAW7E"}
|