Skip to content

Drawing an arbitrary path from an SVG using Fourier series epicycles

License

Notifications You must be signed in to change notification settings

GR-Code/fourier-series

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fourier-series

This utilizes N number of vectors to draw an arbitrary path using the Fourier Series.

Here's an attempt to replicate over the weekend what was illustrated in 3blue1brown's excellent video on the subject.

Running the notebook installs the following packages:

numpy
svgwrite
svgpathtools 
matplotlib

The script is capable of approximating one path from an SVG (as long as it's in the same working directory) in terms of N vectors. The value of N and the file can be swapped out if needed. Constructive criticism is always welcome.

Attribution : "Icon made by Freepik from www.flaticon.com"

Releases

No releases published

Packages

No packages published