ended8월 13일· 1 sources

Why a tumbling dice animation has to know the result before it ever starts spinning

Why it matters

A while back I set out to build a simple "roll N dice" page — pick a quantity, hit a button, get a total. The random-number part is trivial, one line: Math.floor(Math.random() * 6) + 1 in a loop. What...

1
Sources
+0
24h
Growth
5d
Active

Sources

Related Issues