ayoubdkhissi / Fourier-Series-Visualization-with-Python-pygame

Visualization of Square, Triangle, and SawTooth waves using Fourier series with python & pygame

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Visualisation of Square, Triangle, and SawTooth waves using Fourier series with python & pygame

How to run the application

  • Download or clone the whole repository
  • Make sure you have python3 installed
  • install pygame using the followin commande: "pip install pygame"
  • Run the main.py file using python IDE or any text editor

After running the app:

  • Choose the function to visualize
  • Press UP or Down key to increase or decrease number of iterations
  • As the number of iterations gets bigger, the function's representation gets more and more accurate

Project Report explaining everything in details(but in French ☹ ):

https://drive.google.com/file/d/1QmS5ccyOU0uygIjBe1uzRX0w3vahNDt_/view?usp=sharing

Ressources:

Overview

Main Menu:

Menu

SawTooth wave:

sawtooth

Triangle wave:

triangle

Square wave:

square

About

Visualization of Square, Triangle, and SawTooth waves using Fourier series with python & pygame


Languages

Language:Python 100.0%