-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sampling from a triangulation #3
Comments
I've actually written some pure numpy and for-loop free code to evenly sample points on a triangle mesh by area: https://github.com/ctralie/pyhks/blob/a66c317866d984a7a1f37f5c8ab839dec7210739/HKS.py#L249 It's designed for 3D but I'm sure it could be extended to higher dimensions without too much trouble |
That's awesome. I'll try to add this now. |
Began a port here: Lines 9 to 13 in 69423d7
|
Many people have triangulations of their favorite objects. It could be nice to have a method of taking a triangulation and sampling points on the surface with various levels of noise and density.
The text was updated successfully, but these errors were encountered: