Fractal 3D function generator