I am trying to offload as many Trjs calculations as possible to a web worker. This seems relatively doable when it just wants the worker to create the geometry. However, I still need to create a significant number of grids, which implies a hefty cycle in the main thread.
Is it possible to offload the grid to a web worker and just add the main stream to the scene (when it's ready)?
The idea would be for the worker to create an array of cells based on some data and pass them to the main thread.
Thank you very much
source share