I am reading through a book called "The Nature of Coding" and I am working on porting the examples from Processing.js to Regular old Java. The example I am on uses the following method call in processing...
noise(x)
I noticed this class provided by Perlin himself, however, it is three dimensional. Can I just do something like this to make it one dimensional (seems too easy)...
static public double noise(double x) {
return noise(x, 0, 0);
}
Or is there some other changes I have to make?