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

05Two Dice Whose Sum Stacks into Bars

Rolls two dice from opposite sides, adds their top faces, and stacks one more count onto the 2-to-12 bars already built from 24 hidden rolls, so a distribution tall in the middle keeps growing.

Best forProbability explainer

PRELOAD_ROLLSthrowBothcountsbarHrunUntilHold
Two Dice Whose Sum Stacks into Bars
Open in a new tab

05 Two Dice Whose Sum Stacks into Bars — Measured area 20.543% · moving frames 20/23Original by GODRICH · SCSS and React ship in the zip · Dice Roll Animation: 9 Scenes with Top-Face Math

The post this demo lives in

Dice Roll Animation: 9 Scenes with Top-Face Math - preview of all 9 demosDice Roll Animation: 9 Scenes with Top-Face MathThrow, bounce, settle — one roll is just three verbs, and scene 03 reads the top-face number out of the last one by calc See all demos in this post

If you like this effect - similar demos