Field parameters
Boundary
Quantum (wave packet)
Scenarios
Camera
View
Playback
Quality
Model checks
The science
What is simulated
A real scalar field φ(x, y, t) on a 96 × 96 lattice (spacing a = 1, units c = ℏ = 1) obeying the classical Klein–Gordon equation with an optional quartic self-interaction: ∂t²φ = ∇²φ − m²φ − λφ³ − γ∂tφ. The potential is V = m²φ²/2 + λφ&sup4;/4 and the energy is E = ∑ [π²/2 + |∇φ|²/2 + V]. Time stepping is the symplectic leapfrog scheme with Δt = 0.3 (stable for Δt < a/√2).
What it shows
For λ = 0 the waves are independent: a packet has the relativistic dispersion ω² = m² + k² (the lattice version is (2/Δt) sin(ωΔt/2) = √(m² + 4 sin²(k/2))), a group velocity vg = k/ω < 1, and the mass m is the gap below which no wave propagates. Switching on λ makes packets scatter and exchange energy. For m² < 0 and λ > 0 the potential has two minima at φ = ±v, v = √(−m²/λ): the φ = 0 state is unstable and the field falls into domains of ±v (spontaneous symmetry breaking in its simplest classical form); the damping γ lets it settle.
Independent numerical checks
(1) A separate 1D chain, with its own arrays and loops, is started as a standing wave and its oscillation frequency is measured and compared with the exact lattice dispersion formula. (2) The live 2D engine is run in a periodic box without damping and its leapfrog energy must stay constant to a fraction of a percent. (3) A separate 1D Gaussian packet is evolved and its energy centroid speed is compared with the analytic group velocity dω/dk. Check 3 and the dispersion plot use m² ≥ 0.
Honest simplifications
This is a classical field theory. The “quanta” are wave packets that stand in for particles; the simulation contains no ℏ-dependent quantum fluctuations, no particle creation, no renormalisation and no second quantisation, so it is not a simulation of quantum electrodynamics or the Standard Model. Real quantum field theory starts from this classical equation, promotes φ to an operator and adds vacuum fluctuations. The lattice (a = 1, finite size) distorts waves with short wavelengths (k near π): that is why the lattice dispersion curve bends away from the continuum one. The absorbing sponge is a damping layer and does not conserve energy; the energy check uses the periodic box. The 3D surface height is just φ times a display scale.
Double-click on the surface to launch a packet there.