Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document minimum and maximum #222

Open
Reconcyl opened this issue Jan 25, 2020 · 3 comments
Open

Document minimum and maximum #222

Reconcyl opened this issue Jan 25, 2020 · 3 comments

Comments

@Reconcyl
Copy link

Could the crate documentation be updated to specify what the exact bounds on noise output values are? Experimentally, two-dimensional OpenSimplex noise values appear to always lie in the range [-0.544, 0.544].

Related: #51

@nic-hartley
Copy link

This would be very helpful. Some quick experimentation suggests Perlin noise is nearly always between -0.5 and 0.5, but not quite actually always. If it was normalized to some standard range, like 0 to 1, this library would be much easier to use. If the limits were documented anywhere, even.

@bsurmanski
Copy link
Contributor

From code comments, the range is supposed to be between -1 to 1 for most noises. I believe the current ranges are a bug. I fixed the perlin ranges here: #283

@AideTechBot
Copy link

I agree, the fact that all the noise functions seem to have random max/mins is kinda annoying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants