Code Monkey home page Code Monkey logo

Comments (3)

ibgreen avatar ibgreen commented on May 3, 2024

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

from deck.gl.

andybak avatar andybak commented on May 3, 2024

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.

from deck.gl.

ibgreen avatar ibgreen commented on May 3, 2024

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.

from deck.gl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.