Re: [css-houdini-drafts] [css-paint-api] use-case: data/audio visualization (#872)

Currently, you communicate with a paint worklet by altering one of its arguments, or altering a property it depends on. Since you can pack whatever data you want into a custom property, this lets you pass arbitrary data over to it.

Have you tried this yet? We know this is probably insufficient for high-bandwidth communication with the worklet, and plan to address that by letting it receive an ArrayBuffer in some way, but haven't gotten there yet due to lack of demand. Please let us know if you have an example that requires that, where just altering a property is insufficient.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/872#issuecomment-487390357 using your GitHub account

Received on Sunday, 28 April 2019 15:39:37 UTC