manim-web 0.3.18 → 0.3.20
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 +26 -40
- package/dist/AllPackages-B0GtkYjD.js +7912 -0
- package/dist/AllPackages-BIAELuhU.js +7912 -0
- package/dist/BaseConfiguration-CDf44lxS.js +4402 -0
- package/dist/BaseConfiguration-Chcqjv9L.js +4402 -0
- package/dist/Entities-B_gwJfrn.js +458 -0
- package/dist/Entities-CmJkmuw_.js +458 -0
- package/dist/GifExporter-C9lP34Iu.js +338 -0
- package/dist/GifExporter-DBak5Vk7.js +338 -0
- package/dist/InputJax-C5sGfjJ8.js +43 -0
- package/dist/InputJax-Jb4hSThK.js +43 -0
- package/dist/MathItem-BmK41eqe.js +77 -0
- package/dist/MathItem-C_mZyaeT.js +77 -0
- package/dist/Options-Ch1vGsgd.js +188 -0
- package/dist/Options-V6ag48Dv.js +188 -0
- package/dist/PrioritizedList-DkoCmqPk.js +36 -0
- package/dist/PrioritizedList-eKTii0tW.js +36 -0
- package/dist/Styles-De4BjKiV.js +411 -0
- package/dist/Styles-DgoiBrzf.js +411 -0
- package/dist/TeXAtom-DT2wCvcU.js +2025 -0
- package/dist/TeXAtom-JogI0lus.js +2025 -0
- package/dist/VideoExporter-Bdtz_pWv.js +102 -0
- package/dist/VideoExporter-Vjfsnv1h.js +102 -0
- package/dist/animation/creation/Create.d.ts +1 -1
- package/dist/animation/movement/Rotate.d.ts +2 -0
- package/dist/animation/movement/Rotate.d.ts.map +1 -1
- package/dist/animation/movement/Scale.d.ts +2 -0
- package/dist/animation/movement/Scale.d.ts.map +1 -1
- package/dist/animation/transform/ApplyTransforms.d.ts +1 -2
- package/dist/animation/transform/ApplyTransforms.d.ts.map +1 -1
- package/dist/animation/transform/MovementTransforms.d.ts +8 -0
- package/dist/animation/transform/MovementTransforms.d.ts.map +1 -1
- package/dist/animation/transform/Transform.d.ts +3 -0
- package/dist/animation/transform/Transform.d.ts.map +1 -1
- package/dist/animation/utility/index.d.ts +2 -0
- package/dist/animation/utility/index.d.ts.map +1 -1
- package/dist/chunk-3e0lkp8x.js +23 -0
- package/dist/constants/fontRender.d.ts +19 -0
- package/dist/constants/fontRender.d.ts.map +1 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/core/Camera.d.ts +19 -6
- package/dist/core/Camera.d.ts.map +1 -1
- package/dist/core/CameraFrame.d.ts +0 -2
- package/dist/core/CameraFrame.d.ts.map +1 -1
- package/dist/core/Group.d.ts +2 -2
- package/dist/core/Group.d.ts.map +1 -1
- package/dist/core/Mobject.d.ts +26 -6
- package/dist/core/Mobject.d.ts.map +1 -1
- package/dist/core/MobjectState.d.ts +23 -2
- package/dist/core/MobjectState.d.ts.map +1 -1
- package/dist/core/MobjectTraversal.d.ts +25 -0
- package/dist/core/MobjectTraversal.d.ts.map +1 -0
- package/dist/core/Scene.d.ts +7 -1
- package/dist/core/Scene.d.ts.map +1 -1
- package/dist/core/ThreeDScene.d.ts +19 -0
- package/dist/core/ThreeDScene.d.ts.map +1 -1
- package/dist/core/VGroup.d.ts +1 -1
- package/dist/core/VGroup.d.ts.map +1 -1
- package/dist/core/VMobject.d.ts +20 -1
- package/dist/core/VMobject.d.ts.map +1 -1
- package/dist/core/VMobjectGeometry.d.ts +2 -1
- package/dist/core/VMobjectGeometry.d.ts.map +1 -1
- package/dist/html-53__O8r2.js +1587 -0
- package/dist/html-DfHFh5II.js +1587 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -579
- package/dist/integrations/react.js +144 -735
- package/dist/integrations/vue.js +109 -735
- package/dist/interaction/Draggable.d.ts.map +1 -1
- package/dist/interaction/OrbitControls.d.ts +2 -0
- package/dist/interaction/OrbitControls.d.ts.map +1 -1
- package/dist/lengths-3epoqRj7.js +65 -0
- package/dist/lengths-B-bX9Tfk.js +65 -0
- package/dist/liteAdaptor-BxFvlO-q.js +828 -0
- package/dist/liteAdaptor-CsOIKw2g.js +828 -0
- package/dist/manim-web.browser.js +72994 -83815
- package/dist/mathjax-Bkrmftxh.js +102 -0
- package/dist/mathjax-DBrTNl9C.js +102 -0
- package/dist/mo-AzagC5AD.js +3271 -0
- package/dist/mo-I_6dyJsk.js +3271 -0
- package/dist/mobjects/geometry/AngleShapes.d.ts +16 -0
- package/dist/mobjects/geometry/AngleShapes.d.ts.map +1 -1
- package/dist/mobjects/geometry/DashedLine.d.ts +2 -2
- package/dist/mobjects/geometry/DashedLine.d.ts.map +1 -1
- package/dist/mobjects/graphing/Axes.d.ts +2 -2
- package/dist/mobjects/graphing/Axes.d.ts.map +1 -1
- package/dist/mobjects/graphing/ComplexPlane.d.ts +4 -1
- package/dist/mobjects/graphing/ComplexPlane.d.ts.map +1 -1
- package/dist/mobjects/matrix/Matrix.d.ts +2 -2
- package/dist/mobjects/matrix/Matrix.d.ts.map +1 -1
- package/dist/mobjects/point/PGroup.d.ts +1 -1
- package/dist/mobjects/point/PGroup.d.ts.map +1 -1
- package/dist/mobjects/point/PMobject.d.ts +1 -1
- package/dist/mobjects/point/PMobject.d.ts.map +1 -1
- package/dist/mobjects/svg/Brace.d.ts +3 -3
- package/dist/mobjects/svg/Brace.d.ts.map +1 -1
- package/dist/mobjects/table/Table.d.ts +4 -4
- package/dist/mobjects/table/Table.d.ts.map +1 -1
- package/dist/mobjects/text/MathJaxRenderer.d.ts +4 -2
- package/dist/mobjects/text/MathJaxRenderer.d.ts.map +1 -1
- package/dist/mobjects/text/MathTex.d.ts +68 -202
- package/dist/mobjects/text/MathTex.d.ts.map +1 -1
- package/dist/mobjects/text/MathTexImage.d.ts +258 -0
- package/dist/mobjects/text/MathTexImage.d.ts.map +1 -0
- package/dist/mobjects/text/MathTexParts.d.ts +10 -10
- package/dist/mobjects/text/MathTexParts.d.ts.map +1 -1
- package/dist/mobjects/text/Tex.d.ts +2 -7
- package/dist/mobjects/text/Tex.d.ts.map +1 -1
- package/dist/mobjects/text/Text.d.ts +2 -2
- package/dist/mobjects/text/Text.d.ts.map +1 -1
- package/dist/mobjects/text/Variable.d.ts +5 -5
- package/dist/mobjects/text/Variable.d.ts.map +1 -1
- package/dist/mobjects/text/index.d.ts +2 -2
- package/dist/mobjects/text/index.d.ts.map +1 -1
- package/dist/mobjects/text/katexStyles.d.ts.map +1 -1
- package/dist/mobjects/text/svgPathParser.d.ts.map +1 -1
- package/dist/mobjects/three-d/ThreeDAxes.d.ts +113 -9
- package/dist/mobjects/three-d/ThreeDAxes.d.ts.map +1 -1
- package/dist/player/Player.d.ts +8 -2
- package/dist/player/Player.d.ts.map +1 -1
- package/dist/player/PlayerController.d.ts +2 -0
- package/dist/player/PlayerController.d.ts.map +1 -1
- package/dist/player/PlayerUI.d.ts +5 -0
- package/dist/player/PlayerUI.d.ts.map +1 -1
- package/dist/src-Db7QTr4S.js +60248 -0
- package/dist/svg-CoGQ_sAt.js +23880 -0
- package/dist/svg-DiIG93Lr.js +23880 -0
- package/dist/tex-ChPKMfdv.js +401 -0
- package/dist/tex-hYZcjadW.js +401 -0
- package/dist/utils/math.d.ts +45 -0
- package/dist/utils/math.d.ts.map +1 -1
- package/package.json +6 -4
- package/dist/featureFlags-H97tY2Rw.js +0 -59814
- package/dist/mobjects/text/MathTexSVG.d.ts +0 -102
- package/dist/mobjects/text/MathTexSVG.d.ts.map +0 -1
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { t as e } from "./chunk-3e0lkp8x.js";
|
|
2
|
+
import { t } from "./PrioritizedList-eKTii0tW.js";
|
|
3
|
+
//#region node_modules/mathjax-full/js/util/Retries.js
|
|
4
|
+
var n = /* @__PURE__ */ e(((e) => {
|
|
5
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.retryAfter = e.handleRetriesFor = void 0;
|
|
6
|
+
function t(e) {
|
|
7
|
+
return new Promise(function t(n, r) {
|
|
8
|
+
try {
|
|
9
|
+
n(e());
|
|
10
|
+
} catch (e) {
|
|
11
|
+
e.retry && e.retry instanceof Promise ? e.retry.then(function() {
|
|
12
|
+
return t(n, r);
|
|
13
|
+
}).catch(function(e) {
|
|
14
|
+
return r(e);
|
|
15
|
+
}) : e.restart && e.restart.isCallback ? MathJax.Callback.After(function() {
|
|
16
|
+
return t(n, r);
|
|
17
|
+
}, e.restart) : r(e);
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
e.handleRetriesFor = t;
|
|
22
|
+
function n(e) {
|
|
23
|
+
var t = /* @__PURE__ */ Error("MathJax retry");
|
|
24
|
+
throw t.retry = e, t;
|
|
25
|
+
}
|
|
26
|
+
e.retryAfter = n;
|
|
27
|
+
})), r = /* @__PURE__ */ e(((e) => {
|
|
28
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.VERSION = void 0, e.VERSION = "3.2.2";
|
|
29
|
+
})), i = /* @__PURE__ */ e(((e) => {
|
|
30
|
+
var n = e && e.__extends || (function() {
|
|
31
|
+
var e = function(t, n) {
|
|
32
|
+
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
33
|
+
e.__proto__ = t;
|
|
34
|
+
} || function(e, t) {
|
|
35
|
+
for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
36
|
+
}, e(t, n);
|
|
37
|
+
};
|
|
38
|
+
return function(t, n) {
|
|
39
|
+
if (typeof n != "function" && n !== null) throw TypeError("Class extends value " + String(n) + " is not a constructor or null");
|
|
40
|
+
e(t, n);
|
|
41
|
+
function r() {
|
|
42
|
+
this.constructor = t;
|
|
43
|
+
}
|
|
44
|
+
t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
|
|
45
|
+
};
|
|
46
|
+
})(), r = e && e.__values || function(e) {
|
|
47
|
+
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
48
|
+
if (n) return n.call(e);
|
|
49
|
+
if (e && typeof e.length == "number") return { next: function() {
|
|
50
|
+
return e && r >= e.length && (e = void 0), {
|
|
51
|
+
value: e && e[r++],
|
|
52
|
+
done: !e
|
|
53
|
+
};
|
|
54
|
+
} };
|
|
55
|
+
throw TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
56
|
+
};
|
|
57
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.HandlerList = void 0, e.HandlerList = function(e) {
|
|
58
|
+
n(t, e);
|
|
59
|
+
function t() {
|
|
60
|
+
return e !== null && e.apply(this, arguments) || this;
|
|
61
|
+
}
|
|
62
|
+
return t.prototype.register = function(e) {
|
|
63
|
+
return this.add(e, e.priority);
|
|
64
|
+
}, t.prototype.unregister = function(e) {
|
|
65
|
+
this.remove(e);
|
|
66
|
+
}, t.prototype.handlesDocument = function(e) {
|
|
67
|
+
var t, n;
|
|
68
|
+
try {
|
|
69
|
+
for (var i = r(this), a = i.next(); !a.done; a = i.next()) {
|
|
70
|
+
var o = a.value.item;
|
|
71
|
+
if (o.handlesDocument(e)) return o;
|
|
72
|
+
}
|
|
73
|
+
} catch (e) {
|
|
74
|
+
t = { error: e };
|
|
75
|
+
} finally {
|
|
76
|
+
try {
|
|
77
|
+
a && !a.done && (n = i.return) && n.call(i);
|
|
78
|
+
} finally {
|
|
79
|
+
if (t) throw t.error;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
throw Error("Can't find handler for document");
|
|
83
|
+
}, t.prototype.document = function(e, t) {
|
|
84
|
+
return t === void 0 && (t = null), this.handlesDocument(e).create(e, t);
|
|
85
|
+
}, t;
|
|
86
|
+
}(t().PrioritizedList);
|
|
87
|
+
})), a = /* @__PURE__ */ e(((e) => {
|
|
88
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.mathjax = void 0;
|
|
89
|
+
var t = r(), a = i(), o = n();
|
|
90
|
+
e.mathjax = {
|
|
91
|
+
version: t.VERSION,
|
|
92
|
+
handlers: new a.HandlerList(),
|
|
93
|
+
document: function(t, n) {
|
|
94
|
+
return e.mathjax.handlers.document(t, n);
|
|
95
|
+
},
|
|
96
|
+
handleRetriesFor: o.handleRetriesFor,
|
|
97
|
+
retryAfter: o.retryAfter,
|
|
98
|
+
asyncLoad: null
|
|
99
|
+
};
|
|
100
|
+
}));
|
|
101
|
+
//#endregion
|
|
102
|
+
export { n, a as t };
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { t as e } from "./chunk-3e0lkp8x.js";
|
|
2
|
+
import { t } from "./PrioritizedList-DkoCmqPk.js";
|
|
3
|
+
//#region node_modules/mathjax-full/js/util/Retries.js
|
|
4
|
+
var n = /* @__PURE__ */ e(((e) => {
|
|
5
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.retryAfter = e.handleRetriesFor = void 0;
|
|
6
|
+
function t(e) {
|
|
7
|
+
return new Promise(function t(n, r) {
|
|
8
|
+
try {
|
|
9
|
+
n(e());
|
|
10
|
+
} catch (e) {
|
|
11
|
+
e.retry && e.retry instanceof Promise ? e.retry.then(function() {
|
|
12
|
+
return t(n, r);
|
|
13
|
+
}).catch(function(e) {
|
|
14
|
+
return r(e);
|
|
15
|
+
}) : e.restart && e.restart.isCallback ? MathJax.Callback.After(function() {
|
|
16
|
+
return t(n, r);
|
|
17
|
+
}, e.restart) : r(e);
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
e.handleRetriesFor = t;
|
|
22
|
+
function n(e) {
|
|
23
|
+
var t = /* @__PURE__ */ Error("MathJax retry");
|
|
24
|
+
throw t.retry = e, t;
|
|
25
|
+
}
|
|
26
|
+
e.retryAfter = n;
|
|
27
|
+
})), r = /* @__PURE__ */ e(((e) => {
|
|
28
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.VERSION = void 0, e.VERSION = "3.2.2";
|
|
29
|
+
})), i = /* @__PURE__ */ e(((e) => {
|
|
30
|
+
var n = e && e.__extends || (function() {
|
|
31
|
+
var e = function(t, n) {
|
|
32
|
+
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
33
|
+
e.__proto__ = t;
|
|
34
|
+
} || function(e, t) {
|
|
35
|
+
for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
36
|
+
}, e(t, n);
|
|
37
|
+
};
|
|
38
|
+
return function(t, n) {
|
|
39
|
+
if (typeof n != "function" && n !== null) throw TypeError("Class extends value " + String(n) + " is not a constructor or null");
|
|
40
|
+
e(t, n);
|
|
41
|
+
function r() {
|
|
42
|
+
this.constructor = t;
|
|
43
|
+
}
|
|
44
|
+
t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
|
|
45
|
+
};
|
|
46
|
+
})(), r = e && e.__values || function(e) {
|
|
47
|
+
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
48
|
+
if (n) return n.call(e);
|
|
49
|
+
if (e && typeof e.length == "number") return { next: function() {
|
|
50
|
+
return e && r >= e.length && (e = void 0), {
|
|
51
|
+
value: e && e[r++],
|
|
52
|
+
done: !e
|
|
53
|
+
};
|
|
54
|
+
} };
|
|
55
|
+
throw TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
56
|
+
};
|
|
57
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.HandlerList = void 0, e.HandlerList = function(e) {
|
|
58
|
+
n(t, e);
|
|
59
|
+
function t() {
|
|
60
|
+
return e !== null && e.apply(this, arguments) || this;
|
|
61
|
+
}
|
|
62
|
+
return t.prototype.register = function(e) {
|
|
63
|
+
return this.add(e, e.priority);
|
|
64
|
+
}, t.prototype.unregister = function(e) {
|
|
65
|
+
this.remove(e);
|
|
66
|
+
}, t.prototype.handlesDocument = function(e) {
|
|
67
|
+
var t, n;
|
|
68
|
+
try {
|
|
69
|
+
for (var i = r(this), a = i.next(); !a.done; a = i.next()) {
|
|
70
|
+
var o = a.value.item;
|
|
71
|
+
if (o.handlesDocument(e)) return o;
|
|
72
|
+
}
|
|
73
|
+
} catch (e) {
|
|
74
|
+
t = { error: e };
|
|
75
|
+
} finally {
|
|
76
|
+
try {
|
|
77
|
+
a && !a.done && (n = i.return) && n.call(i);
|
|
78
|
+
} finally {
|
|
79
|
+
if (t) throw t.error;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
throw Error("Can't find handler for document");
|
|
83
|
+
}, t.prototype.document = function(e, t) {
|
|
84
|
+
return t === void 0 && (t = null), this.handlesDocument(e).create(e, t);
|
|
85
|
+
}, t;
|
|
86
|
+
}(t().PrioritizedList);
|
|
87
|
+
})), a = /* @__PURE__ */ e(((e) => {
|
|
88
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.mathjax = void 0;
|
|
89
|
+
var t = r(), a = i(), o = n();
|
|
90
|
+
e.mathjax = {
|
|
91
|
+
version: t.VERSION,
|
|
92
|
+
handlers: new a.HandlerList(),
|
|
93
|
+
document: function(t, n) {
|
|
94
|
+
return e.mathjax.handlers.document(t, n);
|
|
95
|
+
},
|
|
96
|
+
handleRetriesFor: o.handleRetriesFor,
|
|
97
|
+
retryAfter: o.retryAfter,
|
|
98
|
+
asyncLoad: null
|
|
99
|
+
};
|
|
100
|
+
}));
|
|
101
|
+
//#endregion
|
|
102
|
+
export { n, a as t };
|