Activity for Karl Knechtelâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #290763 |
As I understood the OP, this question is intended to be that exact discussion about such a possible new category. OP may or may not have been aware of how categories work on Codidact, but that shouldn't be necessary anyway to infer the real question. (more) |
— | 9 months ago |
Comment | Post #289538 |
This is the exact approach I had in mind, although with simplifications owing to the polygon being regular (thus the areas in the triangulation are equal, and the transformation from the right triangle is relatively easy to understand). (more) |
— | about 1 year ago |
Edit | Post #289536 | Initial revision | — | about 1 year ago |
Question | — |
How can I choose a point from a uniform distribution within a regular polygon? Suppose I have a regular polygon in the Cartesian plane, centered at the origin with circumradius $1$, aligned with one vertex at $(1, 0)$. Given a source of independent, uniformly distributed random variables on $0..1)$, how can I choose a point within the polygon, randomly, with uniform distributio... (more) |
— | about 1 year ago |