GradientPerturb class

Constructors

GradientPerturb({int seed = 1337, double frequency = .01, double gain = 0.5, double lacunarity = 2.0, int octaves = 3, Interp interp = Interp.quintic})

Properties

fractalBounding double
final
frequency double
final
gain double
final
hashCode int
The hash code for this object.
no setterinherited
interp Interp
final
lacunarity double
final
octaves int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seed int
final

Methods

gradientPerturb2(Vector2f v2) → void
gradientPerturb3(Vector3f v3) → void
gradientPerturbFractal2(Vector2f v2) → void
gradientPerturbFractal3(Vector3f v3) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
singleGradientPerturb2(int seed, double perturbAmp, double frequency, Vector2f v2) → void
singleGradientPerturb3(int seed, double perturbAmp, double frequency, Vector3f v3) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

gradientPerturbAmp → const double