polar_connect function

Connects dots