M3Noise class

Utility class for procedural noise generation.

Constructors

M3Noise()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fade(double t) → double
fBm(double x, double y, {int octaves = 6, double persistence = 0.5}) → double
Fractal Brownian Motion (fBm)
grad(int hash, double x, double y, double z) → double
lerp(double t, double a, double b) → double
perlin2D(double x, double y) → double
2D Perlin noise