This applet is built to make the replica picture concrete. Move the sampling period T, watch the replica spacing ωs = 2π/T change, and test whether an ideal low-pass filter can recover the original signal exactly.
The key idea is simple but deep: multiplying by an impulse train in time creates periodic spectral copies in frequency. Exact recovery works only when the baseband copy is isolated.
The cosine line spectra are rendered as narrow Gaussian peaks so they can be plotted numerically. The recoverability verdict uses the ideal Dirac-line model, not the finite-width drawing.