manim-web 0.3.0 → 0.3.2
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/index.js
CHANGED
|
@@ -37116,6 +37116,7 @@ class Zo extends Mt {
|
|
|
37116
37116
|
_svgFillOpacity;
|
|
37117
37117
|
_targetHeight;
|
|
37118
37118
|
_macros;
|
|
37119
|
+
_svgViewBoxWidth = 1e3;
|
|
37119
37120
|
/** Whether this is a multi-part MathTexSVG (created from string[]) */
|
|
37120
37121
|
_isMultiPart = !1;
|
|
37121
37122
|
/** Child part groups (only when _isMultiPart is true) */
|
|
@@ -37150,7 +37151,9 @@ class Zo extends Mt {
|
|
|
37150
37151
|
*/
|
|
37151
37152
|
getPart(t) {
|
|
37152
37153
|
if (!this._isMultiPart)
|
|
37153
|
-
throw new Error(
|
|
37154
|
+
throw new Error(
|
|
37155
|
+
"getPart() is only available on multi-part MathTexSVG (created with string[])"
|
|
37156
|
+
);
|
|
37154
37157
|
if (t < 0 || t >= this._parts.length)
|
|
37155
37158
|
throw new Error(`Part index ${t} out of range [0, ${this._parts.length - 1}]`);
|
|
37156
37159
|
return this._parts[t];
|
|
@@ -37195,15 +37198,20 @@ class Zo extends Mt {
|
|
|
37195
37198
|
* Render the LaTeX to VMobject paths.
|
|
37196
37199
|
*/
|
|
37197
37200
|
async _render() {
|
|
37198
|
-
const
|
|
37201
|
+
const t = await Hr(this._latex, {
|
|
37199
37202
|
displayMode: this._displayMode,
|
|
37200
37203
|
color: this._color,
|
|
37201
37204
|
fontScale: this._fontSize,
|
|
37202
37205
|
macros: this._macros
|
|
37203
|
-
}))
|
|
37204
|
-
|
|
37205
|
-
|
|
37206
|
-
|
|
37206
|
+
}), e = t.svgElement.getAttribute?.("viewBox");
|
|
37207
|
+
if (e) {
|
|
37208
|
+
const r = e.split(/\s+/).map(Number);
|
|
37209
|
+
this._svgViewBoxWidth = r[2] || 1e3;
|
|
37210
|
+
}
|
|
37211
|
+
const i = t.vmobjectGroup;
|
|
37212
|
+
this._restyleChildren(i);
|
|
37213
|
+
for (const r of [...i.children])
|
|
37214
|
+
i.remove(r), this.add(r);
|
|
37207
37215
|
this._scaleToTarget(), this.fillOpacity = this._svgFillOpacity;
|
|
37208
37216
|
}
|
|
37209
37217
|
/**
|
|
@@ -37221,26 +37229,24 @@ class Zo extends Mt {
|
|
|
37221
37229
|
* Scale and center the assembled paths by transforming actual point data.
|
|
37222
37230
|
*/
|
|
37223
37231
|
_scaleToTarget() {
|
|
37224
|
-
const t = [], e = (
|
|
37225
|
-
if (
|
|
37226
|
-
for (const
|
|
37227
|
-
e(
|
|
37232
|
+
const t = [], e = (u) => {
|
|
37233
|
+
if (u instanceof B && !(u instanceof Mt) && t.push(u), "children" in u)
|
|
37234
|
+
for (const d of u.children)
|
|
37235
|
+
e(d);
|
|
37228
37236
|
};
|
|
37229
37237
|
e(this);
|
|
37230
37238
|
let i = 1 / 0, r = -1 / 0, n = 1 / 0, o = -1 / 0;
|
|
37231
|
-
for (const
|
|
37232
|
-
for (const
|
|
37233
|
-
|
|
37239
|
+
for (const u of t)
|
|
37240
|
+
for (const d of u.getPoints())
|
|
37241
|
+
d[0] < i && (i = d[0]), d[0] > r && (r = d[0]), d[1] < n && (n = d[1]), d[1] > o && (o = d[1]);
|
|
37234
37242
|
const a = o - n;
|
|
37235
37243
|
if (a < 1e-4) return;
|
|
37236
|
-
|
|
37237
|
-
|
|
37238
|
-
|
|
37239
|
-
|
|
37240
|
-
|
|
37241
|
-
|
|
37242
|
-
]);
|
|
37243
|
-
d.setPoints3D(g);
|
|
37244
|
+
let h;
|
|
37245
|
+
this._targetHeight !== void 0 ? h = this._targetHeight / a : h = 0.5 * this._svgViewBoxWidth / 1e3;
|
|
37246
|
+
const l = (i + r) / 2, c = (n + o) / 2;
|
|
37247
|
+
for (const u of t) {
|
|
37248
|
+
const f = u.getPoints().map((g) => [(g[0] - l) * h, (g[1] - c) * h, g[2]]);
|
|
37249
|
+
u.setPoints3D(f);
|
|
37244
37250
|
}
|
|
37245
37251
|
}
|
|
37246
37252
|
/**
|
|
@@ -37255,38 +37261,42 @@ class Zo extends Mt {
|
|
|
37255
37261
|
color: this._color,
|
|
37256
37262
|
fontScale: this._fontSize,
|
|
37257
37263
|
macros: this._macros
|
|
37258
|
-
});
|
|
37264
|
+
}), r = i.svgElement.getAttribute?.("viewBox");
|
|
37265
|
+
if (r) {
|
|
37266
|
+
const h = r.split(/\s+/).map(Number);
|
|
37267
|
+
this._svgViewBoxWidth = h[2] || 1e3;
|
|
37268
|
+
}
|
|
37259
37269
|
this._restyleChildren(i.vmobjectGroup);
|
|
37260
|
-
const r = [];
|
|
37261
|
-
for (const a of [...i.vmobjectGroup.children])
|
|
37262
|
-
a instanceof B && r.push(a);
|
|
37263
37270
|
const n = [];
|
|
37264
|
-
for (const
|
|
37265
|
-
|
|
37271
|
+
for (const h of [...i.vmobjectGroup.children])
|
|
37272
|
+
h instanceof B && n.push(h);
|
|
37273
|
+
const o = [];
|
|
37274
|
+
for (const h of t) {
|
|
37275
|
+
const l = await Hr(h, {
|
|
37266
37276
|
displayMode: !1,
|
|
37267
37277
|
color: this._color,
|
|
37268
37278
|
fontScale: this._fontSize,
|
|
37269
37279
|
macros: this._macros
|
|
37270
37280
|
});
|
|
37271
|
-
let
|
|
37272
|
-
for (const
|
|
37273
|
-
|
|
37274
|
-
|
|
37281
|
+
let c = 0;
|
|
37282
|
+
for (const u of l.vmobjectGroup.children)
|
|
37283
|
+
u instanceof B && c++;
|
|
37284
|
+
o.push(c);
|
|
37275
37285
|
}
|
|
37276
|
-
let
|
|
37277
|
-
for (let
|
|
37278
|
-
const
|
|
37279
|
-
|
|
37280
|
-
const
|
|
37281
|
-
for (let
|
|
37282
|
-
const
|
|
37283
|
-
i.vmobjectGroup.remove(
|
|
37286
|
+
let a = 0;
|
|
37287
|
+
for (let h = 0; h < t.length; h++) {
|
|
37288
|
+
const l = new Zo._PartGroup(this);
|
|
37289
|
+
l._latex = t[h], l._color = this._color;
|
|
37290
|
+
const c = o[h];
|
|
37291
|
+
for (let u = 0; u < c && a < n.length; u++) {
|
|
37292
|
+
const d = n[a++];
|
|
37293
|
+
i.vmobjectGroup.remove(d), l.add(d);
|
|
37284
37294
|
}
|
|
37285
|
-
this._parts.push(
|
|
37295
|
+
this._parts.push(l), this.add(l);
|
|
37286
37296
|
}
|
|
37287
|
-
for (;
|
|
37288
|
-
const
|
|
37289
|
-
i.vmobjectGroup.remove(
|
|
37297
|
+
for (; a < n.length; ) {
|
|
37298
|
+
const h = this._parts[this._parts.length - 1], l = n[a++];
|
|
37299
|
+
i.vmobjectGroup.remove(l), h.add(l);
|
|
37290
37300
|
}
|
|
37291
37301
|
this._scaleToTarget(), this.fillOpacity = this._svgFillOpacity;
|
|
37292
37302
|
}
|
|
@@ -39784,24 +39794,24 @@ class rd extends ze {
|
|
|
39784
39794
|
shaftRadius: _ = 0.01
|
|
39785
39795
|
} = t;
|
|
39786
39796
|
this._xRange = [...e], this._yRange = [...i], this._zRange = [...r], this._xLength = n, this._yLength = o, this._zLength = a, this._showTicks = f, this._tickLength = g;
|
|
39787
|
-
const y = l ?? h, x = c ?? h, w = u ?? h, M =
|
|
39797
|
+
const y = l ?? h, x = c ?? h, w = u ?? h, M = this._graphToVisual(e[0], e, n), C = this._graphToVisual(e[1], e, n), P = this._graphToVisual(i[0], i, o), R = this._graphToVisual(i[1], i, o), O = this._graphToVisual(r[0], r, a), z = this._graphToVisual(r[1], r, a);
|
|
39788
39798
|
this._xAxis = new gs({
|
|
39789
|
-
start: [
|
|
39790
|
-
end: [
|
|
39799
|
+
start: [M, 0, 0],
|
|
39800
|
+
end: [C, 0, 0],
|
|
39791
39801
|
color: y,
|
|
39792
39802
|
tipLength: m,
|
|
39793
39803
|
tipRadius: p,
|
|
39794
39804
|
shaftRadius: _
|
|
39795
39805
|
}), this._yAxis = new gs({
|
|
39796
|
-
start: [0, 0,
|
|
39797
|
-
end: [0, 0, -
|
|
39806
|
+
start: [0, 0, -P],
|
|
39807
|
+
end: [0, 0, -R],
|
|
39798
39808
|
color: x,
|
|
39799
39809
|
tipLength: m,
|
|
39800
39810
|
tipRadius: p,
|
|
39801
39811
|
shaftRadius: _
|
|
39802
39812
|
}), this._zAxis = new gs({
|
|
39803
|
-
start: [0,
|
|
39804
|
-
end: [0,
|
|
39813
|
+
start: [0, O, 0],
|
|
39814
|
+
end: [0, z, 0],
|
|
39805
39815
|
color: w,
|
|
39806
39816
|
tipLength: m,
|
|
39807
39817
|
tipRadius: p,
|
|
@@ -39819,42 +39829,42 @@ class rd extends ze {
|
|
|
39819
39829
|
* Create tick marks for all axes using Manim→THREE.js coordinate mapping
|
|
39820
39830
|
*/
|
|
39821
39831
|
_createTicks(t, e, i) {
|
|
39822
|
-
const r
|
|
39823
|
-
for (let
|
|
39824
|
-
if (Math.abs(
|
|
39825
|
-
const
|
|
39826
|
-
start: this._m2t(
|
|
39827
|
-
end: this._m2t(
|
|
39832
|
+
const [r, n, o] = this._xRange, [a, h, l] = this._yRange, [c, u, d] = this._zRange, f = this._tickLength / 2;
|
|
39833
|
+
for (let g = r; g <= n; g += o) {
|
|
39834
|
+
if (Math.abs(g) < 1e-3 || Math.abs(g - r) < 1e-3 || Math.abs(g - n) < 1e-3) continue;
|
|
39835
|
+
const m = this._graphToVisual(g, this._xRange, this._xLength), p = new Fs({
|
|
39836
|
+
start: this._m2t(m, 0, -f),
|
|
39837
|
+
end: this._m2t(m, 0, f),
|
|
39828
39838
|
color: t
|
|
39829
39839
|
});
|
|
39830
|
-
this._ticks.push(
|
|
39840
|
+
this._ticks.push(p), this.add(p);
|
|
39831
39841
|
}
|
|
39832
|
-
for (let
|
|
39833
|
-
if (Math.abs(
|
|
39834
|
-
const
|
|
39835
|
-
start: this._m2t(0,
|
|
39836
|
-
end: this._m2t(0,
|
|
39842
|
+
for (let g = a; g <= h; g += l) {
|
|
39843
|
+
if (Math.abs(g) < 1e-3 || Math.abs(g - a) < 1e-3 || Math.abs(g - h) < 1e-3) continue;
|
|
39844
|
+
const m = this._graphToVisual(g, this._yRange, this._yLength), p = new Fs({
|
|
39845
|
+
start: this._m2t(0, m, -f),
|
|
39846
|
+
end: this._m2t(0, m, f),
|
|
39837
39847
|
color: e
|
|
39838
39848
|
});
|
|
39839
|
-
this._ticks.push(
|
|
39849
|
+
this._ticks.push(p), this.add(p);
|
|
39840
39850
|
}
|
|
39841
|
-
for (let
|
|
39842
|
-
if (Math.abs(
|
|
39843
|
-
const
|
|
39844
|
-
start: this._m2t(-
|
|
39845
|
-
end: this._m2t(
|
|
39851
|
+
for (let g = c; g <= u; g += d) {
|
|
39852
|
+
if (Math.abs(g) < 1e-3 || Math.abs(g - c) < 1e-3 || Math.abs(g - u) < 1e-3) continue;
|
|
39853
|
+
const m = this._graphToVisual(g, this._zRange, this._zLength), p = new Fs({
|
|
39854
|
+
start: this._m2t(-f, 0, m),
|
|
39855
|
+
end: this._m2t(f, 0, m),
|
|
39846
39856
|
color: i
|
|
39847
39857
|
});
|
|
39848
|
-
this._ticks.push(
|
|
39858
|
+
this._ticks.push(p), this.add(p);
|
|
39849
39859
|
}
|
|
39850
39860
|
}
|
|
39851
39861
|
/**
|
|
39852
|
-
* Map a value
|
|
39862
|
+
* Map a graph coordinate value to visual position such that graph 0 maps to visual 0.
|
|
39863
|
+
* visual = value * (length / (max - min))
|
|
39853
39864
|
*/
|
|
39854
|
-
|
|
39855
|
-
|
|
39856
|
-
|
|
39857
|
-
return r + o * (n - r);
|
|
39865
|
+
_graphToVisual(t, e, i) {
|
|
39866
|
+
const [r, n] = e;
|
|
39867
|
+
return n === r ? 0 : t * (i / (n - r));
|
|
39858
39868
|
}
|
|
39859
39869
|
/**
|
|
39860
39870
|
* Convert graph coordinates (Manim space) to visual point coordinates (THREE.js space).
|
|
@@ -39865,8 +39875,8 @@ class rd extends ze {
|
|
|
39865
39875
|
* @returns The visual point [x, y, z] in THREE.js space
|
|
39866
39876
|
*/
|
|
39867
39877
|
coordsToPoint(t, e, i) {
|
|
39868
|
-
const
|
|
39869
|
-
return [
|
|
39878
|
+
const r = this._graphToVisual(t, this._xRange, this._xLength), n = this._graphToVisual(e, this._yRange, this._yLength), o = this._graphToVisual(i, this._zRange, this._zLength);
|
|
39879
|
+
return [r + this.position.x, o + this.position.y, -n + this.position.z];
|
|
39870
39880
|
}
|
|
39871
39881
|
/**
|
|
39872
39882
|
* Convert visual point coordinates (THREE.js space) to graph coordinates (Manim space).
|
|
@@ -39875,8 +39885,8 @@ class rd extends ze {
|
|
|
39875
39885
|
* @returns The graph coordinates [x, y, z] in Manim space
|
|
39876
39886
|
*/
|
|
39877
39887
|
pointToCoords(t) {
|
|
39878
|
-
const [e, i] = this._xRange, [r, n] = this._yRange, [o, a] = this._zRange, h =
|
|
39879
|
-
return [
|
|
39888
|
+
const [e, i] = this._xRange, [r, n] = this._yRange, [o, a] = this._zRange, h = t[0] - this.position.x, l = t[1] - this.position.y, c = t[2] - this.position.z, u = h * (i - e) / this._xLength, d = -c * (n - r) / this._yLength, f = l * (a - o) / this._zLength;
|
|
39889
|
+
return [u, d, f];
|
|
39880
39890
|
}
|
|
39881
39891
|
/**
|
|
39882
39892
|
* Get the X-axis arrow
|
|
@@ -29,6 +29,7 @@ export declare class MathTexSVG extends VGroup {
|
|
|
29
29
|
protected _svgFillOpacity: number;
|
|
30
30
|
protected _targetHeight: number | undefined;
|
|
31
31
|
protected _macros: Record<string, string> | undefined;
|
|
32
|
+
protected _svgViewBoxWidth: number;
|
|
32
33
|
/** Whether this is a multi-part MathTexSVG (created from string[]) */
|
|
33
34
|
protected _isMultiPart: boolean;
|
|
34
35
|
/** Child part groups (only when _isMultiPart is true) */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MathTexSVG.d.ts","sourceRoot":"","sources":["../../../src/mobjects/text/MathTexSVG.ts"],"names":[],"mappings":"AACA;;;;;;;;;GASG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,OA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AAE,iBAAiB;IAuCtC;;OAEG;IACG,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC;IAMpC;;;;OAIG;IACH,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAY9B;;OAEG;IACH,YAAY,IAAI,MAAM;IAItB;;OAEG;IACH,QAAQ,IAAI,MAAM;IAIlB;;OAEG;IACM,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IA0BtC;;OAEG;IACH,SAAS,CAAC,YAAY,IAAI,IAAI;IAU9B;;OAEG;cACa,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAiCxC;;OAEG;IACH,SAAS,CAAC,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAmB/C;;OAEG;IACH,SAAS,CAAC,cAAc,IAAI,IAAI;IAyDhC;;;;;OAKG;YACW,gBAAgB;IA2E9B;;;OAGG;IACH,OAAO,CAAC,MAAM,CAAC,UAAU,CAqBvB;IAEF;;OAEG;cACgB,WAAW,IAAI,UAAU;CAgB7C;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -92,9 +92,10 @@ export declare class ThreeDAxes extends Group {
|
|
|
92
92
|
*/
|
|
93
93
|
private _createTicks;
|
|
94
94
|
/**
|
|
95
|
-
* Map a value
|
|
95
|
+
* Map a graph coordinate value to visual position such that graph 0 maps to visual 0.
|
|
96
|
+
* visual = value * (length / (max - min))
|
|
96
97
|
*/
|
|
97
|
-
private
|
|
98
|
+
private _graphToVisual;
|
|
98
99
|
/**
|
|
99
100
|
* Convert graph coordinates (Manim space) to visual point coordinates (THREE.js space).
|
|
100
101
|
* Applies Manim→THREE.js mapping: (mx, my, mz) → (mx, mz, -my)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThreeDAxes.d.ts","sourceRoot":"","sources":["../../../src/mobjects/three-d/ThreeDAxes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO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