Skip to main content

circle

Function circle 

Source
fn circle(pixels: &RgbaImage) -> RgbaImage
Expand description

The middle square of pixels, with everything outside the circle that fits it made transparent, and the circle’s edge softened over one pixel.