Circle

Based on work by Inigo Quilez

https://iquilezles.org/articles/distfunctions2d/

Calculate the distance of the point p from the radius r.

The calculation assumes we're centered on the origin.

Inside the circle is a negative value, so we flip it, and use step to get a hard edge.

Output as a grey scale.