public class SimplexD extends PerlinD
Author:
MagicDroidX (Nukkit Project)
  • Field Details

    • grad3

      public static final int[][] grad3
    • SQRT_3

      protected static double SQRT_3
    • SQRT_5

      protected static double SQRT_5
    • F2

      protected static double F2
    • G2

      protected static double G2
    • G22

      protected static double G22
    • F3

      protected static double F3
    • G3

      protected static double G3
    • F4

      protected static double F4
    • G4

      protected static double G4
    • G42

      protected static double G42
    • G43

      protected static double G43
    • G44

      protected static double G44
    • offsetW

      protected final double offsetW
  • Constructor Details

    • SimplexD

      public SimplexD(NukkitRandom random, double octaves, double persistence)
    • SimplexD

      public SimplexD(NukkitRandom random, double octaves, double persistence, double expansion)
  • Method Details

    • dot2D

      protected static double dot2D(int[] g, double x, double y)
    • dot3D

      protected static double dot3D(int[] g, double x, double y, double z)
    • dot4D

      protected static double dot4D(int[] g, double x, double y, double z, double w)
    • getNoise3D

      public double getNoise3D(double x, double y, double z)
      Overrides:
      getNoise3D in class PerlinD
    • getNoise2D

      public double getNoise2D(double x, double y)
      Overrides:
      getNoise2D in class PerlinD