- From: John Weisz via GitHub <sysbot+gh@w3.org>
- Date: Fri, 29 Mar 2019 20:16:48 +0000
- To: public-houdini-archive@w3.org
JohnWeisz has just created a new issue for https://github.com/w3c/css-houdini-drafts:
== [css-paint-api] use-case: data/audio visualization ==
Good evening,
Has data- and audio-visualization been considered as a possible use-case of the PaintWorklet? (both static and real-time audio visualization)
Currently, it seems there is no way to communicate with a PaintWorklet from other threads. If a MessagePort or a SharedArrayBuffer could be sent to the PaintWorklet, considerably more options would be available with this API:
```js
let channel = new MessageChannel();
await CSS.paintWorklet.addModule("vis.js");
CSS.paintWorklet.modules["vis.js"].postMessage({
messagePort: channel.port1
});
```
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/872 using your GitHub account
Received on Friday, 29 March 2019 20:16:50 UTC