Simple in-browser 3D dice roller.
These are the issues with the current version, but I'm not planning on fixing them. They seem minor enough to not cause significant issues.
- D2s should really be coins, but the phsyics engine struggles hard with thin flat objects, so I use D4s instead.
- Dice sometimes land cocked, and a value is chosen based on what is most upright. In reality a cocked dice needs to be re-thrown, but I don't think this system should be responsible for that.
Code licensed under MIT (vibecoded via JetBrains Junie).
I'm pretty staunchly anti-vibecoding, but I decided to try it on something small and fun, so I would at least have experience with it.
Libraries:
Icons:
Audio samples: