Path functions with polar coordinates