https://iquilezles.org/www/articles/distfunctions/distfunctions.htm