Open birdsarah opened 8 years ago
Hi! Is this feature something that is under active development or are there no planned implementations in the near future?
It is planned, as mentioned in both the WebGL roadmap (https://github.com/bokeh/bokeh/discussions/11369) and the wiki page on individuals' plans (https://github.com/bokeh/bokeh/wiki/Individual-Plans--H1-2023#webgl-improvements). I would hope to find time and motivation to do this "in the near future" but I cannot guarantee it. Anyone else who is interested in this is welcome to contribute.
Request to support patches with webgl.
@almarklein and I discussed this and the only challenge was that we needed an algorithm to turn patches into triangles. I have found: https://github.com/mapbox/earcut "The fastest and smallest JavaScript polygon triangulation library. 2.5KB gzipped" which seems to do exactly what we need and comes from the awesome mapbox.
Currently there are inefficiencies around _build_discontinuous_objects being called many times (called on every render) which would likely need to be solved to see the impacts of webgl (ping @bryevdv and #4967).