PHYSICS LAB
Explore interactive 3D simulations of fundamental physics. From chaotic attractors to quantum probability clouds. Adjust variables in real-time and watch the universe respond.
Lorenz Attractor
3D butterfly orbits through phase space. Adjust σ, ρ, β to trigger chaos onset.
Double Pendulum
Chaotic motion paints rainbow trails. Run 1–5 pendulums and watch them diverge.
Reaction-Diffusion
Turing patterns: spots morph into stripes. 6 presets, 6 color themes, paint mode.
Bifurcation Map
Zoom into the Feigenbaum cascade. Watch period-doubling route to chaos.
Projectile Motion
Angle, velocity, gravity, air drag. Planet gravity presets: Moon, Mars, Earth, Jupiter.
Spring-Mass SHM
Phase space portrait, energy graph, underdamped / critical / overdamped detection.
N-Body Gravity
Galaxy collision, figure-8, solar system presets. Leapfrog integration.
Coupled Oscillators
Normal modes, beat patterns, phase space portrait. In-phase vs out-of-phase presets.
Orbital Mechanics
Kepler's laws, swept area demo, Hohmann transfer, binary star, solar system.
Lissajous Figures
Rainbow gradient curves. 9 preset thumbnails, 3D isometric mode, projection panels.
Collision Simulator
Elastic/inelastic, 1D/2D billiard, momentum & KE bar charts, Web Audio click.
Brachistochrone Curve
Fastest descent curve race: Cycloid vs. Straight line, Circle, and Parabola.
Gyroscope Precession
Spinning flywheel precession and nutation with vector overlays and mass badges.
Three-Body Problem
Gravitational chaos and Figure-8 orbit with RK4 integration and mass badges.
Rutherford Scattering
Alpha particle Coulomb repulsion off gold nucleus, impact parameter b, and scattering angle.
Gravitational Lensing
Schwarzschild Black Hole ray tracer, photon sphere orbit at 1.5 r_s, and deflection angle.
Michelson-Morley
Ether drift hypothesis test, perpendicular laser arms, and interference fringe shifts.
Kater's Pendulum
Precision local gravity g measurement via period matching T₁ = T₂ on reversible knife-edge pivots.
Quantum Harmonic Oscillator
Hermite-Gaussian eigenstates ψ_n(x), energy level ladder E_n = ℏω(n + 1/2), and coherent states.
Mach-Zehnder
Single-photon quantum optics, phase shift φ, and P1/P2 detector probabilities.
Poincaré Section
Driven damped pendulum phase space sampling once per period revealing fractal strange attractors.
Hall Effect
Semiconductor charge carrier drift under B-field creating Hall voltage VH = IB/nqt.
Cavity Resonator
Rectangular metallic cavity TE_mn & TM_mn electromagnetic standing modes.
Acoustic Levitation
Ultrasonic 40 kHz standing wave Gor'kov radiation force trapping beads at pressure nodes.
Davisson-Germer
de Broglie electron matter wave diffraction off nickel crystal lattice & 54V scattering peak.
Meissner Effect
Superconducting magnetic flux expulsion B = 0 below Tc and quantum flux pinning levitation.
Stern-Gerlach
Quantum electron spin quantization Sz = ±ℏ/2 beam splitting in inhomogeneous B-field.
Mass Spectrometer
Isotope separation by m/q ratio via velocity selector E/B1 and deflection radius r = mv/qB2.
Fabry-Pérot
Optical cavity resonator, finesse F = π√R/(1-R), and sharp Airy transmission peaks.
Cherenkov Radiation
Relativistic v > c/n particle emitting blue optical shockwave cone cos θ = 1/(βn) in water.
Dirac Monopole
Isolated magnetic charge qm, vector potential Dirac string tube, and charge quantization qe qm = 2πℏn.
Mössbauer Effect
Recoil-free Fe-57 gamma resonance in solid lattice and Doppler velocity vD hyperfine scanning.
Quantum Hall Effect
Quantized Hall resistance Rxy = h/(νe²) = RK/ν and topological skipping orbit edge states.
Brillouin Zones
Reciprocal k-space lattice vectors, Bragg reflection bisector planes, and Wigner-Seitz cell.
Aharonov-Bohm
Quantum vector potential phase shift Δφ = eΦ/ℏ around shielded magnetic solenoid B = 0.
Magnetic Reconnection
Solar flare energy release, X-line B-field snapping, and Alfvénic outflow jets vA = B/√(μ₀ρ).
Superfluid Fountain
Liquid Helium-4 two-fluid model below Tλ = 2.17 K & thermomechanical fountain pressure ΔP = ρSΔT.
Kerr Ergosphere
Rotating black hole Penrose process energy extraction Eout > Ein from frame-dragging ergosphere.
Quantum Dot
3D quantum confinement Brus bandgap shift Eg(R) and size-dependent QLED photoluminescence color.
Josephson Junction
Cooper pair tunneling I = Ic sin φ, AC oscillations fJ = 2eV/h, and SQUID magnetometry.
Casimir Effect
Quantum vacuum zero-point energy attraction F/A = ℏcπ²/(240d⁴) between gold plates.
HBT Effect
Photon statistics & second-order coherence g²(τ), thermal bunching vs quantum antibunching.
Kelvin-Helmholtz
Fluid shear velocity differences U1 vs U2 generating spiral vortex billows for Ri < 0.25.
Rayleigh-Taylor
Heavy fluid above light fluid under gravity creating Atwood A mushroom finger plumes.
Chladni Patterns
Acoustic resonance figures. Sand particles drift to nodal lines with audio synthesis.
Fourier Series
Rotating epicycles build square, triangle, sawtooth — or draw your own waveform.
Ripple Tank
Up to 6 draggable sources, 3 color modes. Shows constructive/destructive bands.
Double Slit Diffraction
N-slit generalization, wavelength color tinting, Huygens wavefront animation.
Standing Waves
Color-breathing nodes/antinodes, traveling wave decomposition, 2D membrane modes.
Doppler Effect
Mach cone, sonic boom, compressed/stretched wavefronts. Web Audio pitch-shift.
Electric Field Lines
Drag charges around canvas. Field lines, equipotentials, and heatmap redraw instantly.
Magnetic Field
Biot-Savart: wire, solenoid, Helmholtz coil. Vector arrows, field lines, heatmap.
EM Wave
3D isometric E & B fields, circular polarization, EM spectrum bar.
Cyclotron Motion
Pure B field, E×B drift, cyclotron accelerator, magnetic bottle — 4 scenarios.
RC/LC Circuit
Animated schematic, RC/RL/LC/RLC modes, resonance curve, phasor diagram.
Ideal Gas
200–500 bouncing particles, draggable piston, live pressure gauge, PV=nRT graphs.
Maxwell-Boltzmann
Multi-gas, multi-temperature overlay. Animated distribution with v_p, ⟨v⟩, v_rms.
Heat Diffusion
Paint hot/cold on canvas while it runs. 4 color themes, 3 boundary conditions.
Particle in a Box
Superposition of 4 states, animated time evolution, 2D box mode.
Quantum Tunneling
Wave packet through barrier, T% vs E curve, double-barrier resonance.
Photoelectric Effect
5 metals, KE vs frequency graph reveals Planck's constant. Electron ejection animation.
Snell's Law
TIR flash, prism dispersion, beam mode. Drag the ray or use the slider.
Thin Lens
3 principal rays, draggable object, real/virtual image detection, mirror mode.
Time Dilation
Twin clocks, ruler contraction, Minkowski diagram. γ gauge with real-world examples.
Spacetime Diagram
Minkowski diagram, Lorentz transformation, twin paradox, click to place events.
Gravitational Waves
Binary inspiral, test mass ring distortion, LIGO schematic, chirp signal plot.
Hydrogen Orbitals
2D cross-section heatmaps for all orbitals up to n=4. Energy level diagram, 3 color schemes.
Uncertainty Principle
Gaussian wave packet, dual x-space / k-space panels, slit diffraction analogy.
Bohr Model
Animated electron transitions, emission spectrum lines, 5 elements, spectral series.
Nuclear Decay
Probabilistic atom grid, 8 real isotopes, C-14 dating mode, decay chain visualization.
Compton Scattering
Photon-electron relativistic scattering, wavelength shift, and recoil momentum.
Blackbody Radiation
Planck curve colored by actual wavelength, UV catastrophe, star types M→O.
Pendulum Wave
15 rainbow pendulums, glowing trails, wave/diagonal/sync patterns over one cycle.
Fluid Dynamics
Stable Fluids (Navier-Stokes). Smoke/fire/ocean modes. Mouse-stir the fluid.
Bernoulli Effect
Venturi pipe, airfoil lift, Torricelli jet, spinning ball Magnus effect.
EM Induction
Faraday's law: magnet/coil, generator, changing B, moving rod. Live EMF & flux graphs.
Polarization
Malus's law, 4-polarizer cascade, wave plates, animated E-field oscillation.
Game of Life
Age-colored cells, 20+ patterns, Gosper glider gun, 6 CA rulesets, custom B/S.
Fractals
Chaos game (Barnsley fern), Mandelbrot zoom, Julia morph, Newton fractal.
Core Algorithm & Standalone Script
Standalone, zero-dependency JavaScript implementation powering this tool. Free to inspect, copy, and build upon.
// Filter functionality
const filterBtns = document.querySelectorAll('.filter-btn');
const simCards = document.querySelectorAll('.sim-card');
filterBtns.forEach(btn => {
btn.addEventListener('click', () => {
// Remove active state from all buttons
filterBtns.forEach(b => b.classList.remove('active'));
// Add active state to clicked button
btn.classList.add('active');
const filter = btn.getAttribute('data-filter');
simCards.forEach(card => {
const category = card.getAttribute('data-category');
if (filter === 'all' || category === filter) {
card.classList.remove('hidden');
} else {
card.classList.add('hidden');
}
});
});
});
// Update simulation count based on active cards
function updateCount() {
const visibleCards = document.querySelectorAll('.sim-card:not(.hidden)').length;
document.getElementById('sim-total').textContent = visibleCards;
}
// Initialize count
updateCount();
// Recount when filter changes
filterBtns.forEach(btn => {
btn.addEventListener('click', updateCount);
});