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

[WIP] feat: Implement get*NoiseValue functions #6

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lukehesluke
Copy link
Contributor

Work In Progress: This is not yet fully implemented to the point of being able to merge in. It needs updated documentation and tests before it can be merged in.

Not yet fully implemented to the point of being able to merge in. will need to update documentation and update tests
): number[] {
const field: number[] = new Array(length);
for (let x = 0; x < length; x++) {
let value = 0.0;
for (let octave = 0; octave < octaves; octave++) {
const freq = frequency * Math.pow(2, octaves);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor note. I think this was a typo and should be octave. It's changed to that in the getLineNoiseValue function

@lukehesluke lukehesluke force-pushed the feature/noise-value-at-point branch from 72b00df to 6c6dcf9 Compare June 7, 2024 18:50
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