-
Notifications
You must be signed in to change notification settings - Fork 4
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
noise1 output range seems to be [-0.631 0.631] instead of [-1 1] #1
Comments
is it normal that it output exactly 0 more than 10% of the time? (count (filter zero? (take 100000 (map noise1 (iterate (partial + (rand)) (rand 100000))))))
;;=> 10548 |
Investigating, thanks for letting me know.... |
Just for reference this code was ported from this OpenCL version here: https://github.com/terrybroad/Simplex_Noise_OpenCL/blob/master/Simplex_Noise.cl |
Just updated (and optimized) these functions, but still not 100% sure where the scaling issue is coming from (actually might be already present in the original version this code is based on). Also have added some images and renamed the namespace to I removed the final normalization step from all fns, but |
great! I will take a look as soon as possible |
let's maybe not close this just yet... |
maybe NORM const should be accessible to the user?
The text was updated successfully, but these errors were encountered: