Skip to content

MedAdrian/Three-D-Dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Three D Dice

Sample code to make a dodecahedron roll with Three.js, Cannon.js and a touch of OrbitControls.

How to test

$ npm i monaca
  • (once inside the project folder) On your favorite command window run:
$ monaca preview

Instructions

  • Click to roll.
  • Drag left click to rotate camera.
  • Drag right click to move camera.

Feel free to comment and give any advice on how to improve my code!

This was made based on various examples especially from :

(Some could say this is basically a fork)

About

Sample code to make a dodecahedron roll with Three.js, Cannon.js and a touch of OrbitControls.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published