This code enable us to visualize a given SVG file using the DFT (Discrete Fourier Transform)
This code makes use of diferent functions:
When a file is selected, it is evaluated. If it is a valid SVG, the path(s) used to make the figure will be transformed to a collection of points. This array will be them transformed to a array of objects with the data of the application of the Discrete Fourier Transform. Once all is calculated, a function represents the objects as epiCycles while the object is drawn on the screen.
Code based on The Coding Train code
This code has used Mika-I's code as a reference to transform a svg to a array of points.