| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cosylab.gui.components.gauger.NoiseMaker
public class NoiseMaker
Simple class to generate perlin noise signal.
| Constructor Summary | |
|---|---|
| NoiseMaker() | |
| Method Summary | |
|---|---|
| static double | interpolatedNoise(double x)Returns cosine interpolated noise value between two integral time units. | 
| static void | main(java.lang.String[] args)Simple test method. | 
| static double | noise(long x)Pseudo-random generator function. | 
| static double | perlinNoise(double x)Returns pseudo random noise signal at given value. | 
| static double | smoothedNoise(long x)Returns gaussian averaged noise value sampled over three time units. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public NoiseMaker()
| Method Detail | 
|---|
public static final double noise(long x)
x - time.
public static final double smoothedNoise(long x)
x - time offset.
public static final double interpolatedNoise(double x)
x - time.
public static final double perlinNoise(double x)
x - Time at which to sample the noise.
public static void main(java.lang.String[] args)
args - Not used.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||