utils.py
def shift_func(coords,a,b,c,d):
    """ Define the mobius transformation, though backwards """
    #turn the first two coordinates into an imaginary number
    z = coords[0] + 1j*coords[1]
    w = (d*z-b)/(-c*z+a) #the inverse mobius transform
    #take the color along for the ride
    return real(w),imag(w),coords[2]
 Define the mobius transformation, though backwards 
Define the mobius transformation, though backwards
Define the mobius transformation though backwards
def shift_func(coords,a,b,c,d):
    z = coords[0] + 1j*coords[1]
    w = (d*z-b)/(-c*z+a) 
    return real(w),imag(w),coords[2]
def shift_func ( coords , a , b , c , d ) : z = coords [ 0 ] + 1j * coords [ 1 ] w = ( d * z - b ) / ( - c * z + a ) return real ( w ) , imag ( w ) , coords [ 2 ]
Define the mobius transformation, though backwards
Define the mobius transformation though backwards
""" Define the mobius transformation, though backwards """ #turn the first two coordinates into an imaginary number #the inverse mobius transform #take the color along for the ride
coords
a
b
c
d