Welcome CozyG
This is something I use to turn things inside out
http://www.fractalforums.com/fragmentarium/fractal-plus-change-of-domain-mashup/uniform bool Invert; checkbox[false]
// coordinate to invert to infinity
uniform vec3 InvertC; slider[(-5,-5,-5),(0,0,0),(5,5,5)]
// performs the active c = T(s)
vec3 domainMap(vec3 c)
{
float s = dot(c,c);
return c/s + InvertC;
}
...
then before the iteration loop where z = incoming position ...
if(Invert) z = domainMap(-z);
a number of the latest series of images I posted
here in the Fragmentarium gallery use this in 2D and a few
3D animations