Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
e2f662c63This file is pinned to the selected release. Download the original to open it in your design tool.
package com.marginallyclever.convenience.noise;
public interface Noise {
void setSeed(int seed);
/**
* 1D noise
* @param xin a double
* @return a double [-1...1]
*/
double noise(double xin);
/**
* 2D noise
* @param xin a double
* @param yin a double
* @return a double [-1...1]
*/
double noise(double xin, double yin);
/**
* 3D noise
* @param xin a double
* @param yin a double
* @param zin a double
* @return a double [-1...1]
*/
double noise(double xin, double yin,double zin);
}