AnimeJ: a Javascript animation library

Class AnimeJInterp

Object
   |
   +--AnimeJInterp

class AnimeJInterp


This class contains helpers for building interpolation tasks. It simply uses the AnimeJLinearInterpolator in several different ways to ease common tasks. You can still define your own interpolators. Apologize for interpolator names but they are conceived to be short.
Defined in AnimeJ.js


Constructor Summary
AnimeJInterp()
           
 
Method Summary
<static> Object alpha(<int> time, tstep, <Object> obj, <Object> fromOrSteps, <float> to)
           Interpolates the alpha of an element in the appropriate way for the current browser.
<static> Object ffa(<int> time, tstep, <Function> fun, <Array> fromOrSteps, <Array> to)
           Interpolates an array of floats and pass it to a funciton (ffa: function float array).
<static> Object ffv(<int> time, tstep, <Function> fun, <Object> fromOrSteps, <float> to)
           Interpolates a float value and pass it to a funciton (ffv: function float value).
<static> Object fia(<int> time, tstep, <Function> fun, <Array> fromOrSteps, <Array> to)
           Interpolates an array of integers and pass it to a funciton (fia: function int array).
<static> Object fiv(<int> time, tstep, <Function> fun, <Object> fromOrSteps, <int> to)
           Interpolates an integer value and pass it to a funciton (fiv: function integer value).
<static> Object px(<int> time, tstep, <Object> obj, prop, <Object> fromOrSteps, <int> to)
           Interpolates a pixel quantity (i.e.

Constructor Detail

AnimeJInterp

AnimeJInterp()

Method Detail

alpha

<static> Object alpha(<int> time, tstep, <Object> obj, <Object> fromOrSteps, <float> to)

ffa

<static> Object ffa(<int> time, tstep, <Function> fun, <Array> fromOrSteps, <Array> to)

ffv

<static> Object ffv(<int> time, tstep, <Function> fun, <Object> fromOrSteps, <float> to)

fia

<static> Object fia(<int> time, tstep, <Function> fun, <Array> fromOrSteps, <Array> to)

fiv

<static> Object fiv(<int> time, tstep, <Function> fun, <Object> fromOrSteps, <int> to)

px

<static> Object px(<int> time, tstep, <Object> obj, prop, <Object> fromOrSteps, <int> to)

AnimeJ: a Javascript animation library

Documentation generated by JSDoc on Thu Apr 15 11:14:59 2010