fixed #79 by introducing drawLineOnTorus()