com.jhlabs.math
Class SCNoise

java.lang.Object
  extended by com.jhlabs.math.SCNoise
All Implemented Interfaces:
Function1D, Function2D, Function3D

public class SCNoise
extends java.lang.Object
implements Function1D, Function2D, Function3D

Sparse Convolution Noise. This is computationally very expensive, but worth it.


Field Summary
 short[] perm
           
 
Constructor Summary
SCNoise()
           
 
Method Summary
 float catrom2(float d)
           
 float evaluate(float x)
           
 float evaluate(float x, float y)
           
 float evaluate(float x, float y, float z)
           
static int floor(float x)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

perm

public short[] perm
Constructor Detail

SCNoise

public SCNoise()
Method Detail

evaluate

public float evaluate(float x)
Specified by:
evaluate in interface Function1D

evaluate

public float evaluate(float x,
                      float y)
Specified by:
evaluate in interface Function2D

evaluate

public float evaluate(float x,
                      float y,
                      float z)
Specified by:
evaluate in interface Function3D

floor

public static int floor(float x)

catrom2

public float catrom2(float d)