Home▸Everyday Physics▸Sand Castle Erosion (2D)

🏖️ Sand Castle Erosion (2D)

A side-view 2D simulation where a rising and falling tide erodes a sand castle's towers while sand grains wash away.

Everyday Physics2DModerate60 FPS📱 Mobile-adapted💧 Water🌍 Earth⇄ 3D version
Sand Castle Erosion (2D) ↗ Open standalone

This 2D companion drives the same tide-cycle erosion model as the 3D version through a side-view Canvas2D scene: a sinusoidal tide line advances and retreats across the beach, progressively shrinking the castle's towers the closer and longer the water lingers near them, while a real particle system spawns and sweeps sand grains away whenever erosion is active.

⚙ Under the hood

A side-view 2D simulation where a rising and falling tide erodes a sand castle's towers while sand grains wash away.

erosiontidesweatheringparticle system

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

What did you find?

Add reproduction steps (optional)