- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Mon, 28 Oct 2019 21:57:19 +0000
- To: public-houdini-archive@w3.org
Wait, hm, we'd have to pass it into the paint() callback, not expose it on the global, because otherwise it would share its state between all the worklets running in a given global, including separate invocations of the same worklet. So we'd have to add a parameter to the constructor saying you want a prng, and specify how it's passed to the callback; at that point I don't think there's much benefit over just saying `var prng = Math.seededPRNG();` yourself. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/970#issuecomment-547163098 using your GitHub account
Received on Monday, 28 October 2019 21:57:25 UTC