Skip to content

Documentation for noise() #2550

@solsword

Description

@solsword

Processing's built-in noise() function has documentation [1] which claims that it is Perlin noise. In fact, it is simple value noise, not Perlin noise, and the documentation should be corrected to reflect this. Even better would be to add a real Perlin noise implementation to the core library, such as the one found in one of the processing examples at [2]. To avoid compatability issues the new noise function could be called "perlinNoise" or the like. If there's interest but lack of time, I'd be willing to create a fork and submit a pull request for "perlinNoise" as a core library feature, but at minimum fixing the documentation to avoid confusing people would be nice (especially as the target audience of Processing is mostly people who would be seeing the term Perlin noise for the first time in this context).

[1] http://www.processing.org/reference/noise_.html
[2] https://github.com/processing/processing/blob/01964947f1aa7780499fd010b151d639ecfdf440/java/examples/Demos/Graphics/Planets/Perlin.pde

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions