Cartesian to polar curves