SDF Moon#

Inputs#
float Distance | default 0.2float Radius1 | default 0.5float Radius2 | default 0.4Behaviour#
Outputs the signed distance field for a Moon. The moon is constructed from two circles defined by Radius1 and Radius2 which are subtracted from each other, while still preserving the SDF. Distance determines how far the circle with Radius2 is from the center of the function. Distance of 0 allows for creation of a donut shape.
