prefuse.activity
Interface Pacer

All Known Implementing Classes:
SlowInSlowOutPacer, ThereAndBackPacer

public interface Pacer

A Pacer, or pacing function, maps one double value to another; they are used to parameterize animation rates, where the input value f moves from 0 to 1 linearly, but the returned output can vary quite differently in response to the input.

Version:
1.0
Author:
jeffrey heer
See Also:
Action, SlowInSlowOutPacer, ThereAndBackPacer

Method Summary
 double pace(double f)
          Maps one double value to another to determine animation pacing.
 

Method Detail

pace

double pace(double f)
Maps one double value to another to determine animation pacing. Under most circumstances, both the input and output values should be in the range 0-1, inclusive.

Parameters:
f - the input value, should be between 0-1
Returns:
the output value, should be between 0-1


Copyright © 2007 Regents of the University of California