OpenSimplex2 class Null safety

Abstract base class for OpenSimplex2 noise that is the super type for the public API of both OpenSimplex2F and OpenSimplex2S.

Additional documentation for the methods lives in the implementing classes because behavior will differ based on implementation.

Implementers

Constructors

OpenSimplex2()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noise2(double x, double y) double
2D noise, standard lattice orientation.
noise2XBeforeY(double x, double y) double
2D noise, with Y pointing down the main diagonal.
noise3Classic(double x, double y, double z) double
3D Re-oriented 8-point BCC noise, classic orientation.
noise3XYBeforeZ(double x, double y, double z) double
3D Re-oriented 8-point BCC noise, with better visual isotropy in (X, Y).
noise3XZBeforeY(double x, double y, double z) double
3D Re-oriented 8-point BCC noise, with better visual isotropy in (X, Z).
noise4Classic(double x, double y, double z, double w) double
4D noise, classic lattice orientation.
noise4XYBeforeZW(double x, double y, double z, double w) double
4D noise, with XY and ZW forming orthogonal triangular-based planes.
noise4XYZBeforeW(double x, double y, double z, double w) double
4D noise, with XYZ oriented like noise3Classic, and W for an extra degree of freedom.
noise4XZBeforeYW(double x, double y, double z, double w) double
4D noise, with XZ and YW forming orthogonal triangular-based planes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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