🌌 2D Dark Matter Cosmic Web: Particle-Mesh N-Body, FFT Poisson Solver, Leapfrog and Linear Growth
Two-dimensional particle-mesh N-body slice of the cosmic web (16,384 particles, FFT Poisson solver, leapfrog in the scale factor) with Omega_m, clumpiness and spectral-index controls, a density map, galaxy sprites rendered in Blender and live comparison with the linear growth factor and power spectrum.
⚙ Under the hood
Two-dimensional particle-mesh N-body slice of the cosmic web (16,384 particles, FFT Poisson solver, leapfrog in the scale factor) with Omega_m, clumpiness and spectral-index controls, a density map, galaxy sprites rendered in Blender and live comparison with the linear growth factor and power spectrum.
Dark MatterCosmic WebN-Body SimulationParticle-MeshFFT Poisson SolverLeapfrog IntegratorLinear Growth FactorPower SpectrumZeldovich Approximation
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install