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

Use gain in 1D FBM noise (and use mul_add) #59

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

valadaptive
Copy link
Contributor

@valadaptive valadaptive commented Dec 19, 2024

It seems that 1D FBM noise was previously not using the gain setting. This implements that, and also uses fused multiply-add to accumulate the layers of noise if available (currently slower due to a bug, see arduano/simdeez#78).

(Side note: The default value for gain is 2. This seems backwards--most FBM implementations have it set to 0.5 or 1/sqrt(2). See the "Self Similarity" section of this article. Should the default be updated?)

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

Successfully merging this pull request may close these issues.

1 participant