Quote:
Originally Posted by GeeTwo
You can do this with two random numbers by noticing that those right triangles get pretty skinny. Essentially, take the regular N-gon apart into those right isosceles triangles, and re-arrange them into a rectangle. In the large N limit, this rectangle will only be pi times as wide as it is tall.
|
Slick, I like that. I was pretty confident that there existed a way to do get there with just two random numbers, considering that we were in a relatively nice-behaving 2D space, but I didn't realize how close I was.