Simple program to find fourier series parameters to imitate image. Algorithm based on gradient descent optimizer.
Basic on: https://fermatslibrary.com/s/drawing-an-elephant-with-four-complex-parameters
Sorce image from paper:
My results:
History of leatning:
Accuracy plot:
You can use it at will and have fun :)