Shamir Threshold Secret Sharing: Polynomial Shares, Lagrange Reconstruction and Perfect Secrecy (2D)
A front view of the same threshold scheme: each holder's share plotted as f(i) mod P, keys lighting up in turn and the vault opening at k keys. Same shared algebra as the 3D scene, with the uncertainty-versus-shares curve.
Hide a secret number in a random polynomial over a prime field, hand a share to each key holder and open the vault only when enough of them come together. Change the threshold, the number of holders, the shares collected, the secret and the field size to see that k shares rebuild the secret exactly while k minus one shares leave every value equally likely. A Blender-built vault hall, with exact numerical checks including a brute-force secrecy count.
A front view of the same threshold scheme: each holder's share plotted as f(i) mod P, keys lighting up in turn and the vault opening at k keys. Same shared algebra as the 3D scene, with the uncertainty-versus-shares curve.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install