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

repeating 3d simplex noise? #6

Closed
morgajel opened this issue Feb 14, 2014 · 1 comment
Closed

repeating 3d simplex noise? #6

morgajel opened this issue Feb 14, 2014 · 1 comment

Comments

@morgajel
Copy link

I noticed that perlin 3d has the ability to repeat, and simplex 2d as well; would it be possible to add simplex 3d repeating?

@caseman
Copy link
Owner

caseman commented Feb 14, 2014

Perlin noise is easier to repeat because it is rectangular in nature. Since simplex noise is triangular it requires a more complex solution using higher dimensional noise.

However you may notice that 2D simplex noise supports a "base" argument as well as x and y repeat intervals. This value offsets the periodic higher dimension used to tile the noise. This effectively "randomizes" the noise output without needing even higher dimensions of noise.

I used that as a seed in my map generator to good effect: https://gist.github.com/caseman/8554090

@caseman caseman closed this as completed Feb 14, 2014
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

No branches or pull requests

2 participants