OpenSimplexNoise class
This generates smoothly-changing deterministic random values in 2 or 3 dimensions. This can be used for procedurally generated textures, shapes, or terrain.
OpenSimplex noise is a Dart implementation of Kurt Spencer's patent-free alternative to Perlin and Simplex noise.
For more information: http://uniblock.tumblr.com/post/97868843242/noise or https://gist.github.com/KdotJPG/b1270127455a94ac5d19
Constructors
- OpenSimplexNoise([int seed = 0])
-
factory
-
OpenSimplexNoise.fromPerm(List<
int> _perm)
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
-
eval2D(
double x, double y) → double -
eval3D(
double x, double y, double z) → double -
eval4D(
double x, double y, double z, double w) → double -
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