JavaView® v2.12

jvx.numeric
Class PnNoise

java.lang.Object
  |
  +--jvx.numeric.PnNoise

public class PnNoise
extends java.lang.Object

Generates 2D procedural white noise by hashtable-like method to generate a gradient on an integer lattice that is made continuous by smoothed interpolation. Noise is 256-periodic.

Version:
08.07.01, 1.10 revised (ep) Converted to float.

Constructor Summary
PnNoise()
          Creates and initializes new noise
 
Method Summary
 float noise(float x, float y)
          Value of white noise at given 2D point.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PnNoise

public PnNoise()
Creates and initializes new noise
Method Detail

noise

public float noise(float x,
                   float y)
Value of white noise at given 2D point.
Returns:
noise value [-1;1]

JavaView® v2.12

The software JavaView® is copyright protected. All Rights Reserved.