Skip to content

Support triangle interpolation #222

@tomrijnbeek

Description

@tomrijnbeek

🆙 Improvement proposal

#221 introduces interpolation based on 2 (in 1D) and 4 points (in 2D). We should also add interpolation methods to interpolating between 3 points (in 2D).

Context

While interpolating along a square grid is not uncommon, there are also use cases to be found for interpolating between 3 points. Specifically, interpolation between 3 points allows you to interpolate every point in a hexagonal grid. In turn, this can be used to generate noise maps based on a hexagonal grid instead of a square grid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhacktoberfestGood issues to contribute as part of Hacktoberfest

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions