This is a way to get perlinish noise without the plug.
Basically what its doing is creating a set of random values, and then averaging those values from one to the next.
Keep in mind this is only across a single axis, and does not include negative values.
But both should be possible though.
It is set up for negatives if you wish to experiment, just use "normalrandom" instead of random.
For a rougher range simply lower the amount of times the "Repeat" action is called.
Develop games in your browser. Powerful, performant & highly capable.