generating random points around a curve
in
Programming Questions
•
3 years ago
Hi there,
I'd like to generate, in 2 dimensions, uniform, random points within a fixed distance of a curve. The result would look kind of like a fuzzy worm. Any thoughts on how to accomplish this? I've included a drawing to help illustrate my point.
The image on the left is the result I want. On the right is the boundary within which the points would appear, with a radius of T.
I greatly appreciate any input!
I'd like to generate, in 2 dimensions, uniform, random points within a fixed distance of a curve. The result would look kind of like a fuzzy worm. Any thoughts on how to accomplish this? I've included a drawing to help illustrate my point.
The image on the left is the result I want. On the right is the boundary within which the points would appear, with a radius of T.
I greatly appreciate any input!