Home▸Materials Science▸Colloidal Suspension & Soft Matter Simulator (2D)

Colloidal Suspension & Soft Matter Simulator (2D)

2D Brownian-dynamics colloid cell: tune particle concentration, attraction strength, temperature and shear rate to watch particles stay dispersed, cluster, or gel — with a live cluster count, Péclet number and phase readout.

Materials Science2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-colloidal-suspension-soft-matter-simulator ↗ Open standalone

This 2D companion runs the same Brownian-dynamics colloid model as the 3D version on a flat canvas: particles undergo random thermal jitter scaled by temperature, feel short-range excluded-volume repulsion and tunable attraction toward nearby neighbours via a spatial hash, and are dragged sideways by an imposed shear flow. A union-find pass over the live particle positions counts clusters and their average size each frame, and a Péclet number derived from shear rate and an estimated diffusion coefficient classifies the system as a dispersed fluid, a clustered suspension, or a gel.

⚙ Under the hood

2D Brownian-dynamics colloid cell with spatial-hash neighbour search, attraction/repulsion forces, shear flow, and union-find cluster detection driving a live Péclet number and phase readout.

colloidssoft matterbrownian motiongelationpeclet numberphase behaviour

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

What did you find?

Add reproduction steps (optional)