© Werner Randelshofer
Examples 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 << >>
colorTable= 0xa57cda, 0xf8f8f8, 0xb90a0f,
0xa57cda, 0xf8f8f8, 0xb90a0f,
faces= 0,1,2,1,2,0
0,1,2,1,2,0
Color scheme of Meffert's 3-Color-Cube:purple, white, purple,white, red, red
colorTable= 0xffd200, 0x606060
0xffd200, 0x606060
faces= 0,1,1,1,1,1
0,1,1,1,1,1
One face yellow, all other faces grey.
Demonstrates the colorTable and faces parameters.
colorTable
faces
Tip: You can assign names to the values in the colorTable. See Example 18.
Applet Tag:
<applet code="ch.randelshofer.rubik.RubikPlayerApp.class" archive="rubikplayer.zip" width="264" height="245">
<applet
code="ch.randelshofer.rubik.RubikPlayerApp.class" archive="rubikplayer.zip"
width="264" height="245">
<param name="colorTable" value="0xa57cda,0xf8f8f8,0xb90a0f"><param name="faces" value="0,1,2,1,2,0">
</applet>