3 ms·
Nah, it's plotting polar vectors, and it uniformly picks an angle. The random(...) is just the magnitude of the vector.
by maxbond 3y ago
Nah, it's plotting polar vectors, and it uniformly picks an angle. The random(...) is just the magnitude of the vector.
- justinpombrio 3y agoFYI, r*cis(theta) _is_ a polar vector. So it's the thing I said, but with the angle chosen randomly.
- deleted 3y ago[deleted]
- maxbond 3y agoGotcha. My bad, thanks for clarifying.