HTML5 Canvas 3D WebGL (TM) javaScript Library
 

FlexiBorder Class

Draws a 2D object that has a flexible (possible 3D) border, whereby the border is determined by a built-in or by a user function. In an extreme case an initially rectangular object can be turned into an ellyptical or circular object. Also page flip effects can be created this way.

Examples

var a=taccgl.actor("testimg",taccgl.flexiBorder).Circle1().start(); RUN
var a=taccgl.actor("testimg",taccgl.flexiBorder).Circle1(); a.resize(null,null,a.h,a.h).start(); RUN
var a=taccgl.actor("testimg",taccgl.flexiBorder).Circle1(); a.resize(null,null,a.h,a.h).flyOut(a.x+(a.w-a.h)/2,a.y,0).start(); RUN

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:taccglFlexiBorder.nparts - Number of triangles to approximate object
Previous Page: transition.inTime - Check if a given time is in the time range of the transition
Please Add a Comment or Question, click here!