Giter Club home page Giter Club logo

Comments (2)

meetar avatar meetar commented on May 18, 2024

Hello @trusktr!

We don't have any public design documents about the workers, but the general idea is that each worker makes a tile request and filters and styles the data according to the scene file styling rules. Then it constructs 3D geometry and packages it into WebGL binary buffers which are transferred back to the main thread.

This results in good performance, but has some limitations, especially in situations when we'd like screen-wide or cross-tile features, because the workers don't know about anything outside their own tile. In the future, we may consider an API which does more cross-thread coordination behind the scenes.

from tangram.

trusktr avatar trusktr commented on May 18, 2024

@meetar Interesting! Do you have any performance results that might compare worker vs non-worker implementations? I'm curious to get an idea (specifically a real-world-example) of how workers can help performance.

from tangram.

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.