>>13770075that works but i'd like to understand what about my logic is wrong. can you explain why the low scaling values bunch up around the origin? that makes no sense to me.
>>13770062not what i want
>>13770126i don't understand why lower y values would be less common but whatever, i can just random swap x and y then and still end up with a unit vector with a random angle.
i just don't get what about my logic is wrong.
1) generate random x
2) from that x, find y such that it's on the edge of the circle. there's 2, as shown in the picture in
>>13769918 circled in blue.
3) now if i scale that vector, which is a point on the edge of the unit circle, by some random value between 0-1, i should get a random point INSIDE the circle.
the problem is, i DO get a random point inside the circle but it's not uniformly distributed. why are there so many points around the center now?
>>13770137you honestly don't.