Polyhedra V1.0

by Gian Marco Todesco
top 25%

[ intro | the applet | parameters | the 5 polyhedra ]



The applet can be customized providing the following parameters in the HTML file.



Name Type Meaning
background 6 hexadecimal digits The color of the background
tetrahedraColor 6 hexadecimal digits The color of the tetrahedra
cubesColor 6 hexadecimal digits The color of the cubes
octahedraColor 6 hexadecimal digits The color of the octahedra
dodecahedraColor 6 hexadecimal digits The color of the dodecahedra
icosahedraColor 6 hexadecimal digits The color of the icosahedra
buttons on/offTo enable/disable the control buttons
polyhedra a comma-separated list of polyhedra:
tetrahedron,cube,
octahedron,dodecahedron,
icosahedron
The starting polyhedra set


Example: To obtain the first page image I wrote a small HTML file with the following lines:



<APPLET CLASS="Polyhedra.class" ARCHIVE="Polyhedra.jar" 
    WIDTH="400" HEIGHT="400">
  <PARAM NAME="background" value="223355">
  <PARAM NAME="buttons" value="off">
  <PARAM NAME="polyhedra" value="cube,icosahedron">
</APPLET>