Harmonic Content Explorer
How to Use
- Click the Square, Sawtooth, or Triangle preset buttons to load standard waveforms
- Adjust individual harmonic amplitude sliders to build a custom waveform
- Observe the time-domain output and the frequency spectrum simultaneously
What to Observe
- Square wave: only odd harmonics (1st, 3rd, 5th...) with amplitudes 1/n
- Sawtooth wave: all harmonics present with amplitudes 1/n
- Triangle wave: only odd harmonics with amplitudes 1/n² — converges faster
- Adding more harmonics sharpens corners and improves waveform accuracy