PrefectHQ / graphs

Large scale graphs designed for Prefect
Apache License 2.0
8 stars 1 forks source link

Explore rendering Pixi in a web worker #123

Closed brandonreid closed 8 months ago

brandonreid commented 1 year ago

Explore using a web worker to draw the graph so there's never any thread blocking.

https://pixijs.io/examples/#/offscreen-canvas/web-worker.js

pleek91 commented 8 months ago

Currently we cannot do this because of our use of pixi-viewport and FontFaceObserver. Both of which require access to the window and dom.