3d sphere transformation
Merge https://github.com/emmaai/fractalM