PPolySim OS
For K-12 Students · Fourier Series

Fourier Series for a Voronoi diagram

Built for k-12 students learning it in middle or high school. Watch the idea come alive with plain-language steps and everyday examples — perfect for projects and homework. Simulate a Voronoi diagram live below — adjust the inputs and watch it respond, right in your browser.

Fourier Series BuilderLive

Controls

Add harmonics and watch sine waves sum into a square, sawtooth, or triangle wave — the Fourier series in action.

Presets

▶ Run in Python

Data Inspector

Wavesquare
Harmonics8
Basissine

Governing equation

Reading this result: Reconstructing the square wave from 8 sine harmonics. More harmonics sharpen the reconstruction and pull it closer to the ideal shape. But at each discontinuity the Gibbs phenomenon leaves a persistent ~9% overshoot spike — adding terms only narrows that ripple, it never removes it, no matter how many harmonics you sum.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →

More with Fourier Series

Frequently asked questions

Is this good for k-12 students?
Yes — this version of "Fourier Series for a Voronoi diagram" is framed for k-12 students learning it in middle or high school. Watch the idea come alive with plain-language steps and everyday examples — perfect for projects and homework.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.