Pulser class
- Inheritance
-
- Object
- PulserFold<
double> - Pulser
Constructors
- Pulser.new({double duration = 200, double pulseFunction(double) = defaultPulserFunction})
Properties
- duration ↔ double
-
getter/setter pairinherited
- folder ↔ double Function(double accumulator, double pulseTime, double pulseValue)
-
pulseTime is the amount of time that's passed since this pulse started. For pulses in the future, it will be negative. For pulses in the past, it will be large. You usually want to get the pulse progress as clampUnit(pulseTime/duration)
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- pulseFunction ↔ double Function(double)
-
getter/setter pair
-
pulseStarts
↔ List<
(double, double)> -
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- zero ↔ double
-
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pulse(
double v, {required double time}) → void -
inherited
-
pulseThat(
{required double time}) → void -
toString(
) → String -
A string representation of this object.
inherited
-
v(
{required double time}) → double -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited