Skip to content

Commit 9af5751

Browse files
committed
Refactored
1 parent 8a77c1a commit 9af5751

17 files changed

+339
-609
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

-38
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

-20
This file was deleted.

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ endif()
2727

2828
add_executable(
2929
${PROJECT_NAME}
30+
# main.c
3031
src/sketch.c
3132
src/cycloid.c
3233
src/fourier.c

CODE_OF_CONDUCT.md

-128
This file was deleted.

CONTRIBUTING.md

-19
This file was deleted.

LICENSE

-121
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ If you want to further study and understand fourier-series and fourier transform
8484

8585
# Licence
8686

87-
This project is licensed under the Creative Commons License. See the `LICENSE` file for more information.
87+
This project is licensed under the Creative Commons License. <!-- See the `LICENSE` file for more information. -->
8888

8989
<img width="1469" alt="zoomed-fourier" src="https://github.com/gyanantaran/fourier-series/assets/95016059/1f9a1961-4517-4607-b35d-7d241ea2ba20">
9090

include/constants.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@
1414
#define POINTS_FILE_PATH "assets/points-svg/peanocurve.txt"
1515

1616
#define MAX_FPS 60
17-
#define NUMBER_CYCLES 1000
17+
#define NUMBER_CYCLES 500
1818
#define MAX_CYCLOIDS 3000
1919

2020
#define SCREEN_HEIGHT 1000
21-
#define SCREEN_WIDTH 1500
21+
#define SCREEN_WIDTH 1500
2222

2323
#define ZOOM_AFTER_ZOOM 25.0f
2424
#define NORMAL_ZOOM 1.0f
2525

26-
#define AFTER_ZOOM_TIME_PERIOD (10000.0f * 1/ZOOM_AFTER_ZOOM)
26+
#define AFTER_ZOOM_TIME_PERIOD (10000.0f * 1 / ZOOM_AFTER_ZOOM)
2727
#define NORMAL_TIME_PERIOD 050.0f
2828

2929
#define MAX_VERTICES 8000
3030
#define DELTA_VERTICES 0.0
3131

32-
#endif //FOURIER_SERIES_CONSTANTS_H
32+
#endif // FOURIER_SERIES_CONSTANTS_H

0 commit comments

Comments
 (0)