User Manual


Introduction

The Rubik's Wordpress Plugin will help you write articles and websites about the Rubik's cube by helping you inserting applets and images of Rubik's cubes. Each display of a Rubik's cube algorithm is inserted using a simple code, that can be adjusted with various settings.

The method is vary similar to writing HTML, so if you are used to that it should be easy to master. Various types of displays are possible, all of which are shown below with their respective attributes.

The following attributes are supported by all types:

Default type - applet

If no type is given a RubikPlayer applet is assumed. A type of "applet" or "applet-rubikplayer" has the same effect.

Example : [ rubik alg="FRUR'U'F'" ]

Attributes

All of these algorithms are equivalent to the applet's parameters and are also explained on the RubikPlayer page.

applet-revenge

Supports all attributes of the default applet (RubikPlayer), but with different values for scriptLanguage.

[ rubik alg="TR2TU2TR2" bgcolor="f5f5f5" type="applet-revenge" width="250" ]

applet-professor

Supports all attributes of the default applet (RubikPlayer), but with different values for scriptLanguage.

[ rubik alg="MR2 MF2 MD2" bgcolor="f5f5f5" type="applet-professor" width="250" ]

applet-animcube

AnimCube is a completely different variant of a Rubik's cube applet, written by Josef Jelinek. The attribute set differs substantially from the ones by Werner Randelshofer (the 3x3 default, revenge and professor applet). The default attributes still apply, so it's easy to convert from one to another. Here are all the other attributes you can use:

[ rubik alg="R'D'RD'R'D2RyR'D'RD'R'D2R" type="applet-animcube" width="250" ]

[ rubik alg="R;L;U;D;F;B" type="applet-animcube" width="120" height="140" bgcolor="f5f5f5" speed="5" doublespeed="5" movetext="3" hint="2" colorscheme="1owy23" ]

[ rubik alg="M;E;S" type="applet-animcube" width="120" height="140" bgcolor="f5f5f5" speed="5" doublespeed="5" movetext="3" hint="2" ]

applet-caesar

This applet was written by Lars Petrus, and built on the applet by Karl Hörnell. I don't know much about the configuration of this applet, so I'll have to do some research. All I know now is that the applet supports the pos, move and bgcolor attributes.

iframe

Supports

image

An image of a cube can be shown in either the JPG or PNG format using the format attribute. The default image template (image.html) is based on an enhanced version of ImageCube (icube.php) created by Jozef Jelinek.

Supports

link

Supports

popup

Supports

transformer

This type will show an image that on-click will transform to an applet. The applet is only loaded after the click, so your pages stay blazing fast. The original RubikPlayer applet and ImageCube have different color schemes by default, so it looks like your cube is changing colors. There is a trick however to solve this, since RubikPlayer allows you to change the color layout. Add faces="4,3,2,1,0,5" and scriptType="Generator" to the attributes, as is done in the example below.

Supports

[ rubik alg="FRUR'U'F'" type="transformer" faces="4,3,2,1,0,5" scriptType="Generator" bgcolor="f5f5f5" ]

transformer-with-close

This type is similar to the transformer, but it also supports a 'close button' so you can revert back to an image. Note that every tag of this type requires a "id" attribute, in order to run the script for closing the applet.

Supports

[ rubik id="trans1" alg="FRUR'U'F'" type="transformer-with-close" faces="4,3,2,1,0,5" scriptType="Generator" bgcolor="f5f5f5" ]

click to activate animation

Convert to PDF

Name (required)

Email (required)

Website

Leave a comment