In this article, we will see how, thanks to METAPOST and MPLIB LuaTeX, can build an animation illustrating in a mechanical way the Fourier decomposition of closed contour. This is translation by author original article French, published La Lettre GUTenberg number 41 French TeX user group.