Skip to content

Analytical derivatives? #57

@jonikorpi

Description

@jonikorpi

Any chance you might add an (optional) way to get analytical derivatives for the noise result?

Derivatives are handy because they tell you the ”slope” of the noise, which is incredibly useful for use cases like terrain generation. It’s possible to manually calculate them by sampling the noise 3+ times, but (as I understand it) analytical derivatives are much cheaper to compute.

As a reference, I’ve found these implementations:

I’ve explored adding them myself and making a PR, but honestly I’m a bit out of my depth here. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions