Package swingtree.style
Class NoiseFunctions
java.lang.Object
swingtree.style.NoiseFunctions
A collection of noise functions that can be used to generate procedural textures.
The functions in this class are also supposed to serve as an example
which demonstrates how to create procedural textures yourself.
-
Method Summary
Modifier and TypeMethodDescriptionstatic float
cells
(float xIn, float yIn) static float
fibery
(float xIn, float yIn) static float
grainy
(float xIn, float yIn) static float
hardSpots
(float xIn, float yIn) static float
hardTopology
(float xIn, float yIn) static float
haze
(float xIn, float yIn) static float
mandelbrot
(float xIn, float yIn) static float
retro
(float xIn, float yIn) static float
smoothSpots
(float xIn, float yIn) static float
smoothTopology
(float xIn, float yIn) static float
spirals
(float xIn, float yIn) static float
stochastic
(float xIn, float yIn) static float
tiles
(float xIn, float yIn) static float
voronoiBasedCells
(float xIn, float yIn)
-
Method Details
-
stochastic
public static float stochastic(float xIn, float yIn) -
smoothTopology
public static float smoothTopology(float xIn, float yIn) -
hardTopology
public static float hardTopology(float xIn, float yIn) -
hardSpots
public static float hardSpots(float xIn, float yIn) -
smoothSpots
public static float smoothSpots(float xIn, float yIn) -
grainy
public static float grainy(float xIn, float yIn) -
tiles
public static float tiles(float xIn, float yIn) -
fibery
public static float fibery(float xIn, float yIn) -
retro
public static float retro(float xIn, float yIn) -
cells
public static float cells(float xIn, float yIn) -
haze
public static float haze(float xIn, float yIn) -
spirals
public static float spirals(float xIn, float yIn) -
mandelbrot
public static float mandelbrot(float xIn, float yIn) -
voronoiBasedCells
public static float voronoiBasedCells(float xIn, float yIn)
-