Offscreen Canvas
See original GitHub issueI’d liked to use OpenLayers to generate textures to be used in a ThreeJS scene. Ideally this could be done in an OffscreenCanvas on a separate web worker. I don’t see a way to do this currently.
If that’s not possible is there an example of having direct control over the canvas used by the Map
to render to instead it creating/removing the canvas from a container div (The target
in the Map constructor)?
Describe the solution you’d like I don’t know if its a situation of lack of documentation/examples or missing features. Looking more for guidance than anything else at this stage.
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
OffscreenCanvas - Web APIs | MDN
Chrome Edge
OffscreenCanvas Full support. Chrome69. Toggle history Full support. Edge79...
OffscreenCanvas() constructor Full support. Chrome69. Toggle history Full support. Edge79...
contextlost event Full support. Chrome99....
Read more >Offscreen Canvas
Weekly webgl and creative coding newsletter. Techniques resources, inspiration and demos made by Daniel Velasquez!
Read more >Speed up Your Canvas Operations with a Web Worker
The OffscreenCanvas allows to create a canvas that can be rendered off screen. It can also be used in web workers. Avoid jank...
Read more >how to render offscreen canvas properly - html - Stack Overflow
I'm trying to create a basic example of offscreen rendering canvas but I'm error in js "cannot read property of context". actually my...
Read more >OffscreenCanvas | Can I use... Support tables for ... - CanIUse
OffscreenCanvas allows canvas drawing to occur with no connection to the DOM and can be used inside workers. Usage % of. all users,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We now have an OffscreenCanvas example. See #10828.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.