Package arc.util.noise
Class Simplex
java.lang.Object
arc.util.noise.Simplex
-
Method Summary
Modifier and TypeMethodDescriptionstatic float
noise2d
(int seed, double octaves, double persistence, double scale, double x, double y) static float
noise3d
(int seed, double octaves, double persistence, double scale, double x, double y, double z) static float
noise4d
(double octaves, double persistence, double scale, double x, double y, double z, double w) static double
raw2d
(int seed, double x, double y) static double
raw3d
(int seed, double x, double y, double z) static double
raw4d
(double x, double y, double z, double w) static double
rawTiled
(double x, double y, double x1, double y1, double w, double h, double scl)
-
Method Details
-
noise2d
public static float noise2d(int seed, double octaves, double persistence, double scale, double x, double y) -
noise3d
public static float noise3d(int seed, double octaves, double persistence, double scale, double x, double y, double z) -
noise4d
public static float noise4d(double octaves, double persistence, double scale, double x, double y, double z, double w) -
raw2d
public static double raw2d(int seed, double x, double y) -
raw3d
public static double raw3d(int seed, double x, double y, double z) -
raw4d
public static double raw4d(double x, double y, double z, double w) -
rawTiled
public static double rawTiled(double x, double y, double x1, double y1, double w, double h, double scl)
-