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

Higher dimensional noise functions #134

Open
Limeth opened this issue Aug 21, 2016 · 3 comments
Open

Higher dimensional noise functions #134

Limeth opened this issue Aug 21, 2016 · 3 comments

Comments

@Limeth
Copy link

Limeth commented Aug 21, 2016

Functions such as perlin5 would be very welcome.

@Razaekel
Copy link
Owner

5th and 6th dimension noise functions are on my to-do list for this.

@amaranth
Copy link
Collaborator

amaranth commented Mar 11, 2017

With type level integers it'd be quite easy to do an N dimensional implementation for perlin and simplex at least, probably all the cellular stuff too. They wouldn't be as efficient as the hardcoded ones but you could use specialization for that. Perhaps look in to using typenum or waiting to see what happens with the pi types RFC.

While looking in to this quite some time ago I wrote https://gist.github.com/amaranth/a9ed8fff9a3c029aa743 (in Python) to prove it was possible to generate the perlin gradient tables procedurally although this does not include normalizing them.

@cheako
Copy link

cheako commented Mar 28, 2019

This should be merged with N-dimensional noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants