failedentertainment
failedentertainment

Reputation: 282

Processing noise implementation has strictly positive range

At this page, and in the docs for p5.js, Perlin noise is described as having an output range of [0,1], but all other implementations I've found have a small range symmetric about 0, and it seems that this is what should theoretically hold as well. What's going on with Processing's implementation of Perlin noise? What are they doing differently? How can I replicate this in, say, python?

Upvotes: 0

Views: 350

Answers (1)

Kevin Workman
Kevin Workman

Reputation: 42174

Processing is open-source. You can view the source code of the noise() function here (currently line 5293).

You also might want to read through this question which discusses the output range of Perlin noise.

Upvotes: 0

Related Questions