Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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
* Pulse

It 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!