Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.37 KB

README.md

File metadata and controls

39 lines (23 loc) · 1.37 KB

Fourier_drawing

A Python script that draw any svg file using the associated fourier series and epicycloids.

Usage

From the terminal use python -m main filename.svg coeffnumber [boolean_show] where:

  • filename.svg is the svg file to draw

  • coeffnumber is the number of fourier coefficients to compute

  • boolean_show to show/hide the circles and points

Dependencies

The program dependencies are numpy, matplotlib, cmath and svgpathtools.

The needed versions can be found and installed from requirements.txt

Example

From the file :


We can get the following result :
Number of coefficients Result
10
50
100

What I plan on adding

  • Possibility to use jpeg or png images.
  • Improving animation speed by removing circles with a small radius which do not add much details