# Math Visuals Kit — Full Technical Documentation (LLM & Agent Reference)
> Explore 15 interactive React visualizations built with Three.js and Canvas 2D. Try every demo and license the editable source kit.
- Website: https://mathvisuals.v2space.net
- Summary Index: https://mathvisuals.v2space.net/llms.txt
- Installation: `pnpm add ./math-visuals-kit.tgz three`
## Technical Comparison
| Capability | Math Visuals Kit | Custom R3F + Shader Stack | Raw Canvas Demos |
| :--- | :--- | :--- | :--- |
| React 18 & React 19 Support | Native (pure React + Three.js) | Often blocked by reconciler peerDeps | Manual wrapper needed |
| Bundler Loader Config | Zero (inline typed GLSL modules) | Requires raw-loader / glslify | Manual string concatenation |
| GPU Memory Disposal | Deterministic on unmount | Developer-managed | Frequently leaks WebGL contexts |
| Frame Export API | Built-in `ref.current.capturePNG()` | Custom preserveDrawingBuffer setup | Manual |
---
# Component API Reference (15 Visualizations)
## 1. Chladni Plate Simulator — ``
- **Demo**: https://mathvisuals.v2space.net/visuals/chladni-plate-simulator
- **ID**: `chladni-atlas`
- **Category**: `chladni` (2D Sand)
- **Source access**: Solo or Team license
- **Mathematical Model**: `u(x,y) = cos(nπx)cos(mπy) ± cos(mπx)cos(nπy)` (LaTeX: `$u(x,y) = \cos(n\pi x)\cos(m\pi y) \pm \cos(m\pi x)\cos(n\pi y)$`)
- **Summary**: Explore Chladni patterns on a square plate. Brush through fine sand and watch individual grains gather along the nodal lines of each mode.
- **Lifecycle**: WebGL component with paused, style and className props and a ref for reset() and capturePNG().
- **Interactive Uniform / Simulation Props**:
- `modeX` (`number`, default `3`, range `1..12`, step `1`): Mode m
- `modeY` (`number`, default `5`, range `1..12`, step `1`): Mode n
- `waveNumber` (`number`, default `9`, range `4..40`, step `1`): Pattern Scale
- `symmetry` (`number`, default `0.2`, range `0..1`, step `0.02`): Symmetry
```tsx
import { ChladniAtlas } from "@math-visuals/kit";
export function Example() {
return (
);
}
```
---
## 2. 3D Chladni Sand Plate — ``
- **Demo**: https://mathvisuals.v2space.net/visuals/chladni-sand
- **ID**: `chladni-sand`
- **Category**: `chladni` (GPGPU)
- **Source access**: Solo or Team license
- **Mathematical Model**: `cos(nπx)cos(mπy) − cos(mπx)cos(nπy) = 0` (LaTeX: `$\cos(n\pi x)\cos(m\pi y) - \cos(m\pi x)\cos(n\pi y) = 0$`)
- **Summary**: GPU-simulated sand grains bouncing and settling along nodal curves of a vibrating metallic Chladni plate.
- **Lifecycle**: WebGL component with paused, style and className props and a ref for reset() and capturePNG().
- **Interactive Uniform / Simulation Props**:
- `modeX` (`number`, default `3`, range `1..9`, step `1`): Mode m
- `modeY` (`number`, default `5`, range `1..9`, step `1`): Mode n
- `waveNumber` (`number`, default `10`, range `4..28`, step `1`): Wave Number
- `drive` (`number`, default `1.1`, range `0.2..2`, step `0.05`): Drive
- `vibrating` (`boolean`, default `true`): Vibrating
- `grainCount` (`"60000" | "220000" | "500000"`, default `"220000"`): Grains
```tsx
import { ChladniSandPlate } from "@math-visuals/kit";
export function Example() {
return (
);
}
```
---
## 3. Chladni Physics Loaders — ``
- **Demo**: https://mathvisuals.v2space.net/visuals/chladni-loader
- **ID**: `chladni-loader`
- **Category**: `chladni` (20 Variants)
- **Source access**: Solo or Team license
- **Mathematical Model**: `Jₙ(λr) cos(nθ)` (LaTeX: `$u(r,\theta) = J_n(\lambda_{nk} r)\cos(n\theta)$`)
- **Summary**: Lightweight 2D Canvas circular & rod Chladni loaders powered by Bessel eigenmodes — drop-in UI kit.
- **Lifecycle**: 2D canvas loader with a paused prop.
- **Interactive Uniform / Simulation Props**:
- `variant` (`"morph" | "sand" | "sweep" | "rotor" | "petals" | "bloom" | "orbit" | "wave-rod"`, default `"morph"`): Variant
- `size` (`number`, default `220`, range `120..320`, step `10`): Size (px)
- `density` (`number`, default `1.2`, range `0.5..2`, step `0.1`): Grain Density
```tsx
import { ChladniLoader } from "@math-visuals/kit";
export function Example() {
return (
);
}
```
---
## 4. Hydrogen Wavefunction — ``
- **Demo**: https://mathvisuals.v2space.net/visuals/hydrogen-orbital
- **ID**: `hydrogen-orbital`
- **Category**: `quantum` (Flagship)
- **Source access**: Solo or Team license
- **Mathematical Model**: `ψₙₗₘ(r,θ,φ) = Rₙₗ(r)·Yₗᵐ(θ,φ)` (LaTeX: `$\psi_{n\ell m}(r,\theta,\varphi) = R_{n\ell}(r)\,Y_{\ell}^{m}(\theta,\varphi)$`)
- **Summary**: Real-time 2D probability density |ψ|² slice with smooth dual-state morphing and node-preserving Gaussian blur.
- **Lifecycle**: WebGL component with paused, style and className props and a ref for reset() and capturePNG().
- **Interactive Uniform / Simulation Props**:
- `n` (`number`, default `3`, range `1..8`, step `1`): Principal (n)
- `l` (`number`, default `2`, range `0..7`, step `1`): Azimuthal (ℓ)
- `m` (`number`, default `1`, range `0..7`, step `1`): Magnetic (|m|)
- `scale` (`number`, default `1.3`, range `0.5..3.5`, step `0.1`): Scale
```tsx
import { HydrogenOrbital } from "@math-visuals/kit";
export function Example() {
return (
);
}
```
---
## 5. Hamiltonian Bloch Sphere — ``
- **Demo**: https://mathvisuals.v2space.net/visuals/bloch-sphere
- **ID**: `bloch-sphere`
- **Category**: `quantum` (3D Pure Three)
- **Source access**: Solo or Team license
- **Mathematical Model**: `H = −Ω Sₓ + (χ/2) S_z²` (LaTeX: `$\mathcal{H} = -\Omega S_x + \tfrac{\chi}{2} S_z^2$`)
- **Summary**: Mean-field quantum phase-space trajectories and separatrix bifurcation on the unit Bloch sphere.
- **Lifecycle**: WebGL component with paused, style and className props and a ref for reset() and capturePNG().
- **Interactive Uniform / Simulation Props**:
- `omega` (`number`, default `1`, range `0.1..3`, step `0.1`): Rabi Ω
- `chi` (`number`, default `1.5`, range `0..4`, step `0.1`): Interaction χ
- `orbitCount` (`number`, default `18`, range `8..28`, step `2`): Orbits
- `palette` (`"white" | "blue-violet" | "amber" | "teal"`, default `"white"`): Palette
- `lineWidth` (`number`, default `1.5`, range `0.5..4`, step `0.25`): Line width (px)
```tsx
import { BlochSphere } from "@math-visuals/kit";
export function Example() {
return (
);
}
```
---
## 6. Implicit Equation Explorer — ``
- **Demo**: https://mathvisuals.v2space.net/visuals/implicit-surface
- **ID**: `implicit-surface`
- **Category**: `geometry` (Shader)
- **Source access**: Solo or Team license
- **Mathematical Model**: `sin(a(x²+y²)) − cos(b·xy) = c` (LaTeX: `$\sin\!\big(a(x^2 + y^2)\big) - \cos(bxy) = c$`)
- **Summary**: High-contrast level sets and nodal contours of coupled trigonometric implicit equations.
- **Lifecycle**: WebGL component with paused, style and className props and a ref for reset() and capturePNG().
- **Interactive Uniform / Simulation Props**:
- `isoLevel` (`number`, default `0`, range `-1.2..1.2`, step `0.05`): Iso Level
- `radialFreq` (`number`, default `1.2`, range `0.2..4`, step `0.1`): Radial Freq
- `mixFreq` (`number`, default `2.4`, range `0.2..6`, step `0.1`): Mix Freq
- `scale` (`number`, default `1`, range `0.4..2.5`, step `0.05`): Zoom
```tsx
import { ImplicitSurface } from "@math-visuals/kit";
export function Example() {
return (
);
}
```
---
## 7. Lissajous Curve — ``
- **Demo**: https://mathvisuals.v2space.net/visuals/lissajous-curve-2d
- **ID**: `lissajous-curve-2d`
- **Category**: `geometry` (Canvas 2D)
- **Source access**: Solo or Team license
- **Mathematical Model**: `(cos(at), sin(bt))` (LaTeX: `$\mathbf{r}(t) = \big(\cos(at),\,\sin(bt)\big)$`)
- **Summary**: A 2D Lissajous curve generator for React. Combine horizontal and vertical oscillations to draw a figure whose shape depends on their frequency ratio.
- **Lifecycle**: WebGL component with paused, style and className props and a ref for reset() and capturePNG().
- **Interactive Uniform / Simulation Props**:
- `freqA` (`number`, default `5`, range `1..10`, step `0.5`): Frequency A
- `freqB` (`number`, default `6`, range `1..10`, step `0.5`): Frequency B
```tsx
import { LissajousCurve2D } from "@math-visuals/kit";
export function Example() {
return (
);
}
```
---
## 8. 3D Lissajous Curve — ``
- **Demo**: https://mathvisuals.v2space.net/visuals/lissajous-curve
- **ID**: `lissajous-curve`
- **Category**: `geometry` (3D Pure Three)
- **Source access**: Solo or Team license
- **Mathematical Model**: `(sin(ωₓt+δ), sin(ωᵧt), sin(ω_z t+γ))` (LaTeX: `$\mathbf{r}(t) = \big(\sin(\omega_x t + \delta),\,\sin(\omega_y t),\,\sin(\omega_z t + \gamma)\big)$`)
- **Summary**: Trace a Lissajous curve from three oscillations. Change the X, Y, and Z frequencies to reshape its loops, then drag to inspect the curve from another angle.
- **Lifecycle**: WebGL component with paused, style and className props and a ref for reset() and capturePNG().
- **Interactive Uniform / Simulation Props**:
- `freqX` (`number`, default `3`, range `1..9`, step `1`): X frequency
- `freqY` (`number`, default `4`, range `1..9`, step `1`): Y frequency
- `freqZ` (`number`, default `5`, range `1..9`, step `1`): Z frequency
- `phaseX` (`number`, default `1.57`, range `0..6.28`, step `0.01`): X phase δ (rad)
- `phaseZ` (`number`, default `0.79`, range `0..6.28`, step `0.01`): Z phase γ (rad)
```tsx
import { LissajousCurve } from "@math-visuals/kit";
export function Example() {
return (
);
}
```
---
## 9. Möbius Strip — ``
- **Demo**: https://mathvisuals.v2space.net/visuals/mobius-strip
- **ID**: `fractal-warp`
- **Category**: `geometry` (Topology)
- **Source access**: Solo or Team license
- **Mathematical Model**: `(u + 2π, v) ∼ (u, −v)` (LaTeX: `$(u+2\pi,v)\sim(u,-v)$`)
- **Summary**: Explore a one-sided metal ribbon with a polished edge, fine engraving, and an open-filament variation.
- **Lifecycle**: WebGL component with paused, style and className props and a ref for reset() and capturePNG().
- **Interactive Uniform / Simulation Props**:
- `palette` (`"porcelain" | "patina" | "iris" | "copper"`, default `"porcelain"`): Palette
- `construction` (`"ribbon" | "filaments"`, default `"ribbon"`): Construction
- `halfTwists` (`number`, default `1`, range `1..5`, step `2`): Half twists
- `strandCount` (`number`, default `19`, range `5..31`, step `2`): Longitudinal lines
- `widthScale` (`number`, default `1.15`, range `0.65..1.4`, step `0.05`): Ribbon width
- `waveHeight` (`number`, default `0.25`, range `0..1`, step `0.05`): Wave height
- `warpStrength` (`number`, default `0.65`, range `0..2`, step `0.05`): Twist Depth
- `intensity` (`number`, default `1.1`, range `0.5..2.2`, step `0.05`): Intensity
```tsx
import { MobiusStrip } from "@math-visuals/kit";
export function Example() {
return (
);
}
```
---
## 10. Calabi-Yau Manifold — ``
- **Demo**: https://mathvisuals.v2space.net/visuals/calabi-yau
- **ID**: `calabi-yau`
- **Category**: `geometry` (3D Pure Three)
- **Source access**: Solo or Team license
- **Mathematical Model**: `z₁ⁿ + z₂ⁿ = 1` (LaTeX: `$z_1^n + z_2^n = 1,\quad z_1, z_2 \in \mathbb{C}$`)
- **Summary**: A 3D projection of a complex curve, built from the cosh and sinh parametrization of z₁ⁿ + z₂ⁿ = 1.
- **Lifecycle**: WebGL component with paused, style and className props and a ref for reset() and capturePNG().
- **Interactive Uniform / Simulation Props**:
- `n` (`number`, default `3`, range `2..8`, step `1`): Power (n)
- `alpha` (`number`, default `0.4`, range `0..3.14`, step `0.05`): Projection α
- `wireframe` (`boolean`, default `true`): Wireframe
- `rotationSpeed` (`number`, default `1`, range `0..2.5`, step `0.1`): Rotation
```tsx
import { CalabiYauManifold } from "@math-visuals/kit";
export function Example() {
return (
);
}
```
---
## 11. Clifford Strange Attractor — ``
- **Demo**: https://mathvisuals.v2space.net/visuals/clifford-attractor
- **ID**: `clifford-attractor`
- **Category**: `dynamics` (Particle field)
- **Source access**: Solo or Team license
- **Mathematical Model**: `xₙ₊₁ = sin(ayₙ) + c·cos(axₙ), yₙ₊₁ = sin(bxₙ) + d·cos(byₙ)` (LaTeX: `$x_{n+1} = \sin(a y_n) + c\cos(a x_n)$`)
- **Summary**: Explore the folds and filaments of the Clifford strange attractor by tuning all four coefficients of its two-dimensional map.
- **Lifecycle**: WebGL component with paused, style and className props and a ref for reset() and capturePNG().
- **Interactive Uniform / Simulation Props**:
- `a` (`number`, default `-1.4`, range `-3..-1`, step `0.01`): X frequency (a)
- `b` (`number`, default `1.6`, range `1..3`, step `0.01`): Y frequency (b)
- `c` (`number`, default `1`, range `-2..2`, step `0.01`): X cosine weight (c)
- `d` (`number`, default `0.7`, range `-2..2`, step `0.01`): Y cosine weight (d)
- `grainSize` (`number`, default `1.3`, range `0.9..2.1`, step `0.1`): Grain size (px)
- `flowSpeed` (`number`, default `1`, range `0..2`, step `0.1`): Flow speed
```tsx
import { CliffordAttractor } from "@math-visuals/kit";
export function Example() {
return (
);
}
```
---
## 12. Lorenz Attractor Visualization — ``
- **Demo**: https://mathvisuals.v2space.net/visuals/lorenz-attractor
- **ID**: `strange-attractor`
- **Category**: `dynamics` (3D Pure Three)
- **Source access**: Solo or Team license
- **Mathematical Model**: `ẋ=σ(y−x), ẏ=x(ρ−z)−y, ż=xy−βz` (LaTeX: `$\dot{x} = \sigma(y - x),\;\dot{y} = x(\rho - z) - y,\;\dot{z} = xy - \beta z$`)
- **Summary**: Follow a bundle of trajectories through the Lorenz attractor. Adjust rho to explore how the orbits move between the two lobes, or pause and rotate the view.
- **Lifecycle**: WebGL component with paused, style and className props and a ref for reset() and capturePNG().
- **Interactive Uniform / Simulation Props**:
- `sigma` (`number`, default `10`, range `4..20`, step `0.5`): σ (Prandtl)
- `rho` (`number`, default `28`, range `12..45`, step `0.5`): ρ (Rayleigh)
- `beta` (`number`, default `2.67`, range `1..5`, step `0.1`): β (Aspect)
```tsx
import { StrangeAttractor } from "@math-visuals/kit";
export function Example() {
return (
);
}
```
---
## 13. Parametric Three-Body Studio — ``
- **Demo**: https://mathvisuals.v2space.net/visuals/three-body
- **ID**: `three-body`
- **Category**: `dynamics` (RK4 Solver)
- **Source access**: Solo or Team license
- **Mathematical Model**: `r̈ᵢ = Σⱼ≠ᵢ G mⱼ (rⱼ−rᵢ) / (|rⱼ−rᵢ|² + ε²)³ᐟ²` (LaTeX: `$\ddot{\mathbf r}_i = G\sum_{j\ne i} m_j\,\frac{\mathbf r_j-\mathbf r_i}{(\lVert\mathbf r_j-\mathbf r_i\rVert^2+\varepsilon^2)^{3/2}}$`)
- **Summary**: Explore three-body gravity in React. Replay a figure-eight orbit, a tight binary with a distant companion, or a close encounter between three bodies.
- **Lifecycle**: Canvas 2D with paused, an optional time slider (showTimeline), and a ref for reset() and capturePNG(). Set orbit to figure-eight, binary, or encounter.
- **Interactive Uniform / Simulation Props**:
- `massSkew` (`number`, default `0`, range `-0.7..0.7`, step `0.05`): Mass balance
- `launchSpeed` (`number`, default `1`, range `0.6..1.4`, step `0.01`): Launch speed (×)
- `twist` (`number`, default `0`, range `-40..40`, step `1`): Launch angle (°)
- `trailLength` (`number`, default `3.8`, range `0.6..6`, step `0.1`): Trail duration
- `playbackSpeed` (`number`, default `1`, range `0.25..2`, step `0.25`): Playback speed (×)
```tsx
import { ThreeBodyStudio } from "@math-visuals/kit";
export function Example() {
return (
);
}
```
---
## 14. Kaleidoscope Shader — ``
- **Demo**: https://mathvisuals.v2space.net/visuals/kaleidoscope-sphere
- **ID**: `kaleidoscope-sphere`
- **Category**: `shaders` (Hero BG)
- **Source access**: Solo or Team license
- **Mathematical Model**: `θ' = |mod(θ, 2π/k) − π/k|` (LaTeX: `$\theta' = \left|\operatorname{mod}\!\left(\theta,\,\tfrac{2\pi}{k}\right) - \tfrac{\pi}{k}\right|$`)
- **Summary**: Set the mirror count and distortion of a kaleidoscope shader to create a moving radial pattern for your site.
- **Lifecycle**: WebGL component with paused, style and className props and a ref for reset() and capturePNG().
- **Interactive Uniform / Simulation Props**:
- `mirrors` (`number`, default `8`, range `2..24`, step `1`): Mirror Sectors
- `distortionStrength` (`number`, default `0.35`, range `0..1`, step `0.02`): Distortion
- `noiseStrength` (`number`, default `0.08`, range `0..0.3`, step `0.01`): Grain
```tsx
import { KaleidoscopeSphere } from "@math-visuals/kit";
export function Example() {
return (
);
}
```
---
## 15. Raymarching Fractal Shader — ``
- **Demo**: https://mathvisuals.v2space.net/visuals/raymarched-fractal
- **ID**: `raymarched-fractal`
- **Category**: `shaders` (Hero BG)
- **Source access**: Solo or Team license
- **Mathematical Model**: `d = max(sin(‖sin(p+t)‖²/s), ‖p‖−4)` (LaTeX: `$d(\mathbf{p}) = \max\!\left(\sin\!\left(\tfrac{\|\sin(\mathbf{p}+t)\|^2}{s}\right),\,\|\mathbf{p}\| - 4\right)$`)
- **Summary**: Explore a GLSL fractal shader that raymarches through a repeating 3D field. Tune the scale, color mix, and animation speed.
- **Lifecycle**: WebGL component with paused, style and className props and a ref for reset() and capturePNG().
- **Interactive Uniform / Simulation Props**:
- `innerScale` (`number`, default `0.45`, range `0.1..1.5`, step `0.05`): Inner Scale
- `colorMix` (`number`, default `0.75`, range `0..1`, step `0.05`): Chroma Mix
- `speed` (`number`, default `1`, range `0..2`, step `0.1`): Speed
```tsx
import { RaymarchedFractal } from "@math-visuals/kit";
export function Example() {
return (
);
}
```
---
# Pricing & Commercial Licensing
### Solo License — $49 USD one-time
For individual engineers, creative technologists, and client portfolios.
### Team License — $129 USD one-time
For startups, design-engineering teams, and commercial SaaS products.
[Current license details and checkout availability](https://mathvisuals.v2space.net/#pricing)
---
# Frequently Asked Questions
### Q: What do I get with the source kit?
Both plans include all 15 React components, the TypeScript implementation, and the inline GLSL used by the shader effects. The examples show how to embed each visual and change its parameters.
### Q: Can I try the components before purchasing?
Yes. Every component has a public interactive demo. To use the editable components in your own project, redeem a Solo or Team license key and download the kit.
### Q: Which dependencies do I need?
Use the source package in a React 18 or 19 project with Three.js and TypeScript support. Shader code ships inside the modules. Chladni Loader and Lissajous Curve use Canvas 2D.