Skip to content
This repository has been archived by the owner on Mar 25, 2022. It is now read-only.
/ FourierPlotter Public archive

Use complex Fourier Analysis to draw svg images

License

Notifications You must be signed in to change notification settings

ianchen-tw/FourierPlotter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pypi badge

FourierPlotter

Use complex Fourier Analysis to draw svg images

input(svg image) output (num_terms=5000)

Installation

pip install fourierplotter

Usage

fourierplotter <inputfile> --output=<outputfile>

Command Line options

  • dpi
  • --output (string, default=fourier_plotter.mp4): output filename
  • --verbose (flag, default=True): toggle progress bar
  • --preview (flag, default=False): output to live video
  • --num_terms (default=500): number of terms (in complex Fourier Analysis) to approximate target svg image
  • --duration (default=10): number of second of the output video

Example

  1. cd to repositiry directory

example1

  • fourierplotter sample_input/office.svg --output another.mp4

example2

  • fourierplotter sample_input/office.svg --output another.mp4 --num_terms 5000 --dpi 300

About

Use complex Fourier Analysis to draw svg images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages