Login
From:
Stack Overflow
(Uncensored)
subscribe
python - Sample uniformly random points within a triangle - Stack Overflow
https://stackoverflow.com/questions/68493050/sample-uniformly-random-points-within-a-triangle
links
backlinks
I would like to know how to get random vectors inside a triangle, in python, but it seemed more difficult than I expected. The plane would have coordinates like [a, b], [x, y], [u, v] (three points):
Roast topics
Find topics
Roast it!
Roast topics
Find topics
Find it!
Roast topics
Find topics
Find it!