turned "Marsaglia" and "PerlinNoise" into classes and fixed them so that "noise" works as per example below:

background black
noiseDetail(3,0.5)
n = noise(time/1000)
//n = noise(time/1000, frame/1000, random(0,0.1))
move n,0,0
line

(note that the bahaviour of noise is different between processing and
processing.js. In javascript: noise(anyInteger) is the same, while in
Java it's not...