Calculates the pattern's petal count from the greatest common divisor of the two gears' tooth counts, so when the ratio changes, the symmetry-axis count is set to match and the number of turns it takes the curve to close changes with it