manim-web 0.21.0 → 0.22.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/BokehPass-BtX0qHyZ.js +52 -0
- package/dist/BokehPass-D-qNlcw3.js +52 -0
- package/dist/CopyShader-C2Oc7n1P.js +12 -0
- package/dist/EffectComposer-BrOvLZtb.js +88 -0
- package/dist/EffectComposer-D427QFuS.js +88 -0
- package/dist/OutputPass-BeBCm_Ta.js +29 -0
- package/dist/OutputPass-oQu4Xmeb.js +29 -0
- package/dist/Pass--g-Yi-4V.js +51 -0
- package/dist/Pass-CSHIrJrV.js +51 -0
- package/dist/RenderPass-DS8SYAhJ.js +16 -0
- package/dist/RenderPass-DqrV7dhy.js +16 -0
- package/dist/ShaderPass-MHAIxsHm.js +22 -0
- package/dist/ShaderPass-h4P0lBmc.js +22 -0
- package/dist/UnrealBloomPass-DXgh_M0E.js +123 -0
- package/dist/UnrealBloomPass-DxDOnUAw.js +123 -0
- package/dist/core/PostProcessing.d.ts +203 -0
- package/dist/core/PostProcessing.d.ts.map +1 -0
- package/dist/core/Scene.d.ts +23 -0
- package/dist/core/Scene.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/integrations/react.js +16 -16
- package/dist/integrations/vue.js +13 -13
- package/dist/interaction/PanZoomControls.d.ts +133 -0
- package/dist/interaction/PanZoomControls.d.ts.map +1 -0
- package/dist/interaction/index.d.ts +1 -0
- package/dist/interaction/index.d.ts.map +1 -1
- package/dist/manim-web.browser.js +1995 -1716
- package/dist/{src-B_DX0DD1.js → src-C18aslV3.js} +1977 -1698
- package/package.json +1 -1
package/dist/integrations/vue.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { $ as e, $a as t, $c as n, $d as r, $f as i, $h as a, $i as
|
|
2
|
-
import { a as
|
|
3
|
-
import { defineComponent as
|
|
1
|
+
import { $ as e, $a as t, $c as n, $d as r, $f as i, $h as a, $i as ee, $l as te, $m as ne, $n as re, $o as ie, $p as ae, $r as oe, $s as se, $t as ce, $u as le, A as ue, Aa as de, Ac as fe, Ad as pe, Af as o, Ah as s, Ai as c, Al as l, Am as u, An as d, Ao as f, Ap as p, Ar as m, As as h, At as g, Au as _, B as v, Ba as y, Bc as b, Bd as x, Bf as S, Bh as C, Bi as w, Bl as T, Bm as E, Bn as D, Bo as O, Bp as k, Br as A, Bs as j, Bt as M, Bu as N, C as P, Ca as F, Cc as I, Cd as L, Cf as R, Ch as z, Ci as B, Cl as me, Cm as he, Cn as ge, Co as _e, Cp as ve, Cr as ye, Cs as be, Ct as xe, Cu as Se, D as Ce, Da as we, Dc as Te, Dd as Ee, Df as De, Dh as Oe, Di as ke, Dl as Ae, Dm as je, Dn as Me, Do as Ne, Dp as Pe, Dr as Fe, Ds as Ie, Dt as Le, Du as Re, E as ze, Ea as Be, Ec as Ve, Ed as He, Ef as Ue, Eh as We, Ei as Ge, El as Ke, Em as qe, En as Je, Eo as Ye, Ep as Xe, Er as Ze, Es as Qe, Et as $e, Eu as et, F as tt, Fa as nt, Fc as rt, Fd as it, Ff as V, Fh as at, Fi as ot, Fl as st, Fm as ct, Fn as lt, Fo as ut, Fp as dt, Fr as ft, Fs as pt, Ft as mt, Fu as ht, G as gt, Ga as _t, Gc as vt, Gd as yt, Gf as bt, Gh as xt, Gi as St, Gl as Ct, Gm as wt, Gn as Tt, Go as Et, Gp as Dt, Gr as Ot, Gs as kt, Gt as At, Gu as jt, H as Mt, Ha as Nt, Hc as Pt, Hd as Ft, Hf as It, Hh as Lt, Hi as Rt, Hl as zt, Hm as Bt, Hn as Vt, Ho as Ht, Hp as Ut, Hr as Wt, Hs as Gt, Ht as Kt, Hu as qt, I as Jt, Ia as Yt, Ic as Xt, Id as Zt, If as Qt, Ih as $t, Ii as en, Il as tn, Im as nn, In as rn, Io as an, Ip as on, Ir as sn, Is as cn, It as ln, Iu as un, J as dn, Ja as fn, Jc as pn, Jd as mn, Jf as hn, Jh as gn, Ji as _n, Jl as vn, Jm as yn, Jn as bn, Jo as xn, Jp as Sn, Jr as Cn, Js as wn, Jt as Tn, Ju as En, K as Dn, Ka as On, Kc as kn, Kd as An, Kf as jn, Kh as Mn, Ki as Nn, Kl as Pn, Km as Fn, Kn as In, Ko as Ln, Kp as Rn, Kr as zn, Ks as Bn, Kt as Vn, Ku as Hn, L as Un, La as Wn, Lc as Gn, Ld as Kn, Lf as qn, Lh as Jn, Li as Yn, Ll as Xn, Lm as Zn, Ln as Qn, Lo as $n, Lp as er, Lr as tr, Ls as nr, Lt as rr, Lu as ir, M as ar, Ma as or, Mc as sr, Md as cr, Mf as lr, Mh as ur, Mi as dr, Ml as fr, Mm as pr, Mn as mr, Mo as hr, Mp as gr, Mr as _r, Ms as vr, Mt as yr, Mu as br, N as xr, Na as Sr, Nc as Cr, Nd as wr, Nf as Tr, Nh as Er, Ni as Dr, Nl as Or, Nm as kr, Nn as Ar, No as jr, Np as Mr, Nr, Ns as Pr, Nt as Fr, Nu as Ir, O as Lr, Oa as Rr, Oc as zr, Od as Br, Of as Vr, Oh as Hr, Oi as Ur, Ol as Wr, Om as Gr, On as Kr, Oo as qr, Op as Jr, Or as Yr, Os as Xr, Ot as Zr, Ou as Qr, P as $r, Pa as ei, Pc as ti, Pd as ni, Pf as ri, Ph as ii, Pi as ai, Pl as oi, Pm as si, Pn as ci, Po as li, Pp as H, Pr as ui, Ps as di, Pt as fi, Pu as pi, Q as mi, Qa as hi, Qc as gi, Qd as _i, Qf as vi, Qh as yi, Qi as bi, Ql as xi, Qm as Si, Qn as Ci, Qo as wi, Qp as Ti, Qr as Ei, Qs as Di, Qt as Oi, Qu as ki, R as Ai, Ra as ji, Rc as Mi, Rd as Ni, Rf as Pi, Rh as Fi, Ri as Ii, Rl as Li, Rm as Ri, Rn as zi, Ro as Bi, Rp as Vi, Rr as Hi, Rs as Ui, Rt as Wi, Ru as Gi, S as Ki, Sa as qi, Sc as Ji, Sd as Yi, Sf as Xi, Sh as Zi, Si as Qi, Sl as $i, Sm as ea, Sn as ta, So as na, Sp as ra, Sr as ia, Ss as aa, St as oa, Su as sa, T as ca, Ta as la, Tc as ua, Td as da, Tf as fa, Th as pa, Ti as ma, Tl as ha, Tm as ga, Tn as _a, To as va, Tp as ya, Tr as ba, Ts as xa, Tt as Sa, Tu as Ca, U as wa, Ua as Ta, Uc as Ea, Ud as Da, Uf as Oa, Uh as ka, Ui as Aa, Ul as ja, Um as Ma, Un as Na, Uo as Pa, Up as Fa, Ur as Ia, Us as La, Ut as Ra, Uu as za, V as Ba, Va, Vc as Ha, Vd as Ua, Vf as Wa, Vh as Ga, Vi as Ka, Vl as qa, Vm as Ja, Vn as Ya, Vo as Xa, Vp as Za, Vr as Qa, Vs as $a, Vt as eo, Vu as to, W as no, Wa as ro, Wc as io, Wd as ao, Wf as oo, Wh as so, Wi as co, Wl as lo, Wm as uo, Wn as fo, Wo as po, Wp as mo, Wr as ho, Ws as go, Wt as _o, Wu as vo, X as yo, Xa as bo, Xc as xo, Xd as So, Xf as Co, Xh as wo, Xi as To, Xl as Eo, Xm as Do, Xn as Oo, Xo as ko, Xp as Ao, Xr as jo, Xs as Mo, Xt as No, Xu as Po, Y as Fo, Ya as Io, Yc as Lo, Yd as Ro, Yf as zo, Yh as Bo, Yi as Vo, Yl as Ho, Ym as Uo, Yn as Wo, Yo as Go, Yp as Ko, Yr as qo, Ys as Jo, Yt as Yo, Yu as Xo, Z as Zo, Za as Qo, Zc as $o, Zd as es, Zf as ts, Zh as ns, Zi as rs, Zl as is, Zm as as, Zn as os, Zo as ss, Zp as cs, Zr as ls, Zs as us, Zt as ds, Zu as fs, _ as ps, _a as ms, _c as hs, _d as gs, _f as _s, _h as vs, _i as ys, _l as bs, _m as xs, _n as Ss, _o as Cs, _p as ws, _r as Ts, _s as Es, _t as Ds, _u as Os, a as ks, aa as As, ac as js, ad as U, af as Ms, ag as Ns, ah as Ps, ai as Fs, al as Is, am as Ls, an as Rs, ao as zs, ap as Bs, ar as Vs, as as Hs, at as Us, au as Ws, b as Gs, ba as Ks, bc as qs, bd as Js, bf as Ys, bh as Xs, bi as Zs, bl as Qs, bm as $s, bn as ec, bo as tc, bp as nc, br as rc, bs as ic, bt as ac, bu as oc, c as sc, ca as cc, cc as lc, cd as uc, cf as dc, cg as fc, ch as pc, ci as mc, cl as hc, cm as gc, cn as _c, co as vc, cp as yc, cr as bc, cs as xc, ct as Sc, cu as Cc, d as wc, da as Tc, dc as Ec, dd as Dc, df as Oc, dg as kc, dh as Ac, di as jc, dl as Mc, dm as Nc, dn as W, do as Pc, dp as Fc, dr as Ic, ds as Lc, dt as Rc, du as zc, ea as Bc, ec as Vc, ed as Hc, ef as Uc, eg as Wc, eh as Gc, ei as Kc, el as qc, em as Jc, en as Yc, eo as Xc, ep as Zc, er as Qc, es as $c, et as el, eu as tl, f as nl, fa as rl, fc as il, fd as al, ff as ol, fg as sl, fh as cl, fi as ll, fl as ul, fm as dl, fn as fl, fo as pl, fp as ml, fr as hl, fs as gl, ft as _l, fu as vl, g as yl, ga as bl, gc as xl, gd as Sl, gf as Cl, gh as wl, gi as Tl, gl as El, gm as Dl, gn as Ol, go as kl, gp as Al, gr as jl, gs as Ml, gt as Nl, gu as Pl, h as Fl, ha as Il, hc as Ll, hd as Rl, hf as G, hh as zl, hi as Bl, hl as Vl, hm as Hl, hn as Ul, ho as Wl, hp as Gl, hr as Kl, hs as ql, ht as Jl, hu as Yl, i as Xl, ia as Zl, ic as Ql, id as $l, if as eu, ig as tu, ih as nu, ii as ru, il as iu, im as au, in as ou, io as su, ip as cu, ir as lu, is as uu, it as du, iu as fu, j as pu, ja as mu, jc as hu, jd as gu, jf as _u, jh as vu, ji as yu, jl as bu, jm as xu, jn as Su, jo as Cu, jp as wu, jr as Tu, js as Eu, jt as Du, ju as Ou, k as ku, ka as Au, kc as ju, kd as Mu, kf as Nu, kh as Pu, ki as Fu, kl as Iu, km as Lu, kn as Ru, ko as zu, kp as Bu, kr as Vu, ks as Hu, kt as Uu, ku as Wu, l as Gu, la as Ku, lc as qu, ld as Ju, lf as Yu, lg as Xu, lh as Zu, li as Qu, ll as $u, lm as ed, ln as td, lo as nd, lp as rd, lr as id, ls as ad, lt as od, lu as sd, m as cd, ma as ld, mc as ud, md as dd, mf as fd, mh as pd, mi as md, ml as hd, mm as gd, mn as _d, mo as vd, mp as yd, mr as bd, ms as xd, mt as Sd, mu as Cd, n as wd, na as Td, nc as Ed, nd as Dd, nf as Od, ng as kd, nh as Ad, ni as jd, nl as Md, nm as Nd, nn as Pd, no as Fd, np as Id, nr as Ld, ns as Rd, nt as zd, nu as Bd, o as Vd, oa as Hd, oc as Ud, od as Wd, of as Gd, og as Kd, oh as qd, oi as Jd, ol as Yd, om as Xd, on as Zd, oo as Qd, op as $d, or as ef, os as tf, ot as nf, ou as rf, p as af, pa as of, pc as sf, pd as cf, pf as lf, pg as uf, ph as df, pi as ff, pl as pf, pm as mf, pn as hf, po as gf, pp as _f, pr as vf, ps as yf, pt as bf, pu as xf, q as Sf, qa as Cf, qc as wf, qd as Tf, qf as Ef, qh as Df, qi as Of, ql as kf, qm as Af, qn as jf, qo as Mf, qp as Nf, qr as Pf, qs as Ff, qt as If, qu as Lf, r as Rf, ra as zf, rc as Bf, rd as Vf, rf as Hf, rg as Uf, rh as Wf, ri as Gf, rl as Kf, rm as qf, rn as Jf, ro as Yf, rp as Xf, rr as Zf, rs as Qf, rt as $f, ru as ep, s as tp, sa as np, sc as rp, sd as ip, sf as ap, sg as op, sh as sp, si as cp, sl as lp, sm as up, sn as dp, so as fp, sp as pp, sr as mp, ss as hp, st as gp, su as _p, t as vp, ta as yp, tc as bp, td as xp, tf as Sp, tg as Cp, th as wp, ti as Tp, tl as Ep, tm as Dp, tn as Op, to as kp, tp as Ap, tr as jp, ts as Mp, tt as Np, tu as Pp, u as Fp, ua as Ip, uc as Lp, ud as Rp, uf as zp, ug as Bp, uh as Vp, ui as Hp, ul as Up, um as Wp, un as Gp, uo as Kp, up as qp, ur as Jp, us as Yp, ut as Xp, uu as Zp, v as Qp, va as $p, vc as em, vd as tm, vf as nm, vh as rm, vi as im, vl as am, vm as om, vn as sm, vo as cm, vp as lm, vr as um, vs as K, vt as dm, vu as fm, w as pm, wa as mm, wc as hm, wd as gm, wf as _m, wh as vm, wi as ym, wl as bm, wm as xm, wn as Sm, wo as Cm, wp as wm, wr as Tm, ws as Em, wt as Dm, wu as Om, x as km, xa as Am, xc as jm, xd as Mm, xf as q, xh as Nm, xi as Pm, xl as Fm, xm as Im, xn as Lm, xo as Rm, xp as zm, xr as Bm, xs as Vm, xt as Hm, xu as Um, y as Wm, ya as Gm, yc as Km, yd as qm, yf as Jm, yh as Ym, yi as Xm, yl as Zm, ym as Qm, yn as $m, yo as eh, yp as th, yr as nh, ys as rh, yt as ih, yu as ah, z as oh, za as sh, zc as ch, zd as lh, zf as uh, zh as dh, zi as fh, zl as ph, zm as mh, zn as hh, zo as gh, zp as _h, zr as vh, zs as yh, zt as bh, zu as xh } from "../src-C18aslV3.js";
|
|
2
|
+
import { a as Sh, i as Ch, n as wh, o as Th, r as Eh, s as Dh, t as Oh } from "../webcomponent-BS5WnkDO.js";
|
|
3
|
+
import { defineComponent as kh, h as Ah, inject as jh, onMounted as Mh, onUnmounted as J, provide as Nh, ref as Y, shallowRef as X, watch as Z } from "vue";
|
|
4
4
|
//#region src/integrations/vue.ts
|
|
5
5
|
function Q(e, t) {
|
|
6
6
|
let n = X(null), r = Y(!1);
|
|
7
|
-
return
|
|
7
|
+
return Mh(() => {
|
|
8
8
|
e.value && (n.value = new U(e.value, t), r.value = !0);
|
|
9
9
|
}), J(() => {
|
|
10
10
|
n.value && (n.value.dispose(), n.value = null, r.value = !1);
|
|
@@ -15,7 +15,7 @@ function Q(e, t) {
|
|
|
15
15
|
isReady: r
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Ph(e, t) {
|
|
19
19
|
let n = X(null);
|
|
20
20
|
return Z(e, (e, r) => {
|
|
21
21
|
r && n.value && r.remove(n.value), e && (n.value ||= t(), e.add(n.value));
|
|
@@ -23,7 +23,7 @@ function kh(e, t) {
|
|
|
23
23
|
e.value && n.value && e.value.remove(n.value), n.value = null;
|
|
24
24
|
}), n;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function Fh(e) {
|
|
27
27
|
let t = Y(!1);
|
|
28
28
|
return {
|
|
29
29
|
play: async (...n) => {
|
|
@@ -49,14 +49,14 @@ function Ah(e) {
|
|
|
49
49
|
isPlaying: t
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function Ih(e, t) {
|
|
53
53
|
Z(e, (e, n) => {
|
|
54
54
|
n && n.removeUpdater(t), e && e.addUpdater(t);
|
|
55
55
|
}, { immediate: !0 }), J(() => {
|
|
56
56
|
e.value && e.value.removeUpdater(t);
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
|
-
var $ = Symbol("manimweb-scene"),
|
|
59
|
+
var $ = Symbol("manimweb-scene"), Lh = kh({
|
|
60
60
|
name: "ManimScene",
|
|
61
61
|
props: {
|
|
62
62
|
width: {
|
|
@@ -96,7 +96,7 @@ var $ = Symbol("manimweb-scene"), Mh = wh({
|
|
|
96
96
|
});
|
|
97
97
|
return Z(a, (e) => {
|
|
98
98
|
e && i.value && t("ready", i.value);
|
|
99
|
-
}),
|
|
99
|
+
}), Nh($, i), () => Ah("div", {
|
|
100
100
|
ref: r,
|
|
101
101
|
style: {
|
|
102
102
|
width: `${e.width}px`,
|
|
@@ -106,9 +106,9 @@ var $ = Symbol("manimweb-scene"), Mh = wh({
|
|
|
106
106
|
}, n.default?.());
|
|
107
107
|
}
|
|
108
108
|
});
|
|
109
|
-
function
|
|
110
|
-
return
|
|
109
|
+
function Rh() {
|
|
110
|
+
return jh($, Y(null));
|
|
111
111
|
}
|
|
112
|
-
var
|
|
112
|
+
var zh = { install(e) {} };
|
|
113
113
|
//#endregion
|
|
114
|
-
export { Sc as Add, p as AddTextLetterByLetter, Dl as AddTextWordByWord, u as Angle, mu as AnimateProxy, ym as AnimatedBoundary, Wn as AnimatedImageMobject, ep as Animation, Xs as AnimationGroup, _c as AnnotationDot, Id as AnnularSector, Yf as Annulus, Rd as ApplyComplexFunction, Zf as ApplyFunction, uc as ApplyMatrix, Uu as ApplyMethod, Oe as ApplyPointwiseFunction, ha as ApplyPointwiseFunctionToCenter, ko as ApplyWave, $d as Arc, Ks as ArcBetweenPoints, Vs as ArcBrace, ee as ArcPolygon, tl as ArcPolygonFromArcs, ca as AriaNarrator, P as Arrow, Ds as Arrow3D, ea as ArrowCircleFilledTip, pe as ArrowCircleTip, mm as ArrowSquareFilledTip, ga as ArrowSquareTip, Ge as ArrowTip, ke as ArrowTriangleFilledTip, Wr as ArrowTriangleTip, wu as ArrowVectorField, Vu as AudioAnalyzer, Gu as AudioManager, nu as Axes, Tf as BLACK, Xm as BLEND_MODES, yn as BLUE, Wo as BLUE_A, Oo as BLUE_B, os as BLUE_C, Ci as BLUE_D, te as BLUE_E, fd as BOLD, Bl as BOOK, E as BackgroundRectangle, Wi as BarChart, Vt as Blink, cf as BooleanResult, Xr as Box3D, Jd as Brace, sp as BraceBetweenPoints, bc as BraceLabel, Qu as BraceText, ed as Broadcast, eo as BulletedList, da as COOLWARM, Xi as Camera2D, um as Camera2DFrame, R as Camera3D, ql as CameraAnimateProxy, jl as CameraFrame, Tl as CapStyleType, Yr as ChangeDecimalToValue, rm as ChangeSpeed, Ru as ChangingDecimal, bd as ChoroplethMap, yd as Circle, Nd as Circumscribe, mr as Clickable, Nn as ClockwiseTransform, Bn as Code, Jl as ColorScale, Ls as ComplexHomotopy, mh as ComplexPlane, No as ComplexValueTracker, Ze as Cone, Tm as ContourPlot, _h as Controls, oi as ConvexHull, up as ConvexHull3D, Cf as CounterclockwiseTransform, xu as Create, Ja as Cross, zu as Cube, wf as CubicBezier, Si as CurvedArrow, as as CurvedDoubleArrow, fe as CurvesAsSubmobjects, st as Cutout, _n as CyclicReplace, Fe as Cylinder, Gc as DARKER_GRAY, yp as DARK_BLUE, Ed as DARK_BROWN, zf as DARK_GRAY, Jc as DEFAULT_ANIMATION_DURATION, Ss as DEFAULT_ARROW_TIP_LENGTH, fu as DEFAULT_ASPECT_RATIO, Af as DEFAULT_COLOR_SCHEME, $p as DEFAULT_DASH_LENGTH, qm as DEFAULT_DOT_RADIUS, Sp as DEFAULT_FONT_SIZE, kd as DEFAULT_FPS, Hf as DEFAULT_FRAME_HEIGHT, ru as DEFAULT_FRAME_WIDTH, zs as DEFAULT_MOBJECT_TO_EDGE_BUFFER, Kd as DEFAULT_MOBJECT_TO_MOBJECT_BUFFER, ap as DEFAULT_PIXEL_HEIGHT, vc as DEFAULT_PIXEL_WIDTH, tc as DEFAULT_POINTWISE_FUNCTION_RUN_TIME, jm as DEFAULT_POINT_DENSITY_1D, ta as DEFAULT_POINT_DENSITY_2D, me as DEFAULT_SMALL_DOT_RADIUS, Xu as DEFAULT_STROKE_WIDTH, hm as DEFAULT_WAIT_TIME, _a as DEGREES, A as DL, Qa as DOWN, Ut as DR, Uo as DashedLine, vn as DashedVMobject, Df as DecimalMatrix, Hc as DecimalNumber, zp as DecimalTable, Ie as Degrees, vf as DiGraph, Js as DiceFace, dd as Difference, oc as Dodecahedron, pt as DonutChart, uo as Dot, Cc as Dot3D, no as DoubleArrow, rn as Draggable, hr as DrawBorderThenFill, vu as Elbow, uu as Ellipse, zl as Exclusion, Bs as ExportSettingsPanel, qd as FPS_PRESETS, yl as FadeIn, ad as FadeOut, en as FadeToColor, Vc as FadeTransform, mp as FadeTransformPieces, su as Flash, In as FocusOn, or as FullScreenFadeRectangle, Sr as FullScreenRectangle, Rs as FunctionGraph, eu as GOLD, Is as GOLD_A, Ud as GOLD_B, np as GOLD_C, hc as GOLD_D, qu as GOLD_E, Pp as GRAY, jc as GRAY_A, sl as GRAY_B, of as GRAY_C, ld as GRAY_D, Ll as GRAY_E, Sl as GREEN, ys as GREEN_A, Xp as GREEN_B, Wm as GREEN_C, Qs as GREEN_D, Om as GREEN_E, Lo as GenericGraph, Nf as GeoMap, he as GifExporter, pp as Globe, bf as GlyphVMobject, au as GradientVMobject, fn as Graph, Te as Group, us as GrowArrow, Gm as GrowFromCenter, Di as GrowFromEdge, ae as GrowFromPoint, Ke as HEAVY, jf as HSV, Yi as HeatMap, rd as Hexagon, Wd as Homotopy, ci as Hoverable, Ia as IN, Be as INFERNO, Ae as ITALIC, Im as Icosahedron, Ps as ImageMobject, n as ImplicitFunction, Ws as ImplicitSurface, Xd as Indicate, cu as InstancedMobject, hp as Integer, xn as IntegerMatrix, H as IntegerTable, Ai as InteractiveScene, wl as Intersection, Lp as LARGE_BUFF, ho as LEFT, Gr as LIGHT, Qi as LIGHTER_GRAY, B as LIGHT_BROWN, fm as LIGHT_GRAY, ma as LIGHT_PINK, ch as Label, Yu as LabeledArrow, Ip as LabeledDot, Nc as LabeledLine, ll as LabeledPolygram, Jo as LaggedStart, Ot as LaggedStartMap, Ct as LargeDot, ps as Lighting, Ba as Line, Qm as Line3D, Fu as LineJointType, xp as LinearBase, Ki as LinearTransformationScene, Od as LogBase, Ue as MANIM_BACKGROUND, De as MAROON, Hr as MAROON_A, Mu as MAROON_B, c as MAROON_C, gu as MAROON_D, ur as MAROON_E, d as MEDIUM, Pc as MED_LARGE_BUFF, ul as MED_SMALL_BUFF, wn as MONOKAI_COLOR_SCHEME, cm as MandelbrotSet, Hl as ManimBanner, Tn as ManimColor, Mh as ManimScene, Ch as ManimSceneElement, Ph as ManimWebPlugin, ks as MappingCamera, Gt as MarkdownText, Oc as MarkupText, Kp as MasterTimeline, fl as MathTable, Wu as MathTex, mn as MathTexImage, _o as MathTexPart, Mp as MathTexSVG, Sd as MathTypst, Ko as Matrix, va as MatrixTracker, nm as Mobject, Ce as Mobject1D, ze as Mobject2D, L as Mobject3D, Ao as MobjectMatrix, df as MobjectTable, cs as ModelMobject, f as MovablePoint, sf as MoveAlongPath, Pi as MoveToTarget, Rl as MoveToTargetPosition, om as MovingCamera, yo as MovingCameraScene, eh as MultiCamera, Zr as Munits, yu as NORMAL, I as NewtonFractal, fa as NullRenderer, Gd as NumberLine, qc as NumberPlane, pr as OBLIQUE, Er as ORANGE, Dt as ORIGIN, Rn as OUT, oa as Octahedron, Fo as OrbitControls, ue as PGroup, kr as PI, ii as PINK, Vd as PMobject, at as PURE_BLUE, $t as PURE_GREEN, Jn as PURE_RED, Ii as PURPLE, oh as PURPLE_A, w as PURPLE_B, Ka as PURPLE_C, Lt as PURPLE_D, Aa as PURPLE_E, il as Paragraph, Ys as ParametricFunction, _d as ParametricSurface, ua as ParticleSystem, wp as PatternVMobject, Wp as Pentagon, Bu as Percent, rp as PhaseFlow, cn as PieChart, _ as Pixels, vh as PlaybackControls, Ad as Player, Uf as PlayerController, iu as PlayerUI, Rr as PointCloudDot, Ou as PointMobject, M as PolarPlane, Bc as Polygon, Tc as Polygram, ye as Polyhedron, td as Prism, Ef as Pulse, op as QUALITY_PRESETS, co as RED, xt as RED_A, Mn as RED_B, Sf as RED_C, gn as RED_D, Vo as RED_E, yc as RESOLUTION_PRESETS, Xo as RGBA, Of as RIGHT, Po as RandomColorGenerator, Mf as Rectangle, _l as RegularPolygon, tn as RegularPolygram, Vp as Remove, jr as RemoveTextLetterByLetter, Ve as Renderer, ih as ReplacementTransform, Yn as Restore, fr as RightAngle, V as Rotate, Lc as Rotating, Xn as RoundedRectangle, si as SCALE_FACTOR_PER_FONT_POINT, ct as SEMIBOLD, nn as SEMILIGHT, lf as SMALL_BUFF, Zn as START_X, zi as START_Y, gi as SVGMobject, Ji as SampleSpace, $s as Scale, Vf as ScaleBase, Li as ScaleInPlace, U as Scene, Np as SceneStateManager, ei as ScreenRectangle, kp as Sector, ce as SelectionManager, Cl as Shift, O as ShowCreationThenDestruction, ws as ShowIncreasingSubsets, tm as ShowPartial, wi as ShowPassingFlash, po as ShowPassingFlashWithThinningStrokeWidth, Ym as ShowSubmobjectsOneByOne, sh as ShrinkToCenter, kt as SingleStringMathTex, Kr as Slider, Pn as SmallDot, gc as SmoothedVectorizedHomotopy, ms as SpecialThreeDScene, g as Sphere, Kc as SpinInFromNothing, rc as SpiralIn, cc as SplitScreenCamera, En as Square, Ri as Star, Pu as StealthTip, vr as StreamLines, kf as Succession, G as Surface, G as Surface3D, Gl as SurfacePresets, zt as SurroundingRectangle, Ho as Swap, lh as TAU, To as TEAL, rs as TEAL_A, bi as TEAL_B, a as TEAL_C, Wc as TEAL_D, vp as TEAL_E, D as THIN, fh as THREE, md as Table, Or as TangentLine, Do as TangentialArc, bm as Tetrahedron, dc as Tex, ls as TexFontTemplates, Ei as TexTemplate, ie as TexTemplateLibrary, oo as Text, An as TextGlyphGroup, nf as TextOnPath, hl as TexturedSurface, Rc as ThreeDAxes, Rm as ThreeDCamera, Zo as ThreeDScene, Hp as ThreeDVMobject, Hm as Timeline, fp as TipableVMobject, Ra as Title, Sa as Torus, xa as TracedPath, S as Transform, T as TransformAnimations, xd as TransformFromCopy, ot as TransformMatchingAbstractBase, Nu as TransformMatchingCode, _u as TransformMatchingShapes, dr as TransformMatchingTex, gf as Triangle, Je as TypeWithCursor, Ff as Typst, Sn as UL, Ya as ULTRABOLD, Bt as ULTRAHEAVY, Na as ULTRALIGHT, qo as UP, jo as UR, li as Uncreate, Ma as Underline, xs as Union, ip as UnitInterval, Me as UntypeWithCursor, ut as Unwrite, $a as UpdateFromAlphaFunc, La as UpdateFromFunc, Br as VDict, Ic as VGroup, we as VIRIDIS, pl as VMobject, t as VMobjectFromSVGPath, ds as ValueTracker, Yo as Variable, qt as Vector, im as Vector3D, Pr as VectorField, Vm as VectorFieldVector, gh as VectorScene, Au as VectorizedPoint, Mm as VideoExporter, nh as VideoMobject, br as Voiceover, Eu as VoiceoverScene, Td as WHITE, ml as Wait, Vl as WebCodecsExporter, Ir as WebSpeechSynthesizer, Qc as Wiggle, Bi as WiggleOutThenIn, an as Write, fo as X_AXIS, Rf as YELLOW, $l as YELLOW_A, Fs as YELLOW_B, Hd as YELLOW_C, tp as YELLOW_D, mc as YELLOW_E, wt as Y_AXIS, Fn as Z_AXIS, jt as ZoomDisplayPopOut, Hn as ZoomedScene, pf as add, $n as addTextLetterByLetter, Nm as addTextWordByWord, Jr as addVec, Tu as adjacentNTuples, yr as adjacentPairs, od as alignmentToOffset, Fr as allElementsAreInstances, sn as always, ph as alwaysRedraw, _r as alwaysRotate, Nr as alwaysShift, Dn as angleAxisFromQuaternion, _f as angleBetweenVectors, dn as angleOfVector, Xe as animatedBoundary, Em as animationGroup, xe as announceMobject, ic as applyBlendMode, jp as applyComplexFunction, Dc as applyFunction, rl as applyMatrix, qe as applyMatrixLive, tf as applyMethod, $c as applyObjMaterials, Ur as applyPointwiseFunction, We as applyPointwiseFunctionToCenter, gp as applyReducedMotion, ss as applyWave, wd as areKatexStylesLoaded, tr as assertIsMobjectMethod, $e as attachCaptionTrack, Ni as averageColor, Re as bezier, Se as bezierRemap, Un as binarySearch, b as binaryTree, Ha as bipartiteGraph, Pm as blendModeToThree, Pa as blink, gd as broadcast, yt as buildStyledTextLines, Io as cartesianToSpherical, bo as centerOfMass, h as changeDecimalToValue, Zm as changeSpeed, Cu as changingDecimal, ji as choose, pd as chooseVideoExporterStrategy, Kf as circumscribe, cr as clearAnimationOverrides, th as clip, Va as clockwisePath, Eo as clockwiseTransform, ff as colorGradient, rh as colorToIntRgb, x as colorToIntRgba, de as colorToOklab, pu as colorToOklch, Ua as colorToRgb, Pt as colorToRgba, Qo as compassDirections, Nt as completeGraph, hi as complexFuncToR3Func, Ju as complexHomotopy, e as complexToR3, Oi as complexValueTracker, pc as compose, xo as computeCircularLayout, Pl as computeGlyphPlacements, $o as computeLayout, nr as computeSliceGeometry, pi as concatenateLists, Mt as counterclockwisePath, is as counterclockwiseTransform, Vi as create, wm as createDiceRow, tt as createFadeToBlack, Yt as createFadeToWhite, gm as createGifExporter, Sm as createLiveRegion, na as createVideoExporter, El as createWebCodecsExporter, K as cross, K as crossVec, el as cross2d, ou as cubicBezier, di as cycleAnimation, Ea as cycleGraph, xi as cyclicReplace, Dp as deriveBasePath, Pd as deriveMtlUrl, wa as describeMobject, kc as deserializeMobject, Hu as deserializeScene, lc as deserializeSceneMobject, Ti as detectModelFormat, Qp as difference, m as dotVec, Ku as doubleSmooth, Cs as downloadBlob, dh as drawBorderThenFill, Ts as earclipTriangulation, Hs as ease, q as easeIn, q as easeInCubic, Ac as easeInBack, Yd as easeInBezier, ol as easeInBounce, af as easeInCirc, cd as easeInElastic, Il as easeInExpo, W as easeInOut, W as easeInOutCubic, vs as easeInOutBack, cp as easeInOutBezier, Yp as easeInOutBounce, Um as easeInOutCirc, Zs as easeInOutElastic, Dm as easeInOutExpo, Zi as easeInOutQuad, z as easeInOutQuart, dm as easeInOutQuint, pa as easeInOutSine, He as easeInQuad, Ee as easeInQuart, Vr as easeInQuint, ju as easeInSine, s as easeOut, s as easeOutCubic, hu as easeOutBack, xc as easeOutBezier, lr as easeOutBounce, Tr as easeOutCirc, ri as easeOutElastic, it as easeOutExpo, Qt as easeOutQuad, qn as easeOutQuart, Fi as easeOutQuint, ah as easeOutSine, ac as emphasizeRegion, Lf as ensureKatexStyles, As as equirectangular, Km as exclusion, C as exponentialDecay, em as exportAndDownloadPNG, Fc as exportAndDownloadSVG, Jm as exportFramePNG, nc as exportPNGSequence, dl as exportSVG, Xf as exteriorRings, be as extractMobjectFamilyMembers, Ui as fAlways, hs as fadeIn, Nl as fadeOut, qa as fadeToColor, Pf as fadeTransform, Yl as fadeTransformPieces, Op as findIntersection, Us as flash, bn as focusOn, Le as formatVttTimestamp, Gp as get3dVmobEndCorner, zm as get3dVmobEndCornerIndex, qs as get3dVmobEndCornerUnitNormal, Cm as get3dVmobGradientStartAndEndPoints, qi as get3dVmobStartCorner, F as get3dVmobStartCornerIndex, sm as get3dVmobStartCornerUnitNormal, la as get3dVmobUnitNormal, ia as getActiveTheme, wr as getAnimationOverride, mo as getDetText, ki as getFeatureFlags, Cd as getReducedMotionRunTime, nl as getSerializableTypes, ef as getSerializer, fs as getShadedRgb, Ol as getSmoothCubicBezierHandlePoints, mi as getSpeechSynthesizer, _e as getTheme, vm as getThemeNames, Fd as getUnitNormal, Jf as getWindingNumber, io as gridGraph, bp as growArrow, km as growFromCenter, Dd as growFromEdge, Bf as growFromPoint, ni as hasAnimationOverride, mt as hashObj, Da as hexToRgb, Fp as homotopy, ao as hsvToRgb, xm as indexLabels, lp as indicate, hd as integerInterpolate, Lr as interpolate, vt as interpolateColor, sr as interpolateColorOklab, Cr as interpolateColorOklch, ec as intersection, Du as inverseInterpolate, kn as invertColor, v as isAudioAnalysisSupported, le as isClosed, se as isFeatureEnabled, zo as isMathJaxLoaded, If as isReducedMotionEnabled, ht as isSpeechSupported, Xl as isTypstLoaded, Co as katexCanRender, Mo as laggedStart, zn as laggedStartMap, Su as lengthVec, lu as lineIntersection, Ga as linear, Fm as linearSpeedRamp, It as lingering, gr as linspace, ln as listDifferenceUpdate, rr as listUpdate, Gi as listify, bh as logger, j as maintainPositionRelativeTo, Ar as makeClickable, Qn as makeDraggable, hh as makeEven, N as makeEvenByCycling, lt as makeHoverable, je as makeMatrixTracker, bu as makeMovablePoint, Iu as makeSlider, yh as manimElementInternals, Zd as marchingCubes, lm as marchingSquares, Bm as masterTimeline, du as matchInterpolate, Et as matrixToMobject, Ln as matrixToTexString, Ld as mercator, ar as mid, Gs as midpoint, ud as moveAlongPath, Wa as moveToTarget, bs as moveToTargetPosition, Qd as normSquared, dp as normalize, Mr as normalizeVec, ka as notQuiteThere, ti as oklabToColor, nt as oklabToOklch, Xt as oklchToColor, Gn as oklchToOklab, Sh as onLog, ui as orientation2D, dt as orthonormalFrame, rt as overrideAnimate, Zt as overrideAnimation, ir as parseBookmarks, jd as parsePatternDefs, Uc as parseSVGPathData, Ul as partialBezierPoints, Ta as pathAlongArc, ro as pathAlongCircles, _t as pathGraph, wc as perpendicularBisector, Mc as phaseFlow, xr as pointLiesOnBezier, to as powerset, Zl as prefersReducedMotion, ts as preloadMathJax, Ms as preloadTypst, Kn as prepareAnimation, Ca as printFamily, $r as proportionsAlongBezierCurveForPoint, Go as pulse, Zu as qualityToBitrate, nd as quaternionConjugate, Up as quaternionFromAngleAxis, zc as quaternionMult, gl as r3ToComplex, yf as randomBrightColor, pn as randomColor, Ns as reducedRunTime, vl as registerFont, xh as registerManimElement, id as registerSerializableMobject, ba as registerTheme, hf as regularVertices, Wl as remove, Kt as removeListRedundancies, za as removeNones, k as removeTextLetterByLetter, vi as renderLatexToSVG, zd as renderTypstToSVG, Ft as replacementTransform, Yc as resetFeatureFlags, Bd as resetReducedMotion, Ye as resetThemes, Wf as resolvePatternFill, Rp as resolveResolution, Rt as restore, al as restoreMobjectState, Qe as restructureListToExcludeCertainFamilyMembers, so as reverse, Ro as rgbToColor, So as rgbToHex, es as rgbToHsv, _i as rgbaToColor, pm as rotate, vd as rotateVector, kl as rotating, Kl as rotationAboutZ, Al as rotationMatrix, Os as rotationMatrixTranspose, bt as runningStart, jn as rushFrom, xf as rushInto, aa as rushRegion, zr as sampleColormap, bl as sampledPathFromFunction, gs as sampledPathFromPoints, rf as saveMobjectState, $i as scale, ja as scaleInPlace, on as scaleVec, uf as sceneToSVG, sd as serializeMobject, Ec as serializeScene, Ap as serializeSceneMobject, Cp as setFeatureFlags, Mi as setGifDecoder, Ql as setKatexStylesheetUrl, r as setMathJaxScriptUrl, re as setModelLoaderFactory, qf as setMtlLoaderFactory, $f as setReducedMotion, un as setSpeechSynthesizer, Ne as setTheme, Qf as setTypstCompiler, Zp as shift, am as shoelace, $m as shoelaceDirection, fc as shouldReduceMotion, Xa as showCreationThenDestruction, ra as showIncreasingSubsets, ge as showPartial, ne as showPassingFlash, Tt as showPassingFlashWithThinningStrokeWidth, _m as showSubmobjectsOneByOne, lo as shrinkToCenter, y as sigmoid, hn as slowInto, Bo as smooth, ve as smoothSpeedCurve, cl as smoothedVectorizedHomotopy, wo as smoothererstep, ns as smootherstep, yi as smoothstep, Fl as snapshotFromJSON, xl as snapshotToJSON, sc as sphericalToCartesian, tu as spinInFromNothing, ya as spiralIn, et as splitBezier, Bp as spring, i as squishRateFunc, On as starGraph, _s as stateFromJSON, Jp as stateToJSON, Zc as stepFunction, fi as stepVectorField, $u as steps, gt as straightPath, vo as stretchArrayToLength, er as subVec, Jt as subdivideBezier, Cn as succession, Xc as svgMobject, _p as svgToVMobjects, o as swap, mf as texturedSphere, Tp as thereAndBack, Md as thereAndBackWithPause, Lm as thickDiagonal, Pe as tracedPath, Oa as transform, St as transformAnimations, js as transformFromCopy, l as transformMatchingCode, Dr as transformMatchingShapes, ai as transformMatchingTex, At as tuplify, ft as turnAnimationIntoUpdater, qr as typeWithCursor, Za as uncreate, Am as union, Vn as uniqChain, Hi as unitPerpendicularTo, Ml as unregisterSerializableMobject, Lu as untypeWithCursor, Ht as unwrite, Wt as updateFromAlphaFunc, go as updateFromFunc, Ah as useAnimation, Nh as useInjectedScene, kh as useMobject, Q as useScene, jh as useUpdater, ku as valueToColor, oe as valueTracker, qp as visibleGlyphChars, Qr as voiceoverToVTT, Es as wait, Ep as wiggle, uh as wiggleOutThenIn, Gf as wiggleRate, Fa as write, sa as zToVector };
|
|
114
|
+
export { Jp as Add, hr as AddTextLetterByLetter, cm as AddTextWordByWord, fr as Angle, Zt as AnimateProxy, Ze as AnimatedBoundary, sh as AnimatedImageMobject, ol as Animation, da as AnimationGroup, Up as AnnotationDot, fu as AnnularSector, Ws as Annulus, cc as ApplyComplexFunction, Ku as ApplyFunction, Ip as ApplyMatrix, Tc as ApplyMethod, Fu as ApplyPointwiseFunction, ke as ApplyPointwiseFunctionToCenter, Ci as ApplyWave, Cc as Arc, _p as ArcBetweenPoints, fp as ArcBrace, Pp as ArcPolygon, Bd as ArcPolygonFromArcs, Re as AriaNarrator, jt as Arrow, rh as Arrow3D, bm as ArrowCircleFilledTip, ha as ArrowCircleTip, Ke as ArrowSquareFilledTip, Ae as ArrowSquareTip, Wr as ArrowTip, Iu as ArrowTriangleFilledTip, l as ArrowTriangleTip, Pr as ArrowVectorField, pi as AudioAnalyzer, dd as AudioManager, Yd as Axes, Si as BLACK, wm as BLEND_MODES, ne as BLUE, Gc as BLUE_A, wp as BLUE_B, Ad as BLUE_C, Wf as BLUE_D, nu as BLUE_E, Qm as BOLD, $s as BOOK, zt as BackgroundRectangle, j as BarChart, fo as Blink, Vl as BooleanResult, h as Box3D, vc as Brace, nd as BraceBetweenPoints, Kp as BraceLabel, Pc as BraceText, Ic as Broadcast, La as BulletedList, Te as COOLWARM, Ee as Camera2D, Mu as Camera2DFrame, Br as Camera3D, Os as CameraAnimateProxy, fm as CameraFrame, Im as CapStyleType, m as ChangeDecimalToValue, rc as ChangeSpeed, Tu as ChangingDecimal, wd as ChoroplethMap, Pl as Circle, lu as Circumscribe, ci as Clickable, _n as ClockwiseTransform, wn as Code, Xl as ColorScale, cp as ComplexHomotopy, $a as ComplexPlane, Di as ComplexValueTracker, Xr as Cone, I as ContourPlot, Sh as Controls, tn as ConvexHull, ad as ConvexHull3D, Vo as CounterclockwiseTransform, jr as Create, ja as Cross, Eu as Cube, Ho as CubicBezier, tl as CurvedArrow, te as CurvedDoubleArrow, it as CurvesAsSubmobjects, Xn as Cutout, To as CyclicReplace, Hu as Cylinder, Ps as DARKER_GRAY, qd as DARK_BLUE, sp as DARK_BROWN, pc as DARK_GRAY, Ls as DEFAULT_ANIMATION_DURATION, ea as DEFAULT_ARROW_TIP_LENGTH, Sr as DEFAULT_ASPECT_RATIO, Jo as DEFAULT_COLOR_SCHEME, he as DEFAULT_DASH_LENGTH, xm as DEFAULT_DOT_RADIUS, Xd as DEFAULT_FONT_SIZE, up as DEFAULT_FPS, gc as DEFAULT_FRAME_HEIGHT, ed as DEFAULT_FRAME_WIDTH, Wp as DEFAULT_MOBJECT_TO_EDGE_BUFFER, Nc as DEFAULT_MOBJECT_TO_MOBJECT_BUFFER, dl as DEFAULT_PIXEL_HEIGHT, mf as DEFAULT_PIXEL_WIDTH, ga as DEFAULT_POINTWISE_FUNCTION_RUN_TIME, qe as DEFAULT_POINT_DENSITY_1D, je as DEFAULT_POINT_DENSITY_2D, Gr as DEFAULT_SMALL_DOT_RADIUS, gd as DEFAULT_STROKE_WIDTH, Lu as DEFAULT_WAIT_TIME, u as DEGREES, Dt as DL, Rn as DOWN, Nf as DR, is as DashedLine, Eo as DashedVMobject, Go as DecimalMatrix, Ed as DecimalNumber, pl as DecimalTable, Le as Degrees, Io as DiGraph, qi as DiceFace, El as Difference, aa as Dodecahedron, nr as DonutChart, Pn as Dot, Yp as Dot3D, Hn as DoubleArrow, zi as Draggable, li as DrawBorderThenFill, Or as Elbow, rf as Ellipse, bs as Exclusion, Rs as ExportSettingsPanel, Zd as FPS_PRESETS, $p as FadeIn, bl as FadeOut, Ii as FadeToColor, Td as FadeTransform, zf as FadeTransformPieces, ef as Flash, bn as FocusOn, ei as FullScreenFadeRectangle, nt as FullScreenRectangle, lp as FunctionGraph, Zu as GOLD, Vp as GOLD_A, Ac as GOLD_B, cl as GOLD_C, df as GOLD_D, pd as GOLD_E, zl as GRAY, wl as GRAY_A, vs as GRAY_B, rm as GRAY_C, Ym as GRAY_D, Xs as GRAY_E, Nm as GREEN, Zi as GREEN_A, z as GREEN_B, vm as GREEN_C, pa as GREEN_D, We as GREEN_E, Qo as GenericGraph, Rf as GeoMap, ge as GifExporter, vp as Globe, _i as GlyphVMobject, Qd as GradientVMobject, bo as Graph, cr as Group, oe as GrowArrow, Pm as GrowFromCenter, Kc as GrowFromEdge, Tp as GrowFromPoint, xu as HEAVY, If as HSV, hm as HeatMap, zc as Hexagon, mc as Homotopy, rn as Hoverable, Sn as IN, zr as INFERNO, pr as ITALIC, be as Icosahedron, zp as ImageMobject, Ep as ImplicitFunction, hp as ImplicitSurface, bc as Indicate, tf as InstancedMobject, Bf as Integer, ko as IntegerMatrix, gf as IntegerTable, Vf as InteractiveScene, am as Intersection, Hl as LARGE_BUFF, Ko as LEFT, kr as LIGHT, Oe as LIGHTER_GRAY, Hr as LIGHT_BROWN, Pu as LIGHT_GRAY, s as LIGHT_PINK, qa as Label, Mc as LabeledArrow, ul as LabeledDot, pf as LabeledLine, hd as LabeledPolygram, ls as LaggedStart, Pf as LaggedStartMap, kf as LargeDot, Dd as Lighting, En as Line, Vm as Line3D, si as LineJointType, Kf as LinearBase, za as LinearTransformationScene, iu as LogBase, vu as MANIM_BACKGROUND, ur as MAROON, Er as MAROON_A, ii as MAROON_B, at as MAROON_C, $t as MAROON_D, Jn as MAROON_E, ct as MEDIUM, Dl as MED_LARGE_BUFF, xs as MED_SMALL_BUFF, Mo as MONOKAI_COLOR_SCHEME, Be as MandelbrotSet, Cs as ManimBanner, Tn as ManimColor, Lh as ManimScene, Oh as ManimSceneElement, zh as ManimWebPlugin, ah as MappingCamera, go as MarkdownText, sf as MarkupText, Ks as MasterTimeline, vd as MathTable, Ec as MathTex, r as MathTexImage, Bn as MathTexPart, il as MathTexSVG, Ql as MathTypst, ss as Matrix, Me as MatrixTracker, ve as Mobject, Au as Mobject1D, Rr as Mobject2D, ua as Mobject3D, wi as MobjectMatrix, Wl as MobjectTable, ie as ModelMobject, mr as MovablePoint, Bl as MoveAlongPath, Da as MoveToTarget, ys as MoveToTargetPosition, oc as MovingCamera, Xo as MovingCameraScene, Um as MultiCamera, Zr as Munits, nn as NORMAL, la as NewtonFractal, pe as NullRenderer, hc as NumberLine, Md as NumberPlane, Zn as OBLIQUE, Fi as ORANGE, Ao as ORIGIN, cs as OUT, Em as Octahedron, xp as OrbitControls, or as PGroup, Ri as PI, dh as PINK, Oc as PMobject, C as PURE_BLUE, Ga as PURE_GREEN, Lt as PURE_RED, ka as PURPLE, so as PURPLE_A, xt as PURPLE_B, Mn as PURPLE_C, Df as PURPLE_D, gn as PURPLE_E, _a as PanZoomControls, ud as Paragraph, Ji as ParametricFunction, Ml as ParametricSurface, we as ParticleSystem, Yf as PatternVMobject, vl as Pentagon, Uu as Percent, Qu as PhaseFlow, Ui as PieChart, g as Pixels, Ch as PlaybackControls, Pd as Player, Jf as PlayerController, ou as PlayerUI, de as PointCloudDot, mu as PointMobject, Gt as PolarPlane, xf as Polygon, Zp as Polygram, xa as Polyhedron, Om as PostProcessingPipeline, Lc as Prism, Wo as Pulse, dp as QUALITY_PRESETS, Bo as RED, wo as RED_A, ns as RED_B, yi as RED_C, a as RED_D, Wc as RED_E, _c as RESOLUTION_PRESETS, Yo as RGBA, Ti as RIGHT, No as RandomColorGenerator, ki as Rectangle, Cd as RegularPolygon, Li as RegularPolygram, hl as Remove, ut as RemoveTextLetterByLetter, gu as Renderer, ao as ReplacementTransform, fh as Restore, oi as RightAngle, ma as Rotate, vf as Rotating, ph as RoundedRectangle, mh as SCALE_FACTOR_PER_FONT_POINT, E as SEMIBOLD, Ja as SEMILIGHT, om as SMALL_BUFF, Bt as START_X, Ma as START_Y, Xc as SVGMobject, mm as SampleSpace, Qi as Scale, Is as ScaleBase, w as ScaleInPlace, U as Scene, Rl as SceneStateManager, Yt as ScreenRectangle, ep as Sector, $l as SelectionManager, im as Shift, Vt as ShowCreationThenDestruction, eh as ShowIncreasingSubsets, tc as ShowPartial, Qc as ShowPassingFlash, In as ShowPassingFlashWithThinningStrokeWidth, Rm as ShowSubmobjectsOneByOne, Ka as ShrinkToCenter, Ff as SingleStringMathTex, d as Slider, vn as SmallDot, Hp as SmoothedVectorizedHomotopy, ps as SpecialThreeDScene, vr as Sphere, jd as SpinInFromNothing, na as SpiralIn, sa as SplitScreenCamera, le as Square, T as Star, bu as StealthTip, di as StreamLines, qo as Succession, K as Surface, K as Surface3D, Es as SurfacePresets, lo as SurroundingRectangle, rs as Swap, uo as TAU, Cp as TEAL, kd as TEAL_A, Uf as TEAL_B, tu as TEAL_C, Ns as TEAL_D, Kd as TEAL_E, wt as THIN, mo as THREE, kl as Table, st as TangentLine, xi as TangentialArc, Qe as Tetrahedron, Lp as Tex, Nd as TexFontTemplates, qf as TexTemplate, au as TexTemplateLibrary, Ro as Text, es as TextGlyphGroup, Ll as TextOnPath, xd as TexturedSurface, yf as ThreeDAxes, Se as ThreeDCamera, Hc as ThreeDScene, gl as ThreeDVMobject, gm as Timeline, sd as TipableVMobject, kt as Title, Ie as Torus, Fe as TracedPath, yt as Transform, Rt as TransformAnimations, Zl as TransformFromCopy, Yn as TransformMatchingAbstractBase, yu as TransformMatchingCode, Dr as TransformMatchingShapes, ai as TransformMatchingTex, Yl as Triangle, qr as TypeWithCursor, js as Typst, ae as UL, Fn as ULTRABOLD, Af as ULTRAHEAVY, yn as ULTRALIGHT, Jc as UP, Dp as UR, an as Uncreate, Ct as Underline, Zm as Union, $u as UnitInterval, zu as UntypeWithCursor, $n as Unwrite, Ia as UpdateFromAlphaFunc, Ot as UpdateFromFunc, wr as VDict, Al as VGroup, ju as VIRIDIS, ws as VMobject, kp as VMobjectFromSVGPath, se as ValueTracker, us as Variable, Lf as Vector, ic as Vector3D, pt as VectorField, jm as VectorFieldVector, vo as VectorScene, ni as VectorizedPoint, Lm as VideoExporter, Va as VideoMobject, ir as Voiceover, un as VoiceoverScene, op as WHITE, bd as Wait, Ul as WebCodecsExporter, Gi as WebSpeechSynthesizer, Ld as Wiggle, D as WiggleOutThenIn, Bi as Write, Uo as X_AXIS, fc as YELLOW, Xu as YELLOW_A, Bp as YELLOW_B, kc as YELLOW_C, sl as YELLOW_D, uf as YELLOW_E, Do as Y_AXIS, as as Z_AXIS, Po as ZoomDisplayPopOut, fs as ZoomedScene, Kl as add, gh as addTextLetterByLetter, _e as addTextWordByWord, Mr as addVec, Du as adjacentNTuples, yr as adjacentPairs, xl as alignmentToOffset, Fr as allElementsAreInstances, Hi as always, Qa as alwaysRedraw, ui as alwaysRotate, ft as alwaysShift, Dn as angleAxisFromQuaternion, Sf as angleBetweenVectors, dn as angleOfVector, Yr as animatedBoundary, He as animationGroup, Qr as announceMobject, ya as applyBlendMode, rl as applyComplexFunction, of as applyFunction, ld as applyMatrix, Kr as applyMatrixLive, Il as applyMethod, Rd as applyObjMaterials, c as applyPointwiseFunction, Ur as applyPointwiseFunctionToCenter, Wd as applyReducedMotion, re as applyWave, ap as areKatexStylesLoaded, vh as assertIsMobjectMethod, Ou as attachCaptionTrack, b as averageColor, ze as bezier, Ce as bezierRemap, Un as binarySearch, Nt as binaryTree, Ta as bipartiteGraph, Xe as blendModeToThree, Tt as blink, jl as broadcast, So as buildStyledTextLines, Fo as cartesianToSpherical, yo as centerOfMass, _r as changeDecimalToValue, Bm as changeSpeed, Nr as changingDecimal, Ai as choose, _d as chooseVideoExporterStrategy, Vs as circumscribe, Kn as clearAnimationOverrides, oh as clip, Ba as clockwisePath, bi as clockwiseTransform, lm as colorGradient, Ha as colorToIntRgb, Pt as colorToIntRgba, sr as colorToOklab, Cr as colorToOklch, Ea as colorToRgb, io as colorToRgba, Zo as compassDirections, ro as completeGraph, mi as complexFuncToR3Func, jc as complexHomotopy, e as complexToR3, Vc as complexValueTracker, lf as compose, hi as computeCircularLayout, hs as computeGlyphPlacements, t as computeLayout, yh as computeSliceGeometry, fi as concatenateLists, Mt as counterclockwisePath, ee as counterclockwiseTransform, O as create, F as createDiceRow, Wn as createFadeToBlack, ji as createFadeToWhite, Sm as createGifExporter, Wu as createLiveRegion, ta as createVideoExporter, Ol as createWebCodecsExporter, H as cross, H as crossVec, el as cross2d, rd as cubicBezier, sn as cycleAnimation, _t as cycleGraph, Bc as cyclicReplace, Qf as deriveBasePath, uu as deriveMtlUrl, _ as describeMobject, Sl as deserializeMobject, Gu as deserializeScene, sc as deserializeSceneMobject, $c as detectModelFormat, Qs as difference, dt as dotVec, fd as doubleSmooth, Ss as downloadBlob, Xa as drawBorderThenFill, ra as earclipTriangulation, qp as ease, G as easeIn, G as easeInCubic, Cl as easeInBack, Fc as easeInBezier, _s as easeInBounce, nm as easeInCirc, Jm as easeInElastic, Ys as easeInExpo, q as easeInOut, q as easeInOutCubic, Xi as easeInOutBack, ml as easeInOutBezier, R as easeInOutBounce, _m as easeInOutCirc, fa as easeInOutElastic, Ue as easeInOutExpo, De as easeInOutQuad, Vr as easeInOutQuart, Nu as easeInOutQuint, o as easeInOutSine, _u as easeInQuad, lr as easeInQuart, Tr as easeInQuint, ri as easeInSine, V as easeOut, V as easeOutCubic, Qt as easeOutBack, _f as easeOutBezier, qn as easeOutBounce, Pi as easeOutCirc, uh as easeOutElastic, S as easeOutExpo, Wa as easeOutQuad, It as easeOutQuart, Oa as easeOutQuint, oo as easeOutSine, ia as emphasizeRegion, dc as ensureKatexStyles, ks as equirectangular, Fm as exclusion, bt as exponentialDecay, sm as exportAndDownloadPNG, W as exportAndDownloadSVG, $m as exportFramePNG, ec as exportPNGSequence, fl as exportSVG, tp as exteriorRings, xe as extractMobjectFamilyMembers, A as fAlways, Gm as fadeIn, ms as fadeOut, Aa as fadeToColor, As as fadeTransform, Hd as fadeTransformPieces, Np as findIntersection, mp as flash, Oo as focusOn, br as formatVttTimestamp, Qp as get3dVmobEndCorner, Wm as get3dVmobEndCornerIndex, Gs as get3dVmobEndCornerUnitNormal, km as get3dVmobGradientStartAndEndPoints, Ki as get3dVmobStartCorner, P as get3dVmobStartCornerIndex, pm as get3dVmobStartCornerUnitNormal, ca as get3dVmobUnitNormal, Pe as getActiveTheme, Ni as getAnimationOverride, Ln as getDetText, Oi as getFeatureFlags, ip as getReducedMotionRunTime, nl as getSerializableTypes, af as getSerializer, ds as getShadedRgb, zm as getSmoothCubicBezierHandlePoints, xh as getSpeechSynthesizer, Jr as getTheme, Bu as getThemeNames, zd as getUnitNormal, $f as getWindingNumber, On as gridGraph, Gf as growArrow, B as growFromCenter, ru as growFromEdge, Fs as growFromPoint, lh as hasAnimationOverride, mt as hashObj, vt as hexToRgb, ll as homotopy, kn as hsvToRgb, Dm as indexLabels, id as indicate, th as integerInterpolate, Lr as interpolate, wf as interpolateColor, ti as interpolateColorOklab, rt as interpolateColorOklch, $i as intersection, ku as inverseInterpolate, pn as invertColor, ht as isAudioAnalysisSupported, ue as isClosed, ce as isFeatureEnabled, Uc as isMathJaxLoaded, uc as isReducedMotionEnabled, N as isSpeechSupported, Ud as isTypstLoaded, Sp as katexCanRender, Ei as laggedStart, Cn as laggedStartMap, on as lengthVec, du as lineIntersection, jn as linear, ye as linearSpeedRamp, Ef as lingering, er as linspace, ln as listDifferenceUpdate, rr as listUpdate, Wi as listify, Th as logger, Wt as maintainPositionRelativeTo, lt as makeClickable, hh as makeDraggable, bh as makeEven, M as makeEvenByCycling, Qn as makeHoverable, Ru as makeMatrixTracker, Ar as makeMovablePoint, Je as makePanZoomControls, Su as makeSlider, wh as manimElementInternals, xc as marchingCubes, Ve as marchingSquares, Am as masterTimeline, pu as matchInterpolate, Mf as matrixToMobject, xn as matrixToTexString, Vd as mercator, ar as mid, Us as midpoint, Tl as moveAlongPath, An as moveToTarget, Xm as moveToTargetPosition, nf as normSquared, gp as normalize, Vi as normalizeVec, hn as notQuiteThere, Xt as oklabToColor, Gn as oklabToOklch, Mi as oklchToColor, ch as oklchToOklab, Dh as onLog, _h as orientation2D, k as orthonormalFrame, x as overrideAnimate, Ua as overrideAnimation, qt as parseBookmarks, su as parsePatternDefs, Ms as parseSVGPathData, nc as partialBezierPoints, wa as pathAlongArc, no as pathAlongCircles, Cf as pathGraph, Sc as perpendicularBisector, ff as phaseFlow, xr as pointLiesOnBezier, eo as powerset, Ju as prefersReducedMotion, Od as preloadMathJax, rp as preloadTypst, Ft as prepareAnimation, Sa as printFamily, $r as proportionsAlongBezierCurveForPoint, os as pulse, td as qualityToBitrate, od as quaternionConjugate, Xp as quaternionFromAngleAxis, Rc as quaternionMult, _l as r3ToComplex, Lo as randomBrightColor, xo as randomColor, Rp as reducedRunTime, yl as registerFont, Eh as registerManimElement, cd as registerSerializableMobject, p as registerTheme, bf as regularVertices, Ts as remove, Kt as removeListRedundancies, Ra as removeNones, Ht as removeTextLetterByLetter, Hf as renderLatexToSVG, lc as renderTypstToSVG, Tf as replacementTransform, Yc as resetFeatureFlags, Dc as resetReducedMotion, wu as resetThemes, zs as resolvePatternFill, Gp as resolveResolution, co as restore, gs as restoreMobjectState, $e as restructureListToExcludeCertainFamilyMembers, zo as reverse, $o as rgbToColor, gi as rgbToHex, n as rgbToHsv, qc as rgbaToColor, Ge as rotate, Sd as rotateVector, um as rotating, Jl as rotationAboutZ, Nl as rotationMatrix, Ds as rotationMatrixTranspose, Co as runningStart, ts as rushFrom, vi as rushInto, Tm as rushRegion, fe as sampleColormap, em as sampledPathFromFunction, Km as sampledPathFromPoints, tm as saveMobjectState, ym as scale, St as scaleInPlace, Za as scaleVec, hf as sceneToSVG, qm as serializeMobject, wc as serializeScene, Fp as serializeSceneMobject, Op as setFeatureFlags, y as setGifDecoder, Yu as setKatexStylesheetUrl, eu as setMathJaxScriptUrl, Mp as setModelLoaderFactory, Hs as setMtlLoaderFactory, Ca as setPostProcessingModules, et as setPostProcessingModulesLoader, al as setReducedMotion, to as setSpeechSynthesizer, gr as setTheme, qu as setTypstCompiler, Zs as shift, dm as shoelace, ih as shoelaceDirection, cf as shouldReduceMotion, Na as showCreationThenDestruction, Cm as showIncreasingSubsets, va as showPartial, jp as showPassingFlash, jf as showPassingFlashWithThinningStrokeWidth, Ye as showSubmobjectsOneByOne, Nn as shrinkToCenter, v as sigmoid, i as slowInto, Zc as smooth, ba as smoothSpeedCurve, md as smoothedVectorizedHomotopy, Ap as smoothererstep, Id as smootherstep, Xf as smoothstep, Js as snapshotFromJSON, Mm as snapshotToJSON, ac as sphericalToCartesian, Jd as spinInFromNothing, Ne as spiralIn, tt as splitBezier, Gl as spring, cu as squishRateFunc, fn as starGraph, Yi as stateFromJSON, L as stateToJSON, Bs as stepFunction, cn as stepVectorField, yd as steps, gt as straightPath, _o as stretchArrayToLength, Ut as subVec, Jt as subdivideBezier, jo as succession, Fd as svgMobject, Gd as svgToVMobjects, yp as swap, ql as texturedSphere, $d as thereAndBack, pp as thereAndBackWithPause, Hm as thickDiagonal, Vu as tracedPath, mn as transform, Of as transformAnimations, np as transformFromCopy, dr as transformMatchingCode, ot as transformMatchingShapes, en as transformMatchingTex, At as tuplify, tr as turnAnimationIntoUpdater, f as typeWithCursor, Pa as uncreate, me as union, Vn as uniqChain, Fa as unitPerpendicularTo, Fl as unregisterSerializableMobject, Cu as untypeWithCursor, po as unwrite, ho as updateFromAlphaFunc, zn as updateFromFunc, Fh as useAnimation, Rh as useInjectedScene, Ph as useMobject, Q as useScene, Ih as useUpdater, hu as valueToColor, bp as valueTracker, qs as visibleGlyphChars, Ir as voiceoverToVTT, nh as wait, Zf as wiggle, Ya as wiggleOutThenIn, yc as wiggleRate, Et as write, oa as zToVector };
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
/**
|
|
3
|
+
* Duck-typed 2D camera that PanZoomControls drives. Both `Camera2D` and the
|
|
4
|
+
* `Camera2DFrame`-backed scene camera satisfy this shape, so the controller
|
|
5
|
+
* never imports the concrete camera class (avoids a circular import and keeps
|
|
6
|
+
* it testable with a plain stub).
|
|
7
|
+
*/
|
|
8
|
+
export interface PanZoomCamera {
|
|
9
|
+
/** Visible frame width in world units. Smaller = zoomed in. */
|
|
10
|
+
frameWidth: number;
|
|
11
|
+
/** Visible frame height in world units. Smaller = zoomed in. */
|
|
12
|
+
frameHeight: number;
|
|
13
|
+
/** Live camera position. Its x/y are the frame center; z is left untouched. */
|
|
14
|
+
position: THREE.Vector3;
|
|
15
|
+
/** Move the camera center to a world point. */
|
|
16
|
+
moveTo(point: [number, number, number]): void;
|
|
17
|
+
}
|
|
18
|
+
/** Optional min/max world bounds for the camera center. */
|
|
19
|
+
export interface PanZoomBounds {
|
|
20
|
+
minX?: number;
|
|
21
|
+
maxX?: number;
|
|
22
|
+
minY?: number;
|
|
23
|
+
maxY?: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Options for {@link PanZoomControls}.
|
|
27
|
+
*/
|
|
28
|
+
export interface PanZoomControlsOptions {
|
|
29
|
+
/**
|
|
30
|
+
* Wheel sensitivity. The frame is scaled by `exp(deltaY * zoomSpeed)` per
|
|
31
|
+
* wheel event, so a larger value zooms faster. Defaults to 0.0015.
|
|
32
|
+
*/
|
|
33
|
+
zoomSpeed?: number;
|
|
34
|
+
/**
|
|
35
|
+
* Maximum zoom-in factor relative to the frame size at construction
|
|
36
|
+
* (`zoom = baseFrameWidth / frameWidth`). Defaults to 10.
|
|
37
|
+
*/
|
|
38
|
+
maxZoom?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Maximum zoom-out factor relative to the frame size at construction.
|
|
41
|
+
* Defaults to 0.1.
|
|
42
|
+
*/
|
|
43
|
+
minZoom?: number;
|
|
44
|
+
/** Mouse button that starts a pan drag (0 = left, 1 = middle, 2 = right). Defaults to 0. */
|
|
45
|
+
panButton?: number;
|
|
46
|
+
/** Invert the wheel zoom direction. Defaults to false. */
|
|
47
|
+
invertZoom?: boolean;
|
|
48
|
+
/** Allow panning along the x axis. Defaults to true. */
|
|
49
|
+
enablePanX?: boolean;
|
|
50
|
+
/** Allow panning along the y axis. Defaults to true. */
|
|
51
|
+
enablePanY?: boolean;
|
|
52
|
+
/** Allow wheel zoom. Defaults to true. */
|
|
53
|
+
enableZoom?: boolean;
|
|
54
|
+
/** Clamp the camera center to these world bounds. Defaults to null (no bounds). */
|
|
55
|
+
bounds?: PanZoomBounds | null;
|
|
56
|
+
/** Attach listeners immediately. Defaults to true. Set false to attach later with enable(). */
|
|
57
|
+
enabled?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Called after each pan or zoom change. Use it to re-render the scene, e.g.
|
|
60
|
+
* `{ onChange: () => scene.render() }`.
|
|
61
|
+
*/
|
|
62
|
+
onChange?: () => void;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Desmos-style mouse pan and zoom for a 2D (orthographic) manim camera.
|
|
66
|
+
*
|
|
67
|
+
* Wheel zooms the frame about the world point under the cursor (zoom to
|
|
68
|
+
* cursor, not to center); a pointer drag pans the frame. The controller only
|
|
69
|
+
* reads/writes the camera through {@link PanZoomCamera}; it never touches the
|
|
70
|
+
* core render path, so it is a pure opt-in input controller.
|
|
71
|
+
*
|
|
72
|
+
* Lifecycle mirrors {@link OrbitControls}: listeners are attached while the
|
|
73
|
+
* controller is enabled and removed on `disable()` / `dispose()`.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```ts
|
|
77
|
+
* const controls = new PanZoomControls(scene.camera, scene.getCanvas(), {
|
|
78
|
+
* onChange: () => scene.render(),
|
|
79
|
+
* });
|
|
80
|
+
* // later
|
|
81
|
+
* controls.dispose();
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
export declare class PanZoomControls {
|
|
85
|
+
private readonly _camera;
|
|
86
|
+
private readonly _domElement;
|
|
87
|
+
private readonly _options;
|
|
88
|
+
private readonly _baseFrameWidth;
|
|
89
|
+
private _enabled;
|
|
90
|
+
private _disposed;
|
|
91
|
+
private _panning;
|
|
92
|
+
private _lastClientX;
|
|
93
|
+
private _lastClientY;
|
|
94
|
+
private readonly _window;
|
|
95
|
+
private readonly _onWheel;
|
|
96
|
+
private readonly _onMouseDown;
|
|
97
|
+
private readonly _onMouseMove;
|
|
98
|
+
private readonly _onMouseUp;
|
|
99
|
+
/**
|
|
100
|
+
* @param camera The 2D camera to drive (e.g. `scene.camera`).
|
|
101
|
+
* @param domElement The element that receives wheel/pointer events (e.g. the canvas).
|
|
102
|
+
* @param options Pan/zoom configuration.
|
|
103
|
+
*/
|
|
104
|
+
constructor(camera: PanZoomCamera, domElement: HTMLElement, options?: PanZoomControlsOptions);
|
|
105
|
+
/** Whether the controller is currently enabled (listeners attached). */
|
|
106
|
+
isEnabled(): boolean;
|
|
107
|
+
/** Attach listeners and start responding to the mouse. */
|
|
108
|
+
enable(): void;
|
|
109
|
+
/** Detach listeners. The controller stops responding until enable() is called. */
|
|
110
|
+
disable(): void;
|
|
111
|
+
/** Permanently detach listeners. The controller cannot be re-enabled. */
|
|
112
|
+
dispose(): void;
|
|
113
|
+
private _handleWheel;
|
|
114
|
+
private _handleMouseDown;
|
|
115
|
+
private _handleMouseMove;
|
|
116
|
+
private _handleMouseUp;
|
|
117
|
+
/** Screen pixel → normalized device coordinates (-1..1), or null if unusable. */
|
|
118
|
+
private _eventToNdc;
|
|
119
|
+
/** World point currently shown at the given NDC coordinates. */
|
|
120
|
+
private _worldAt;
|
|
121
|
+
/** Clamp to bounds (if any) and push the new center to the camera. */
|
|
122
|
+
private _applyCenter;
|
|
123
|
+
private _emitChange;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Factory for {@link PanZoomControls}.
|
|
127
|
+
* @param camera The 2D camera to drive.
|
|
128
|
+
* @param domElement The element that receives wheel/pointer events.
|
|
129
|
+
* @param options Pan/zoom configuration.
|
|
130
|
+
* @returns A new PanZoomControls instance.
|
|
131
|
+
*/
|
|
132
|
+
export declare function makePanZoomControls(camera: PanZoomCamera, domElement: HTMLElement, options?: PanZoomControlsOptions): PanZoomControls;
|
|
133
|
+
//# sourceMappingURL=PanZoomControls.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PanZoomControls.d.ts","sourceRoot":"","sources":["../../src/interaction/PanZoomControls.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;;;;GAKG;AACH,MAAM,WAAW,aAAa;IAC5B,+DAA+D;IAC/D,UAAU,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,WAAW,EAAE,MAAM,CAAC;IACpB,+EAA+E;IAC/E,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC;IACxB,+CAA+C;IAC/C,MAAM,CAAC,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;CAC/C;AAED,2DAA2D;AAC3D,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4FAA4F;IAC5F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0DAA0D;IAC1D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,wDAAwD;IACxD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,wDAAwD;IACxD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,0CAA0C;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mFAAmF;IACnF,MAAM,CAAC,EAAE,aAAa,GAAG,IAAI,CAAC;IAC9B,+FAA+F;IAC/F,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAmBD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAgB;IACxC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAc;IAC1C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoB;IAC7C,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAS;IAEzC,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,YAAY,CAAK;IACzB,OAAO,CAAC,YAAY,CAAK;IAEzB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAgB;IAExC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA0B;IACnD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA0B;IACvD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA0B;IACvD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAa;IAExC;;;;OAIG;gBACS,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,sBAAsB;IAkC5F,wEAAwE;IACxE,SAAS,IAAI,OAAO;IAIpB,0DAA0D;IAC1D,MAAM,IAAI,IAAI;IAad,kFAAkF;IAClF,OAAO,IAAI,IAAI;IAef,yEAAyE;IACzE,OAAO,IAAI,IAAI;IAOf,OAAO,CAAC,YAAY;IA+BpB,OAAO,CAAC,gBAAgB;IAUxB,OAAO,CAAC,gBAAgB;IA4BxB,OAAO,CAAC,cAAc;IAMtB,iFAAiF;IACjF,OAAO,CAAC,WAAW;IASnB,gEAAgE;IAChE,OAAO,CAAC,QAAQ;IAOhB,sEAAsE;IACtE,OAAO,CAAC,YAAY;IAapB,OAAO,CAAC,WAAW;CAGpB;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,aAAa,EACrB,UAAU,EAAE,WAAW,EACvB,OAAO,CAAC,EAAE,sBAAsB,GAC/B,eAAe,CAEjB"}
|
|
@@ -12,4 +12,5 @@ export { Slider, makeSlider, type SliderOptions } from './Slider';
|
|
|
12
12
|
export { MatrixTracker, makeMatrixTracker, applyMatrixLive, type Matrix2x2, type MatrixSource, type BasisVectorSource, type DependentPoint, type DynamicMatrixOptions, type LiveMatrixBinding, } from './DynamicMatrix';
|
|
13
13
|
export { SelectionManager, type SelectionManagerOptions } from './SelectionManager';
|
|
14
14
|
export { OrbitControls, type OrbitControlsOptions } from './OrbitControls';
|
|
15
|
+
export { PanZoomControls, makePanZoomControls, type PanZoomControlsOptions, type PanZoomCamera, type PanZoomBounds, } from './PanZoomControls';
|
|
15
16
|
//# 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,YAAY,EAAE,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1F,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,aAAa,EAAE,MAAM,UAAU,CAAC;AAGlE,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,eAAe,EACf,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,GACvB,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EAAE,gBAAgB,EAAE,KAAK,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAGpF,OAAO,EAAE,aAAa,EAAE,KAAK,oBAAoB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
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,YAAY,EAAE,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1F,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,aAAa,EAAE,MAAM,UAAU,CAAC;AAGlE,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,eAAe,EACf,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,GACvB,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EAAE,gBAAgB,EAAE,KAAK,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAGpF,OAAO,EAAE,aAAa,EAAE,KAAK,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC3E,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,KAAK,sBAAsB,EAC3B,KAAK,aAAa,EAClB,KAAK,aAAa,GACnB,MAAM,mBAAmB,CAAC"}
|