r/Python • • Oct 14 '19

When Python Meets Fourier Transform

2.3k Upvotes

122 comments sorted by

View all comments

4

u/log_2 Oct 14 '19

This doesn't look right. There are moments when the biggest circle speeds up. All circles should be rotating at a constant speed, because changing speed changes frequency and each circle is meant to represent one constant frequency.

2

u/kkingsbe Oct 15 '19

I'm pretty sure it just runs faster with certain calculations, which means that the "frame rate" is slowing, but they are all moving at the same speed relative to each other. I ran this same issue with a rocket simulation that I am writing in C++

1

u/Thisnametakenffs Oct 14 '19

They are all spinning at the same constant rate. It only appears to move fast because in order to draw a long line many circles must spin together in the same direction.