Home▸Fluid Dynamics & Aerodynamics▸Non-Newtonian Fluid Simulator (2D)

Non-Newtonian Fluid Simulator (2D)

Interactive 2D particle-based oobleck simulator: punch a cornstarch suspension and it jams solid, press it slowly and it flows like a liquid. Watch effective viscosity rise with applied shear rate.

Fluid Dynamics & Aerodynamics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-3d-non-newtonian-fluid ↗ Open standalone

This 2D particle simulator recreates oobleck — a cornstarch-and-water suspension — from above: hundreds of individually simulated grains jostle, collide and flow inside a tray. Drag slowly across the surface and the particles part smoothly like a liquid; punch or flick quickly and the local shear rate spikes, the grains lock together by friction, and the mixture briefly resists like a solid before relaxing back to a fluid. The live readout tracks the applied shear rate and the resulting effective viscosity, so you can see the shear-thickening relationship — the same power-law behavior that lets liquid body armor stay soft to wear yet stiffen instantly on impact — build up and fade in real time.

⚙ Under the hood

A 2D particle-based oobleck simulator where hundreds of cornstarch grains flow like a liquid under a slow push but jam solid under a fast impact, with live effective-viscosity and shear-rate readouts.

Non NewtonianShear RateViscosityParticle Simulation

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

What did you find?

Add reproduction steps (optional)