Skip to content

MajorVictory/3DDiceRoller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Major's 3D Dice

Uses three.js and cannon.js to simulate actual dice and read their results.
http://threejs.org
http://cannonjs.org

Original code based from Tealyatina's dice roller
http://www.teall.info/2014/01/online-3d-dice-roller.html

Heavily modified, rewritten, and extended to add textures, dice, and color sets.
Try the live version here: http://dnd.majorsplace.com/dice/
Alternate github pages version: https://majorvictory.github.io/3DDiceRoller/
Server code for the online portion can be found here: https://github.com/MajorVictory/3DDiceWebsocket

Star Wars™ RPG font from The Alexandrian
http://thealexandrian.net/wordpress/37660/roleplaying-games/star-wars-force-and-destiny-system-cheat-sheet

Star Wars™ Armada font from err404
https://boardgamegeek.com/filepage/116568/armada-icon-fonts

Star Wars™ X-Wing font from geordanr
https://github.com/geordanr/xwing-miniatures-font

Star Wars™ Legion font from lyerelian
https://github.com/lyerelian/Legion-font

autodice.php contains an example of using the JavaScript PostMessage API from another tab to trigger dice throws.