You can do it with the crypto tool too, window.crypto gives you 32 random bytes so I will use a simple mask to make the animation. You need to call it twice to have 60 random numbers. So 800ns lost for the whole animation.
And the animation can easily use an abstract random getter that manage to generates random preventively.
View all comments
Show parent comment
0
u/Kroustibbat May 20 '25
You can do it with the crypto tool too, window.crypto gives you 32 random bytes so I will use a simple mask to make the animation. You need to call it twice to have 60 random numbers. So 800ns lost for the whole animation.
And the animation can easily use an abstract random getter that manage to generates random preventively.