Seems like Theseus is not using OffscreenCanvas yet. Should be a good fit for something that runs off the main thread. Graphics can be rendered from a background worker thread directly to the screen without the involvement of the browser main thread at all.
https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCa...