/shared-offscreen

test case to move an existing canvas node into a new browser window

Primary LanguageJavaScriptMIT LicenseMIT

Combining OffscreenCanvas with SharedWorkers

Rendering a Canvas node with a WebGL content and moving it into different windows without re-loading dependencies like D3 and without creating new component JS instances.

Based on the neo frontend framework:

https://github.com/neomjs/neo

Intro video:

https://www.youtube.com/watch?v=o_lyowmLzaU

Online demo (Chromium):

https://neomjs.github.io/pages2/workspace/neo-shared-offscreen-canvas-demo/apps/mainapp/index.html

Dedicated worker based demo:

https://github.com/neomjs/offscreen-canvas

Kudos

The demo canvas content is based on: https://github.com/chrisprice/offscreen-canvas