<cube-player> optional attributes

Add this line to your HTML document to use <cube-player>:


As of today's date only 1 occurence of <cube-player> is supported.

attribute value options
scramble scramble
solution solution
time time in ms
tps turns per second, will be overwritten by time if it is not set to empty
cubestyle solid | stickerless | hollow
logo url to image file
colors 6 hex colors separated by , in order U L F R B D
customcolors stickerbased colors, in order U L F R B D, then left to right on upper row, second row, bottom row for each face. WOGRBY for regular colors, 0-2 for custom colors (default is black and two shades of gray), then gray for anything else.
plastic hex color
playbutton button | none
smartcube none | giiker
playatinit Plays automatically at initialization. none | yes
triggerplay Plays automatically when attribute is added. none | yes
solvedfunc function name
usecontrols true | false
fov camera fov
rotx camera rotation x
roty camera rotation y