Skip to content

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

Open
valadaptive wants to merge 2 commits into
verpeteren:masterfrom
valadaptive:1d-fbm-gain
Open

Use gain in 1D FBM noise (and use mul_add)#59
valadaptive wants to merge 2 commits into
verpeteren:masterfrom
valadaptive:1d-fbm-gain

Conversation

@valadaptive

@valadaptive valadaptive commented Dec 19, 2024

Copy link
Copy Markdown
Contributor

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