# Fantastic 3D Dice

**URL:** <https://forum.babylonjs.com/t/fantastic-3d-dice/31182>\
**Category:** Demos and projects\
**Created:** [June 8, 2022, 11:36pm UTC](https://forum.babylonjs.com/t/fantastic-3d-dice/31182 "2022-06-08T23:36:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frankie\_Ali](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/frankie_ali/32/15338_2.png) [@Frankie\_Ali](https://forum.babylonjs.com/u/Frankie_Ali)\
**Post date:** [June 8, 2022, 11:36pm UTC](https://forum.babylonjs.com/t/fantastic-3d-dice/31182/1 "2022-06-08T23:36:07Z")

</div>

I wanted to share with the community a project I’ve been working on for a couple of years now. With the latest release of BabylonJS I thought now would be a good time to bump my project up to a version 1.0 release.

This is a 3D dice rolling module for use with JavaScript apps. It’s been released on NPM and isn’t too hard to get up and running with. Highly configurable physics and very performant. Let me know what you think.

> **[Roll some dice! | Fantastic Dice](https://fantasticdice.games/)**
>
> 3D dice module for JavaScript Apps with TTRPG in mind

Thanks to the BabylonJS community for all the help over the years. I found tons of answers to questions I had among the forums and in the code playground.

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [June 8, 2022, 11:43pm UTC](https://forum.babylonjs.com/t/fantastic-3d-dice/31182/2 "2022-06-08T23:43:57Z")

</div>

This is GREAT!

---

<div class="post-metadata">

**Author:** ![shaderbytes](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/shaderbytes/32/174_2.png) [@shaderbytes](https://forum.babylonjs.com/u/shaderbytes)\
**Post date:** [June 9, 2022, 12:22am UTC](https://forum.babylonjs.com/t/fantastic-3d-dice/31182/3 "2022-06-09T00:22:17Z")

</div>

i rolled 100 d6 on my laptop … ran super smooth. interesting project . well done.

---

<div class="post-metadata">

**Author:** ![mawa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mawa/32/12384_2.png) [@mawa](https://forum.babylonjs.com/u/mawa)\
**Post date:** [June 9, 2022, 9:43am UTC](https://forum.babylonjs.com/t/fantastic-3d-dice/31182/4 "2022-06-09T09:43:32Z")

</div>

Can you add a twist to it so that the casino always wins (undetected)? I believe it would be a requirement to make it a commercial success with this mafia… oops, sry, clients 😉  
Jokes apart, very neat project. I luv it ❤

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [June 10, 2022, 7:03pm UTC](https://forum.babylonjs.com/t/fantastic-3d-dice/31182/5 "2022-06-10T19:03:06Z")

</div>

This is SO COOL! I don’t play DnD, but gosh I have to control myself to not start collecting dice, they’re soooo pretty! I love how customizable everything is 😃 Coincidentally, @PatrickRyan just gave us AMAZING dice that looks a bit like this one 😃

 ![Screenshot_20220610-120040_Firefox](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/2/3/238c8543fb4d5d25204bb7f8141e4708905f70db.jpeg)

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [June 11, 2022, 12:02am UTC](https://forum.babylonjs.com/t/fantastic-3d-dice/31182/6 "2022-06-11T00:02:17Z")

</div>

And this is exactly what I needed yesterday as I was missing a dice 🙂 A shame I did not open the forum before !!!

---

<div class="post-metadata">

**Author:** ![geoidesic](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/geoidesic/32/16947_2.png) [@geoidesic](https://forum.babylonjs.com/u/geoidesic)\
**Post date:** [August 29, 2023, 3:57pm UTC](https://forum.babylonjs.com/t/fantastic-3d-dice/31182/7 "2023-08-29T15:57:01Z")

</div>

Has anyone managed to get this working in a Playground? I tried locally but wasn’t able to import it:

```auto
Error when evaluating SSR module /src/routes/examples/babylon/dice/+page.svelte: failed to import "@3d-dice/dice-ui/src/displayResults"
|- /Users/blah/node_modules/@3d-dice/dice-ui/src/displayResults/index.js:1
export { default } from './displayResults'
^^^^^^

```
