Code Samples

 

Lua Languages Resources

 

Quick Links

3D Effects

3D visual effects are used to convey a sense of depth to a 2D space. When an image is at an angle it can still be seen and yet allow room for further images to be displayed. More information can be put onto the screen this way.

 

Example 1: Flips


View a video of this example.

The flip effect simulates the flipping of a playing card. The flip effect uses two images to flip between. As the front image is flipped, the back image becomes visible.

See the code.

Download the source code.

 

Example 2: Peels and Rolls


View a video of this example.

Peeling is images rolling to the left and right, or diagonally, much like turning a page.

See the code.

Download the source code.

Example 3: Picture Cube


View a video of this example.

A cube can be used to represent data in interesting ways. This cube has an image on each face.

See the code.

Download the source code.

Example 4: Video Cube


View a video of this example.

FancyPants makes it simple to incorporate video into any part of the user interface. This cube has an image on each face.

See the code.

Download the source code.