Here’s a demo of fourier series in desmos, the naive implementation is unusably slow, but using some clever tricks with lists and caching it can be made fast.

Here’s a demo of fourier series in desmos, the naive implementation is unusably slow, but using some clever tricks with lists and caching it can be made fast.