#curve #plot #fourier #polynomial #function #bounded #terms

erosion

A library to plot fourier curves and functions

5 releases

0.1.4 Dec 15, 2021
0.1.3 Dec 15, 2021
0.1.2 Dec 15, 2021
0.1.1 Dec 14, 2021
0.1.0 Dec 14, 2021

#232 in Visualization

MIT license

45KB
1K SLoC

Erosion

A crate to plot Fourier curves and Functions

Function

Functions are a list of bounded polynomials

Bounded Polynomials

Bounded polynomials are polynomials valid between a user defined domain

Polynomials

Polynomials are simply a list of terms

Terms

Terms are a structure defined 'coef * x ^pow'

Curves

FourierCurve

A list of curves

Curve

a curve is defined in the form 'mag * sin(fre * x + phase)'


lib.rs:

Erosion A library to plot Fourier Curves and Non-Continous Functions

Dependencies

~4.5–6.5MB
~108K SLoC