added swirl() and adjusted distort_arc.