Every shared interactive, each shown with the exact MDX that produces it. The full prop reference is in AUTHORING.md and in the comment at the top of each file in src/components/viz/.
NumberLineZoom
Zoom into the number line: fractions crowd towards √2 yet never reach it; infinite sets pile up at their points of accumulation.
<NumberLineZoom client:visible />
Fractions p/q with q≤10, and the target √2
fractions p/q, q ≤ 10
√2
width of view: 2
65 fractions with denominator ≤ 10 in view. Closest to √2: 57, off by 0.014. Nearest ones in view are 0.014 to the left and 0.014 to the right: none hits √2 exactly.
257 fractions with denominator ≤ 20 in view. Closest to π: 722, off by 0.0013. Nearest ones in view are 0.0083 to the left and 0.0013 to the right: none hits π exactly.
1830 of the first 1830 points lie in this view. The view contains the point of accumulation 0: however far you zoom in on it, infinitely many points remain (only the first 1830 are drawn).
DedekindCut
A section (L, R) of the rationals: squeeze the gap with decimals, test your own fractions, and see whether either class has an end member.
<DedekindCut client:visible />
L={x:x≤0 or x2<2}, R = all other rationals
Cut
L (lower class)
R (upper class)
gap not yet sorted
your fraction
With 1 decimal place: 1.4 is in L and 1.5 is in R; the gap between them has width 0.1. Your fraction 1217 ≈ 1.4166667 is in R.
Neither class has an end member: whatever rational you name in L, a larger one is still in L, and whatever you name in R, a smaller one is still in R. The cut defines a new number, √2, sitting in the gap.
With 3 decimal places: 1.259 is in L and 1.260 is in R; the gap between them has width 0.001. Your fraction 1217 ≈ 1.4166667 is in R.
Neither class has an end member: whatever rational you name in L, a larger one is still in L, and whatever you name in R, a smaller one is still in R. The cut defines a new number, ∛2, sitting in the gap.
With 1 decimal place: 1.7 is in L and 1.8 is in R; the gap between them has width 0.1. Your fraction 47 ≈ 1.75 is in R.
Neither class has an end member: whatever rational you name in L, a larger one is still in L, and whatever you name in R, a smaller one is still in R. The cut defines a new number, √3, sitting in the gap.
FunctionGrapher
Graphs of preset families (cartesian, polar, parametric) with parameter sliders and a trace point; jumps and poles are drawn honestly.
z=1.5+0.5i=1.58(cos0.322+isin0.322) w=0.6+i=1.17(cos1.03+isin1.03) z+w=(1.5+0.5i)+(0.6+i)=2.1+1.5i: add real parts and imaginary parts, i.e. add the displacements.
After 30 terms s30=0.6767581377; the sum is 0.69314718, so ∣s−s30∣ = 0.0164. The series converges (but not absolutely) to 0.69314718.
LimSupInf
Upper and lower limits as the limits of the tail suprema and infima.
<LimSupInf client:visible />
ϕ(n)=(−1)n(1+n1)
nφ(n)
φ(n) (hollow: before the tail)
Mₖ = sup of the tail from k
mₖ = inf of the tail
lim sup / lim inf
tail start k (drag)
Tail from n=1: M1=1.5, m1=−2, gap 3.5 (sup and inf over 1≤n≤240). Moving k to the right can only lower Mₖ and raise mₖ. Here lim sup = 1 and lim inf = −1: the envelopes never meet, so the sequence oscillates.
Tail from n=1: M1=1, m1=−1, gap 2 (sup and inf over 1≤n≤240). Moving k to the right can only lower Mₖ and raise mₖ. Here lim sup = 1 and lim inf = −1: the envelopes never meet, so the sequence oscillates.
Tail from n=1: M1=1.5, m1=0, gap 1.5 (sup and inf over 1≤n≤240). Moving k to the right can only lower Mₖ and raise mₖ. Here lim sup = lim inf = 1: the envelopes close and the sequence converges.
Tail from n=1: M1=1, m1=−1, gap 2 (sup and inf over 1≤n≤240). Moving k to the right can only lower Mₖ and raise mₖ. Here lim sup = 1 and lim inf = −1: the envelopes never meet, so the sequence oscillates.
EpsilonDeltaGame
The ε–δ definition of a limit (and of continuity) at a point: given ε, choose δ; escapes from the band are marked, and at a jump no δ works.
f(x)=sinx1, claim limx→0f(x)=0 at a=0Round 1 of 3
Opponent: “I name ε=0.5. Find δ so that ∣f(x)−L∣<ε whenever 0<∣x−a∣<δ.”
xy
y = f(x)
band L ± ε
strip of width δ (drag)
escapes the band
BisectionExplorer
Repeated halving: nested intervals closing on a root, on a point of accumulation, or producing a finite sub-cover.
<BisectionExplorer client:visible />
Bisection for a root of f(x)=x2−2 on [1,2]
xy
earlier intervals
current interval
y = f(x)
Step 0: [1,2], width (b−a)/20=1. f(a)=−1 and f(b)=2 have opposite signs, so a root lies between them. The intervals are nested and their widths tend to 0, so they close on exactly one point.
Bisection for a point of accumulation of {(−1)n(1+1/n)}
earlier intervals
current interval
points of the set
Step 0: [−3,3], width 6; it contains infinitely many points of the set (4000 of the first 4000 drawn). Every interval in the chain has this property, so the point they close on is a point of accumulation.
Slope of the chord to the right: hf(a+h)−f(a)=−0.19057 to the left: −hf(a−h)−f(a)=0.19057
The chord slopes from either side never settle on a finite value as h→0 (they oscillate or grow without bound): no derivative at 0.
Continuous at 0 (value 0) but not differentiable there.
MeanValueExplorer
Rolle's theorem, the mean value theorem and Cauchy's mean value theorem as 'find c': every c whose tangent is parallel to the chord is found, and failed hypotheses are reported.
P8(x)=1−x2+x4−x6+x8 At x=1.8: f(x)=0.23585, P8(x)=84.445, error ∣f(x)−P8(x)∣=84.2 — this x is outside the interval of convergence (R=1), so raising n will not help. Smooth on the whole line, yet its Taylor series at 0 converges only for |x| < 1.
P4(x)=0 At x=1.8: f(x)=0.73444, P4(x)=0, error ∣f(x)−P4(x)∣=0.734. Every derivative vanishes at 0, so its Taylor series there is 0: it converges, but not to the function.
ComplexMap
The image of a grid and of a circle under w = f(z), with the winding number of the image about 0.
<ComplexMap client:visible preset="square" />
w=z2
z-plane
xy
w-plane, w = f(z)
uv
horizontal lines and their images
vertical lines and their images
circle (drag centre and rim) and its image
w = 0
Grid
Circle: centre 0.3+0.2i, radius 0.8 (it encloses z = 0). Its image winds 2 times round w=0 (counter-clockwise counts +). Doubles angles, squares lengths.
<ComplexMap client:visible preset="exp" />
w=ez
z-plane
xy
w-plane, w = f(z)
uv
horizontal lines and their images
vertical lines and their images
circle (drag centre and rim) and its image
w = 0
Grid
Circle: centre 0.3+0.2i, radius 0.8 (it encloses z = 0). Its image winds 0 times round w=0. Horizontal lines go to rays, vertical lines to circles; a strip of height 2π covers the plane once.
Circle: centre 0, radius 1.4 (it encloses z = 0). Its image winds 1 time round w=0 (counter-clockwise counts +). Circles |z| = r ≠ 1 become ellipses; the unit circle collapses onto [−1, 1].
Circle: centre 0.3+0.2i, radius 0.8 (it encloses z = 0). The image of the circle is not a closed curve here (it jumps where the circle crosses a branch cut), so it has no winding number. The principal value jumps by 2π i across the negative real axis.
HeatMap (primitive)
A seamless colour map of f(x, y) with optional contour lines, drawn inside a Plane. It takes a function, so it is used from a chapter widget (TSX), not directly from MDX. The demos below are in viz/gallery/PrimitivesDemo.tsx.
<HeatMap f={(x, y) => x * x - y * y} scale="diverging" cells={64} contours={[-2, -1, 0, 1, 2]} contourDashed />
x2−y2>0
x2−y2<0
contours (dashed)
Plane, Path, Label (primitives)
Tick labels stay inside the frame (here the y-range starts at 0), a dashed Path made of many segments keeps one continuous dash pattern, and Label takes attach="center" and a pixel offset.
The dashed curve is drawn as 40 separate pieces; the dash pattern runs on across them. The y-range starts at 0, so the x tick labels sit just inside the bottom edge.