GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

02Slope slide — diagonal rules produce a natural angle of repose

When the cell below is blocked, trying down-left then down-right and moving into whichever is free stops sand stacking in a straight column and spreads it sideways into a realistic angle of repose.

Best forAn hourglass loading indicator, the horn shapes of pouring-paint art

fillRectrequestAnimationFrame
Slope slide — diagonal rules produce a natural angle of repose
Open in a new tab

02 Slope slide — diagonal rules produce a natural angle of repose — Measured area 33.878% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · Falling Sand Simulator, 9 Ways (No Library)

The post this demo lives in

Falling Sand Simulator, 9 Ways (No Library) - preview of all 9 demosFalling Sand Simulator, 9 Ways (No Library)No library, no WebGL — four rules per cell (down, down-left, down-right, sideways) make sand pile up, water flow and fir See all demos in this post

If you like this effect - similar demos