HTML5 Canvas 3D WebGL (TM) js Library

from Library Method

Short Description: Set Start Point of Motion

Signature: t.from (x0,y0,z0) or (p0)
Group: Motion
Class: transition Class

Sets the starting position of the motion of the animated object. (x0,y0,z0) are Coordinates. Alternatively (p0) is a Position Specification that will be resolved into coordinates. Default of the starting position is the position of the animated HTML element.

from may be used once on a single transition unless the transition was created using certain forms of cont that do from implicitely.

Examples"testimg").from(1000,2000,0).start(); RUN"testimg").from(1000,2000,0).to(0,400,0).start(); RUN"testimg").from(0,0,1000).start(); RUN"testimg").from(0,0,-1000).start(); RUN"pgMiddleColumnTable").from(0,0,30000).start(); RUN"pgMiddleColumnTable").from(0,0,30000).start();"testimg").start();"LeftcolumnDown").start();
var"testimg"); a.from(a.x0,a.y0+500,0).start(); RUN
var"pgMiddleColumnTable"); a.from(a.x0,0,0).start(); RUN

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:transition.position - Set Position of Object
Previous Page: - Set End Point of Motion