Cosmic Web Filaments
2D N-body gravity — filaments, voids, and dark matter halos forming from small fluctuations
Controls
Particles:
500
Gravity G:
1.0
Softening ε:
8
Timestep:
0.5
Initial density field
Gaussian fluctuations
Perturbed grid
Random
New Simulation
Pause
Render Mode
Density map
Points
Velocity field
Time:
0.0
Halos formed:
0
Void fraction:
—
Model:
2D particle-mesh N-body with softened gravity. Particles start with small Gaussian density perturbations and initial Hubble-like expansion.
Zeldovich approximation:
particles stream along density gradients → sheets, filaments, nodes (halos), voids — the cosmic web emerges hierarchically.