https://github.com/neomjs/shared-offscreen
test case to move an existing canvas node into a new browser window
https://github.com/neomjs/shared-offscreen
Last synced: about 1 year ago
JSON representation
test case to move an existing canvas node into a new browser window
- Host: GitHub
- URL: https://github.com/neomjs/shared-offscreen
- Owner: neomjs
- License: mit
- Created: 2022-08-25T07:49:02.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-06T14:57:05.000Z (almost 4 years ago)
- Last Synced: 2025-04-06T22:13:00.456Z (about 1 year ago)
- Language: JavaScript
- Size: 233 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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