It's a bit of a shame that no one in the pod explained exactly how the 2-of-3 shamir secret sharing works, since it's so simple!
So, here is my contribution:
First, let's call S our secret. S is a number or can be represented as such.
We choose a random line that pass through the point (0,S). The lines with this property are the following:
y = a * x + S (where a is a coefficient)
So we choose a at random, and we have generated a line that pass through our secret S. If you know the line, you know the secret by simply substituting x = 0 into the equation.
Now, we want to split this knowledge into 3 pieces. The way to do it is to choose 3 more points on the line, different from (0,S). For example we choose:
P1 = (1, a+S)
P2 = (2, 2a+S)
P3 = (3, 3a+S)
(check that these points are on the line)
Now, how many lines go through two distinct points?
That's easy, only one! So if we know any 2 of these 3 points, we can reconstruct S.
Let's imagine we know P1 and P2.
Then, we can find S this way
2*P1 - P2 = 2*(1, a+S) - (2, 2a+S) = (2, 2a+2S) - (2, 2a+S)
= (2-2, 2a+2S-2a-S) = (0,S)
ta daaaa.
We have our secret back!
This is how a 2-of-3 SSS works. To increase the second number, you simply generate more points (P4, P5, ...). To increase the first number, you need to increase the degree of the polynomial.
wtf is a polynomial? The line we used:
y = a * x + S
is a polynomial, of the smallest degree, which is 1. The degree of a polynomial is the highest exponent of x.
This is a parabola for our secret.
y = a1 * x^2 + a2 * x + S
Note that there are two random coefficient now. With this parabola we can create 3-of-whatever SSS schemes for our secret S. This means we'll need at least 3 points to reconstruct it.
The number of points you need to reconstruct the secret is always the degree of the polynomial + 1. But why? This is left as an exercise for the reader.
https://en.wikipedia.org/wiki/Polynomial_interpolation