▲ | noman-land 4 days ago | ||||||||||||||||||||||
Maybe "usable" is your qualifier but what's wrong with Math.random()? | |||||||||||||||||||||||
▲ | akdev1l 4 days ago | parent | next [-] | ||||||||||||||||||||||
To generate random number in a specific range you need to do something I always forget and need to google.
(Google AI summary says this is the thing)The CSS function would be random(min, max) Also the CSS function seems to take a number of steps, it is not immediately obvious to me how to do that with Math.random() | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | tsujp 4 days ago | parent | prev [-] | ||||||||||||||||||||||
JS also has Crypto.getRandomValues() |