Re: [csswg-drafts] [css-values-5] seeded random values (#12072)

Wouldn't it be better to just use `var(--random-N)` for each `N` you need, and then just inject them in the root element via, say, [`document.body.style.setProperty("--random-N", getRandomNumber())`](https://xkcd.com/221/)?

Or are you hoping for a mix of `numeric-counter()` (which I'd be very much a fan of seeing) plus something like GLSL's [`noise(seed)`](https://docs.gl/sl4/noise)?

-- 
GitHub Notification of comment by dead-claudia
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12072#issuecomment-2846771550 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 2 May 2025 09:22:56 UTC