Skip to content

simonboots/SwiftUIFourierSeries

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Fourier Series Visualisation in SwiftUI

This little app visualises different Fourier series using epicycles and a graph.

Simulator demo

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!