Uploaded December 2014 | Updated November 2026, 2 hours ago
We want to generate points uniformly in a circle, so we try to understand probability density functions to make sure that we generate the points uniformly.
Find the source code here: github.com/BSVino/MathForGameDevelopers/tree/probability-uniformcircle
New video every Thursday. Question? Leave a comment below, or ask me on Twitter: twitter.com/VinoBS
EXERCISES:
1. One technique of generating points in a circle is to generate points in a square and then remove points that fall outside of the circle. Why is this method better?
2. How might you generate random points inside a sphere?
3. Tricky: How might you generate blue noise (from the previous video) inside a circle?
We want to generate points uniformly in a circle, so we try to understand probability density functions to make sure that we generate the points uniformly.
Find the source code here: github.com/BSVino/MathForGameDevelopers/tree/probability-uniformcircle
New video every Thursday. Question? Leave a comment below, or ask me on Twitter: twitter.com/VinoBS
EXERCISES:
1. One technique of generating points in a circle is to generate points in a square and then remove points that fall outside of the circle. Why is this method better?
2. How might you generate random points inside a sphere?
3. Tricky: How might you generate blue noise (from the previous video) inside a circle?










