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

errata: rejection sampling a unit disk #3

Open
leggcg opened this issue Sep 29, 2021 · 0 comments
Open

errata: rejection sampling a unit disk #3

leggcg opened this issue Sep 29, 2021 · 0 comments

Comments

@leggcg
Copy link

leggcg commented Sep 29, 2021

Caption of figure 13.6: Rejection Sampling a Circle. One approach to finding uniform points in the unit circle is to sample uniform random points in the unit square and reject all that lie outside the circle (red points). The remaining points will be uniformly distributed within the circle.
The circumscribed square is 2x2.

The title of the example where that figure is located is: Example: Rejection Sampling a Unit Circle
Changing to unit disk would make it clearer, or even to points inside a unit circle to go with the idea of the inside/outside test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant