public class FollowerFunction extends ContinuousFunction
Constructor and Description |
---|
FollowerFunction(Pattern pattern)
Creates a pattern that returns the same value as the underlying pattern.
|
Modifier and Type | Method and Description |
---|---|
double |
call(BigFraction t)
Returns the value of the function at this point in the cycle.
|
public FollowerFunction(Pattern pattern)
pattern
- the pattern to be followedpublic double call(BigFraction t)
ContinuousFunction
call
in class ContinuousFunction
t
- a BigFraction of the cycleProcessing Library loom by Cora Johnson-Roberson. (c) 2014-2016