Skip to content

Novel visualisation of how a Fourier Series approximates a square wave.

Notifications You must be signed in to change notification settings

Greveley/FourierVisualisation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fourier Series Visualisation

This program uses PyGame and Numpy to visualise how a Fourier series approximates a function (in this case a square wave).

As you move your mouse right and left across the screen the number of coefficients in the Fourier series increases or decreases. You can see how the approximation of the series improves with increasing coefficients as the RMSE decreases.

The animation is inspired by one seen on the wikipedia page for Fourier Series (https://en.wikipedia.org/wiki/Fourier_series).

Images Of Running Code

alt text alt text

About

Novel visualisation of how a Fourier Series approximates a square wave.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages