Skip to content

About

3D Audio-Visual Mathematical Simulator (Riemann Zeta, Euler Identity Taylor Series, 50K GPU Lorenz Attractor) built with React, TypeScript, Three.js, KaTeX & Web Audio API

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Mathematical Cosmos — 3D Audio-Visual Simulator

An interactive 3D WebGL (Three.js ShaderMaterial, BufferGeometry, UnrealBloomPass & GPU FBO Ping-Pong) and Web Audio API generative sound studio visualizing 19 timeless mathematical & physics worlds at 60fps+ — with instant English / 한국어 switching (EN / 한, shortcut L), 4 color themes, Creator Suite (HD PNG / 60fps WebM / Share URL / Auto-Tour / Cinema Mode), and Mic VJ FFT reactive audio.

Mathematical Cosmos Demo Showcase


Animated Previews (GIFs)

Schwarzschild Black Hole Lensing Lorenz Attractor (50K GPU) Fourier Epicycles Chladni Resonance (36K) Double Pendulum Swarm (48×)
Black Hole Lensing Lorenz 50K Fourier Epicycles Chladni Resonance Double Pendulum Chaos

19 Interactive Mathematical & Physics Worlds

1. Riemann Zeta $\zeta(\tfrac{1}{2}+it)$ (1) 2. Euler Identity Taylor Series $e^{ix}$ (2)
Riemann Zeta Euler Taylor
Non-trivial zero crossings trigger triple neon ripples & chords $90^\circ$ rotating vectors spiraling onto $(-1, 0)$
3. Lorenz Attractor · 50K GPU (3) 4. Fourier Epicycles · DFT (4)
Lorenz Attractor Fourier Epicycles
50,000 velocity-colored particles with live $\sigma, \rho, \beta$ Pure rotating circles synthesizing hearts, stars & square waves
5. Golden Angle Phyllotaxis · $137.508^\circ$ (5) 6. Julia & Mandelbrot GPU Fractal (6)
Golden Phyllotaxis Julia Fractal
12,000 Fibonacci dome seeds & divergence phase transitions Real-time GLSL fragment shader with pan, zoom & live $c$ morph
7. 4D Hopf Fibration · $S^3 \to S^2$ (7) 8. Chladni Acoustic Standing Waves · 36K (8)
Hopf Fibration Chladni Resonance
Stereographic 4D Villarceau tori & Clifford rotation 36,000 luminous particles crystallizing onto nodal mandalas
9. Figure-8 Klein Bottle · 20K (9) 10. 3D Lissajous Harmonic Knots (0)
Klein Bottle 3D Lissajous Knots
Non-orientable surface morphing smoothly from Torus to Klein Bottle Coupled $(a:b:c)$ sine oscillators weaving 3D neon knots
11. Gielis 3D Superformula · 20K (-) 12. Double Pendulum Chaos Swarm · 48× (=)
3D Superformula Double Pendulum
Unified natural-forms equation morphing starfish, lotus & crystals 48 RK4 pendulums diverging via the Butterfly Effect
13. Quantum Hydrogen Atom Orbitals · 32K (Q) 14. Gray-Scott Turing Patterns · GPU FBO (W)
Quantum Hydrogen Orbitals Turing Reaction-Diffusion
32,000 MCMC samples of $\vert\psi_{n,\ell,m}\vert^2$ electron probability clouds 512×512 ping-pong GPU reaction-diffusion with interactive mouse paint brush
15. Three-Body Gravitational Chaos (E) 16. Schwarzschild Black Hole Lensing (B)
Three-Body Chaos Black Hole Lensing
Symplectic Velocity-Verlet integrator (Figure-8, Butterfly, Lagrange, Slingshot) Real-time GLSL geodesic raymarching with Doppler accretion disk & Einstein ring
18. Poincaré Disk · Hyperbolic ${p,q}$ Tiling (P) 19. Poincaré Section · Hénon–Heiles (O)
Poincaré Disk Hyperbolic Tiling Poincaré Section Hénon–Heiles
GPU reflection-group folding of $ds^2 = \frac{4,\lvert dz\rvert^2}{(1-\lvert z\rvert^2)^2}$ with live Möbius isometries, disk ↔ upper half-plane, and an expanding circle whose length grows like $2\pi\sinh\rho$ 4th-order Yoshida symplectic orbits pierce $\Sigma = {x=0,\ p_x>0}$, painting KAM islands that dissolve into chaos as $E \to \tfrac{1}{6}$
17. Custom 3D Parametric Formula Lab (C)
Custom 3D Formula Sandbox
Zero-eval recursive-descent parser for live custom x(t), y(t), z(t) neon curves & particles

Visual, Audio & Creator Features

  • Semantic Equation Colouring: every KaTeX formula marks its roles — the live variable you watch move, the tunable parameter, and the invariant / result — in three theme-aware hues with a small legend, so a symbol can be traced to what it does on screen

  • Typeset In-Scene Labels: a tiny TeX-flavoured canvas typesetter sets HUD labels in the KaTeX fonts with real superscripts, subscripts and math italics (e.g. $e^{i\pi} = -1$, $\zeta(\tfrac12 + 14.135i) = 0$, $p_y$) instead of raw e^{iπ} source text

  • Cinema Mode Equation Plaques: in Cinema / Auto-Tour exhibition mode each world's governing equation appears large and centred like a museum caption, then dissolves; the formula card also resolves in from a soft blur when worlds change (both respect prefers-reduced-motion)

  • 4 Real-Time Color Themes: Cyber Neon · Solar Gold · Aurora Emerald · Arctic Ice (live GLSL uTheme uniform)

  • HDR Unreal Bloom Postprocessing: Real-time EffectComposer + UnrealBloomPass intensity slider

  • Creator & Presentation Toolbar:

    • HD PNG Snapshot: One-click HUD-free high-res render download
    • 60fps WebM Video Recorder: In-browser MediaRecorder capture (canvas.captureStream(60))
    • Shareable URL Presets: Encodes current formula, theme, bloom, and parameters into a copyable URL
    • Auto-Tour & Cinema Mode (H / Esc): Fullscreen exhibition mode hiding all HUD with automatic 14-second world cycling
  • Generative Web Audio + Mic VJ:

    • 3 polyphonic timbres (Piano Bell, Crystal Harp, Space Pad) constrained to Lydian or Pentatonic scales with 3.4s stereo hall reverb
    • Live Low-Pass Filter (LPF) cutoff & reverb wet modulated by trajectory curvature and speed
    • Mic / Audio-In VJ Mode: Real-time FFT bass/mid/treble energy pulsing particle shaders & HDR Bloom
  • Keyboard Shortcuts: 1–9, 0, -, =, Q, W, E, B, P, O, C (switch worlds) · Space (play/pause) · R (reset camera) · M (sound) · L (EN/한) · H / Esc (Cinema Mode)


Physical Kinetic Art Hardware Spec

Want to bring the Golden Angle ($137.5^\circ$) Phyllotaxis into the physical world? See our complete 3D-printing & microcontroller engineering guide:


Run Locally & Deploy on Vercel

npm install
npm run dev

Push to GitHub and import into Vercel — vercel.json configures Vite production builds automatically.

About

3D Audio-Visual Mathematical Simulator (Riemann Zeta, Euler Identity Taylor Series, 50K GPU Lorenz Attractor) built with React, TypeScript, Three.js, KaTeX & Web Audio API

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages