Hilbert curve approximation using epicycles/complex Fourier series

Видео: I got inspired to make this video after watching a video made by the YouTube channel Mathologer: The video linked above also does a great job at explaining the mathematics required into make this video. In the first section of the video the red lines/circles represent all counter-clockwise rotating epicycles (or exponents of the Fourier series with positive integers) and the green lines/circles represent all clockwise rotating epicycles (or exponents of the Fourier series with negative integers). In the second section of the video the curves of an increasing order Fourier series are interpolated. This order will jump frequently because due to the symmetry of the Hilbert curve all the even integer Fourier coefficients are zero, so are skipped in the interpolation. To generate this video I used MATLAB (which is not great for making videos, but I made it work) and the code I used can be found here: https://github.
Back to Top