**Click anywhere in the applet to suspend/resume execution.**

**Feel free to use the KUBIK applet on your own webpage!**
You can download Kubik.zip here.

**How do the parameters work?**

- text: if no text is supplied, you will see 'KUBIK' as on this page.
- camera distance: the distance from the point of view to the 3D letters.
- screen distance: the distance from the projection plane to the camera.
- dx, dy, dz: every frame, these values are added to the rotation angles of each letter.
- delay: the time between two frames.
- zpos: the initial z coordinate for the first letter of each line.
- dzpos: this values is added to zpos for each letter at initialisation.
- x0, y0, z0: the initial rotation angles for the first letter.
- dx0, dy0, dz0: these values are added to the rotation angles of each letter at initialisation.

text | String | Only 'A' through 'Z' and blanks supported [UPPER CASE ONLY]. Use '|' as newline. |

foreground | 24 bit RGB (hex. int)/RANDOM/DARK RANDOM/LIGHT RANDOM | default: green |

background | 24 bit RGB (hex. int)/RANDOM/DARK RANDOM/LIGHT RANDOM | default: black |

camera distance | pixels (int) | default: 10000 |

screen distance | pixels (int) | default: 5000 |

dx | degrees (int) | default: -2 |

dy | degrees (int) | default: -10 |

dz | degrees (int) | default: 0 |

delay | 1/100 seconds (int) | default: 10 |

zpos | pixels (int) | default: 0 |

dzpos | pixels (int) | default: 0 |

x0 | degrees (int) | default: 0 |

y0 | degrees (int) | default: 0 |

z0 | degrees (int) | default: 0 |

dx0 | degrees (int) | default: 15 |

dy0 | degrees (int) | default: 45 |

dz0 | degrees (int) | default: 0 |