> What costs more, generating a random number and maybe a second or a random number and a sin/cos
You’re adding a very unpredictable loop branch and a bunch of data dependencies doing that. For GPUs (and maybe even CPUs), the sqrt way is almost certainly faster.