|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--kinetic.Behavior | +--kinetic.Pulse
creates a decaying oscillation offset on a property
Field Summary | |
kinetic.KineticProperty |
amount
peak offset value |
kinetic.KineticProperty |
damping
speed the oscillation amplitude wave decays to zero |
kinetic.KineticProperty |
phase
radian phase shift |
kinetic.KineticProperty |
rate
osciallation rate (radians over life span) |
Fields inherited from class kinetic.Behavior |
current_time, duration, isDone, owner, properties, timeFilters |
Constructor Summary | |
Pulse()
creats new instance of Pulse |
|
Pulse(double delay_val,
double dur_val,
double amount_val,
double rate_val,
double damping_val,
double phase_val)
creates a new instance of pulse |
Method Summary | |
void |
Process()
main routine to calculate the new value for the owner property |
Methods inherited from class kinetic.Behavior |
addTimeFilter, apply, clear, getDuration, getPropertyList, getTimeFilterList, isDone, PrepareVariables, reset, setOwner |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public kinetic.KineticProperty amount
public kinetic.KineticProperty rate
public kinetic.KineticProperty damping
public kinetic.KineticProperty phase
Constructor Detail |
public Pulse()
public Pulse(double delay_val, double dur_val, double amount_val, double rate_val, double damping_val, double phase_val)
delay_val
- time delay - msdur_val
- duration/lifespan - msamount_val
- peak offset amountrate_val
- radians over lifespandamping_val
- oscillation amplitude deacy ratephase_val
- radian phase offsetMethod Detail |
public void Process()
Process
in class Behavior
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |