https://github.com/antonioberna/fourier-series
Fourier Series (Gibbs Phenomenon) in Raylib using C
https://github.com/antonioberna/fourier-series
c fourier-series gibbs-phenomenon raylib
Last synced: 9 months ago
JSON representation
Fourier Series (Gibbs Phenomenon) in Raylib using C
- Host: GitHub
- URL: https://github.com/antonioberna/fourier-series
- Owner: AntonioBerna
- License: gpl-3.0
- Created: 2024-03-17T18:07:50.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-27T00:19:19.000Z (over 1 year ago)
- Last Synced: 2025-01-13T03:31:50.972Z (over 1 year ago)
- Topics: c, fourier-series, gibbs-phenomenon, raylib
- Language: C
- Homepage:
- Size: 2.79 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fourier-series



## demo
https://github.com/AntonioBerna/fourier-series/assets/60107274/16c3fe8f-530a-4e4e-9533-81c4f845d15c
> [!NOTE]
> For more information about the Fourier series click [here](https://en.wikipedia.org/wiki/Fourier_series#Convergence). While, for more information about the Gibbs phenomenon click [here](https://en.wikipedia.org/wiki/Gibbs_phenomenon).
## mini docs
To use my software you will first have to clone the repository using the following command:
```
git clone https://github.com/AntonioBerna/fourier-series.git
```
now using the `cd fourier-series/` command first and then the `ls` command you will notice the presence of the `Makefile` file. You will need this file to compile the program, and in particular if you want to compile the program you can use the following command:
```
make
```
If you want to clean the program you can use the following command:
```
make clean
```
> [!NOTE]
> For more information you can directly consult the `Makefile` file with your favorite text editor.
Finally you can run the program using the following command:
```
make run
```
That's it.
Below is a table of supported commands:
| Command | Description |
| :---: | :---: |
| UP | Increase the $n$ terms |
| DOWN | Decrease the $n$ terms |
| LEFT, RIGHT | Change wave of Gibbs phenomenon |