use polarToCartesian method for center point as well