News for hackers. Stuff that matters.
Re:My Fourier Epicycles by loa_in_ on Sunday August 23, 2020 @01:49PM (#24253744)
Why does it use two sets of vectors?

One sum of vectors is enough to trace any continuous line.

Re:My Fourier Epicycles by lordnacho on Sunday August 23, 2020 @07:01PM (#24256013)
Here's a hypnotic version with one sum:

https://youtu.be/-qgreAUpPwM

Re:My Fourier Epicycles by hinkley on Sunday August 23, 2020 @05:31PM (#24255447)
Perhaps so the animations are outside of the drawing area?
Re:My Fourier Epicycles by golem14 on Monday August 24, 2020 @12:50AM (#24257593)
And I would guess you get fewer artifacts - the version linked in a sibling comment with just one end has a lot of factors and yet is not very accurate.
Re:My Fourier Epicycles by falseprofit on Sunday August 23, 2020 @03:53PM (#24254762)
Yeah, this is pretty annoying. Starting with a function from the circle to the complex plane, the Fourier series decomposes it into a sum of exponentials, which are circular motions about 0. This version with x and y coordinates separated overcomplicates and confuses. And with a four-dimensional output, there are 2 unused dimensions whose values are arbitrary.
Re:My Fourier Epicycles by physicles on Sunday August 23, 2020 @09:42PM (#24256857)
I wonder if this means the problem is under-determined (too many degrees of freedom) and that leads to numerical instability. Certainly one set of equations is enough, as 3Blue1Brown’s Fourier transform video shows.
Re:My Fourier Epicycles by hardmath123 on Sunday August 23, 2020 @09:19PM (#24256769)
I implemented such a version in Scratch back in 2016! https://scratch.mit.edu/projects/117304786/

Here’s a gif of that if the project player doesn’t work for you: https://github.com/kach/gifblocks/blob/master/gallery/fourie...