def my_function(x, y): """Compute the angles and return a list of coordinates.""" ...