You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Activity
ibgreen commentedon Oct 20, 2016
Available in deck.gl v3 - although has some constraints on usage.
deck.gl/test-utils: New sub-module layer-test utils (Stacked PR #3) (#…
Async Props #3: The Examples (get-started)
Async Props #3: The Examples (#1818)
andybak commentedon Apr 26, 2020
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.
ibgreen commentedon Apr 26, 2020
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.
RFC: Add @deck.gl/test-utils deprecation timeline
RFC: Add @deck.gl/test-utils deprecation timeline
RFC: Add @deck.gl/test-utils deprecation timeline
RFC: Add @deck.gl/test-utils deprecation timeline
RFC: Add @deck.gl/test-utils deprecation timeline
RFC: Add @deck.gl/test-utils deprecation timeline
RFC: Add @deck.gl/test-utils deprecation timeline
RFC: Migrate from tape to vitest (#9966)