The following applet illustrates how, unlike the continuous Fourier series, the discrete Fourier series converges to an exact representation of a periodic waveform in a finite number of steps.