AnimeJ: a Javascript animation library

Class AnimeJConv

Object
   |
   +--AnimeJConv

<private> class AnimeJConv


Conversion functions used by interpolators. They interpolate a range of values using a parameter between 0.0 and 1.0 which represents a time fraction.
Defined in AnimeJ.js


Constructor Summary
AnimeJConv()
           
 
Method Summary
<static> Object Discrete(<Object> from, <Object> to, <float> v)
           Interpolates between two objects in a discrete fashion: if v is less than 0.5 the first is returned the second otherwise.
<static> float Float(<float> from, <float> to, <float> v)
           Interpolates a single float value
<static> Array FloatList(<Array> from, <Array> to, <float> v)
           Interpolates an array of floats
<static> int Int(<int> from, <int> to, <float> v)
           Interpolates a single integer value
<static> Array IntList(<Array> from, <Array> to, <float> v)
           Interpolates an array of integers

Constructor Detail

AnimeJConv

AnimeJConv()

Method Detail

Discrete

<static> Object Discrete(<Object> from, <Object> to, <float> v)

Float

<static> float Float(<float> from, <float> to, <float> v)

FloatList

<static> Array FloatList(<Array> from, <Array> to, <float> v)

Int

<static> int Int(<int> from, <int> to, <float> v)

IntList

<static> Array IntList(<Array> from, <Array> to, <float> v)

AnimeJ: a Javascript animation library

Documentation generated by JSDoc on Thu Apr 15 11:15:01 2010