\documentclass{article}

\usepackage{luapackageloader}
\usepackage{luamplib}

\directlua{dofile("Fourier.lua")}


\pagestyle{empty}

\begin{document}


\directlua{
  plotDecompAnim("f",300,50,0.26,360)
}



\end{document}
