Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: SimplexNoise

[16:14] static extends: object

Static helper for FXGL's SimplexNoise class (com.almasb.fxgl.core.math.SimplexNoise). Provides 2D and 3D simplex noise sampling, the same algorithm FXGLMath.noise2D / noise3D delegates to. Use directly when you need noise samples outside of FXGLMath's shared static state.

Methods

  • noise2D (double X, double Y)

    Returns simplex noise at (X, Y) in approximately [-1, 1].

  • noise3D (double X, double Y, double Z)

    Returns simplex noise at (X, Y, Z) in approximately [-1, 1].