java.lang.Object
java.lang.Enum<Simplex4DVariant>
de.articdive.jnoise.generators.noise_parameters.simplex_variants.Simplex4DVariant
All Implemented Interfaces:
Serializable, Comparable<Simplex4DVariant>, Constable

public enum Simplex4DVariant extends Enum<Simplex4DVariant>
Enum representing the different variants of 4D OpenSimplex2 noise.
  • Enum Constant Details

    • CLASSIC

      public static final Simplex4DVariant CLASSIC
      4D OpenSimplex2 noise, standard (fallback) lattice orientation.
    • IMPROVE_XY_IMPROVE_ZW

      public static final Simplex4DVariant IMPROVE_XY_IMPROVE_ZW
      4D OpenSimplex2 noise, with XY and ZW forming orthogonal triangular-based planes. Recommended for 3D terrain, where X and Y (or Z and W) are horizontal. Recommended for noise(x, y, sin(time), cos(time)) trick.
    • IMPROVE_XYZ_IMPROVE_XY

      public static final Simplex4DVariant IMPROVE_XYZ_IMPROVE_XY
      4D OpenSimplex2 noise, with XYZ oriented like noise3_ImproveXY and W for an extra degree of freedom. W repeats eventually. Recommended for time-varied animations which texture a 3D object (W=time) in a space where Z is vertical
    • IMPROVE_XYZ_IMPROVE_XZ

      public static final Simplex4DVariant IMPROVE_XYZ_IMPROVE_XZ
      4D OpenSimplex2 noise, with XYZ oriented like noise3_ImproveXZ and W for an extra degree of freedom. W repeats eventually. Recommended for time-varied animations which texture a 3D object (W=time) in a space where Y is vertical
    • IMRPOVE_XYZ

      public static final Simplex4DVariant IMRPOVE_XYZ
      4D OpenSimplex2 noise, with XYZ oriented like noise3_Fallback and W for an extra degree of freedom. W repeats eventually. Recommended for time-varied animations which texture a 3D object (W=time) where there isn't a clear distinction between horizontal and vertical
  • Method Details

    • values

      public static Simplex4DVariant[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Simplex4DVariant valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null