UNPKG

cannondice

Version:

3D-rendered dice for modern browsers with Cannon.js physics. Based on Teal's excellent 3D dice javascript component

11 lines (10 loc) 290 B
export interface DiceOptions { canvas?: HTMLCanvasElement; loadingElement?: HTMLElement; label?: HTMLElement; set?: HTMLInputElement; selectorDiv?: HTMLDivElement; infoDiv?: HTMLDivElement; clearElement?: HTMLElement; throwElement?: HTMLElement; }