Math for Game Developers - Procedural Generation (Uniform Sampling of a Circle) @JorgeVinoRodriguez
Math for Game Developers - Procedural Generation (Uniform Sampling of a Circle)  @JorgeVinoRodriguez
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?
Math for Game Developers - Procedural Generation (Uniform Sampling of a Circle)#ROCKTOBER DAY 9Math for Game Developers - Making Randomness (Pseudorandom Number Generators)Math for Game Developers - Model Transform Matrix#ROCKTOBER DAY 6Code for Game Developers - The Memory HierarchyCode for Game Developers - Anatomy of a Memory AllocationProgramming and Math - Stream Feb 14 2016Debugger Programming 1: Checkpoints While RunningMath for Game Developers - Indexed Triangle MeshesFinal Fantasy 7 Original Vs Remake Part 12: May I Have This SquatMath for Game Developers - Axis-Angle Rotation
Jorge Rodriguez |

Math for Game Developers - Procedural Generation (Uniform Sampling of a Circle)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER