Skip to content

Add Voronoi layer #3

Closed
Closed

Description

@gnavvy

A (hierachical) voronoi layer to visualize density distribution

Activity

  1. ibgreen commented on Oct 20, 2016

    @ibgreen
    Collaborator

    Available in deck.gl v3 - although has some constraints on usage.

  2. added 2 commits that reference this issue on May 18, 2018
  3. andybak commented on Apr 26, 2020

    @andybak

    This is one of the top results for "deck.gl voronoi" and seems to imply the functionality exists. However - there's no mention of voronoi in the deck.gl docs.

  4. ibgreen commented on Apr 26, 2020

    @ibgreen
    Collaborator

    In one of the early releases, we did write a voronoi layer that used a clever depth buffer technique to calculate cell boundary intersections on the GPU. However it had visual artifacts and we never included it in the release.

    IIRC, it worked pretty well in non-perspective mode, but not when tilted.

    It should not be too hard to find the layer, but it would require some work to get it up to latest API, and then the issues would need to be evaluated again.

    An alternative option is to calculate the cell divisions on CPU, I believe d3 and other libraries support that.

    I don't think there is any current work on this, but happy to support a contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions