Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonboots/SwiftUIFourierSeries
A Fourier Series visualisation written in Swift/SwiftUI
https://github.com/simonboots/SwiftUIFourierSeries
fourier-series ios macos swift swiftui
Last synced: about 2 months ago
JSON representation
A Fourier Series visualisation written in Swift/SwiftUI
- Host: GitHub
- URL: https://github.com/simonboots/SwiftUIFourierSeries
- Owner: simonboots
- Created: 2019-11-04T11:18:38.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-05T07:19:36.000Z (almost 4 years ago)
- Last Synced: 2024-08-02T09:26:59.877Z (5 months ago)
- Topics: fourier-series, ios, macos, swift, swiftui
- Language: Swift
- Size: 4.14 MB
- Stars: 247
- Watchers: 7
- Forks: 26
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-swiftui - simonboots/SwiftUIFourierSeries - A Fourier Series visualisation written in Swift/SwiftUI (Samples)
- awesome-swiftui-libraries - SwiftUIFourierSeries - A Fourier Series visualisation written in Swift/SwiftUI (Chart / Content)
README
# Fourier Series Visualisation in SwiftUI
This little app visualises different [Fourier series](https://en.wikipedia.org/wiki/Fourier_series) using epicycles and a graph.
![Simulator demo](https://github.com/simonboots/SwiftUIFourierSeries/raw/master/Images/sim_demo.gif)
The number of functions and the type of series can be changed. The following series are supported:
* Square Wave
* Saw Tooth
* Triangle
* PulseIt builds and runs on iOS and macOS using Catalyst.
I started this little project to familiarise myself a bit more with SwiftUI and its drawing APIs. It is not meant to be perfect SwiftUI and I am sure there are probably better ways of doing things. Any feedback is appreciated!