I need help with a formula. I have two circles. One is bigger than the other. I know the X, Y and R of the bigger one, but only Y and R of the smaller one, and that X is bigger than the bigger circles X. I also know how much percentage of the smaller one should be overlapped by the bigger one.
For example: The bigger one always have X1 = 150, Y1 = 250 and and R1 = 150. This will never change.
The smaller one have X2 > X1, Y2 = 250 (fixed number), R2 > 0 and R2 < 150 and that the percentage that should be covered by the bigger circle is >= 0% and <= 100%.
Does anyone know a formula for calculating what the samller ones X2 have to be in order for, for example 40% of it to be covered by the bigger one? Example photo: how far should I move circle B to the left?
