WebGL (TM) Canvas Library
 

dddBox Library Method

Short Description: Creates dddBox Transition

Signature: taccgl.dddBox (el)
Class: taccgl Class
 

This method can be specified as kind parameter kind when creating a new transition (see Transition Kind) to animate a 3D box. The created transition object a then belongs to the taccglDddBox Class.

Examples

var a=taccgl.actor("testimg",taccgl.dddBox); a.depth(a.h);
a.rotateMiddle(0,1,0).rotatePart(0,Math.PI/5).start().cont().
rotateMiddle(0,0,1).dur(4).start().cont().rotateMiddle(0,1,0).dur(4).start().cont().rotateMiddle(1,0,0).dur(4).start();
RUN

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:taccgl.objFile - Creates OBJ File object and starts a download
Previous Page: taccgl.multiFace - Creates MultiFace Transition
Please Add a Comment or Question, click here!