Home▸Cosmology▸Press-Schechter Dark Matter Halos: Density Field, Threshold and Histogram (2D)

Press-Schechter Dark Matter Halos: Density Field, Threshold and Histogram (2D)

A Gaussian random density map of dark matter with halos marked where the field passes the collapse threshold, and the live histogram of the field against the Gaussian tail that Press-Schechter integrates. The same shared model as the 3D landscape.

Cosmology2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Press-Schechter Dark Matter Halos: Density Field, Threshold and Histogram (2D) ↗ Open standalone

Smooth a Gaussian random density field of dark matter at a chosen scale and let every region above the spherical-collapse threshold delta_c = 1.686 become a halo. Change the spectral index, smoothing radius, amplitude and redshift to see sigma(M), the collapsed mass fraction, the characteristic mass and the Press-Schechter multiplicity function. A Blender-built plinth and glass frame hold the 3D density landscape, with numerical checks of the statistics built in.

⚙ Under the hood

A Gaussian random density map of dark matter with halos marked where the field passes the collapse threshold, and the live histogram of the field against the Gaussian tail that Press-Schechter integrates. The same shared model as the 3D landscape.

Press-SchechterDark MatterHalo Mass FunctionGaussian Random FieldStructure Formation

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)