Skip to content
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

Add methods to generate random points within a circle and a ring #28

Merged
merged 1 commit into from
Oct 26, 2020

Conversation

Xrayez
Copy link
Contributor

@Xrayez Xrayez commented Oct 26, 2020

Allows to generate uniformly distributed points using GoostGeometry2D within:

Circle

Screenshot 2020-10-26 160024

Ring (ranges specified by outer and inner radiuses)

Screenshot 2020-10-26 160050

On the circle's boundary:

Screenshot 2020-10-26 160146

@Xrayez Xrayez added the feature 💡 New feature proposal label Oct 26, 2020
Xrayez added a commit to goostengine/goost-examples that referenced this pull request Oct 26, 2020
@Xrayez Xrayez merged commit 70b9ba4 into gd3 Oct 26, 2020
@Xrayez Xrayez deleted the rand-point-circle branch October 26, 2020 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant