Square
Example Links
Based on work by Inigo Quilez
https://iquilezles.org/articles/distfunctions2d/
Calculate the distance of the point p from the box edge b.
The calculation assumes we're centered on the origin.
Inside the square is a negative value, so we flip it, and use step to get a hard edge.
Output as a grey scale.