neomjs / shared-offscreen

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:JavaScript 96.9%Language:HTML 2.8%Language:SCSS 0.3%