Skip to content

A 3D dice simulator built on Three.js, utilizing Cannon.js as the physics engine, allowing users to control the number of the dices.

Notifications You must be signed in to change notification settings

Fmd0/DiceRollerSimulator-ThreeJS

Repository files navigation

DiceRollerSimulator-ThreeJS

screenshot

A 3D dice simulator built on Three.js, utilizing Cannon.js as the physics engine, allowing users to control the number of the dices.

Now you can find a live version at here.

Features

  • Built with Vite and Three.js: Ensures fast development and smooth performance for an immersive experience.
  • Cannon.js Physics Engine: Provides realistic scene simulations for accurate dice interactions.
  • Advanced Lighting and Shadow System: Creates beautifully rendered scenes with dynamic lighting effects.
  • Variable Dice Quantity: Allows users to customize the number of dice, catering to diverse gameplay needs.
  • Randomized Initial Dice Positioning: Enhances realism by randomizing starting positions, resulting in more authentic outcomes.

Clone the repository

git clone https://github.com/Fmd0/DiceRollerSimulator-ThreeJS.git

Install packages

npm i

Start the app

npm run dev

About

A 3D dice simulator built on Three.js, utilizing Cannon.js as the physics engine, allowing users to control the number of the dices.

Resources

Stars

Watchers

Forks