for each pixel
If dist to pixel from the center (or any x,y) < threshold
Pixel = Black
else
DoNothing;

This will draw a filled circle.