-
Notifications
You must be signed in to change notification settings - Fork 114
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
Comments
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. |
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 |
I agree, the fact that all the noise functions seem to have random max/mins is kinda annoying. |
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
The text was updated successfully, but these errors were encountered: