Calculates the size of canvas based on dots count, size and spacing
Other effects can override this function to calculate their own size
Size calculateSize(int count);