Home Screenshots Applet Download Manual | ||
The Arcus Applet |
This is the applet version of the Arcus Rubik's Cube Simulator. It features 3D display of a cube which can be rotated and manipulated using the mouse (see the section 2.2.1 Rotation in the manual).
The Arcus Applet requires at least JRE 1.3 to run.
This is a minimal html page embedding the Arcus Applet.
<html> <body> <object codetype="application/java" classid="java:arcusapplet/MainFrame.class" code="arcusapplet/MainFrame.class" archive="arcus-applet.jar" width="486" height="407"> <param name="D" value="#e6e600"> <param name="F" value="#008000"> <param name="R" value="#800000"> <param name="B" value="#000080"> <param name="L" value="#ff8000"> <param name="U" value="#e6e6e6"> <param name="LIGHT" value="0.5"> <param name="SCRAMBLE" value="10"> <param name="ANIMSTEPS" value="15"> <param name="ANIMTIME" value="500"> <p> Arcus Applet could not be loaded. It is likely that either Java is disabled in your browser or you don't have a Java Runtime Environment (JRE). <a href="http://java.com/en/download/">Grab it.</a> </p> </object> </body> </html>
Parameter names must be in uppercase. All parameters are optional.
Name Format Description F|B|R|L|U|D
#rrggbb
Specifies the RGB color of the Front, Back, Right, Left, Up or Down sides. The values must be hexadecimal numbers prefixed by a hashmark. LIGHT
double [0.0-1.0]
The type of light; 0 means sharp, 1 means diffuse. SCRAMBLE
integer [1-100]
Number of steps to scramble the cube. ANIMSTEPS
integer [1-90]
Number of animation steps. ANIMTIME
integer [0-5000]
Time of a quarter turn in ms.
Hosted by | |