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

Real Perlin noise would be nice #2549

Closed
solsword opened this issue May 29, 2014 · 2 comments
Closed

Real Perlin noise would be nice #2549

solsword opened this issue May 29, 2014 · 2 comments
Labels

Comments

@solsword
Copy link

The built-in processing "noise" function claims to generate Perlin noise, but in fact it generates value noise. A simple search of the processing github here for "perlin" turns up a real Perlin noise implementation in one of the examples:

https://github.com/processing/processing/blob/01964947f1aa7780499fd010b151d639ecfdf440/java/examples/Demos/Graphics/Planets/Perlin.pde

For almost any conceivable application, Perlin noise is better than value noise because it lacks the perceivable grid-like structure of simple value noise. Here is a screenshot comparing the built-in noise() function with Perlin noise generated by the code from the example above:

http://imgur.com/guiiWRU

It would be pretty nice if Processing had real Perlin noise built-in, but as long as it doesn't, it should at least not mislead readers of the documentation into thinking that value noise is Perlin noise.

P.S. Using simplex noise instead of Perlin noise would be even better, especially for 3D noise as it's significantly faster in that case, but that's probably a bit harder.

@benfry
Copy link
Contributor

benfry commented May 30, 2014

Sure, but a lot of sketches rely on the very old (circa 2001) implementation, so we're not about to change that. If you have a reference issue, file it in the correct location.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants