Hello, I am working on a project that traces a looping bezier spline connected with piecewise equations with a definite complex fourier series that I hope to animate later. Right now I am struggling to get rid of the lag that occurs whenever I change the length of the series or edit a control point of the spline. The issue escalated after I switched from using sum-function based integration to integral-function based integration.
Sum based: (\sum_{n=0}^{b}\left(\left(\left(\left(\int_{0}^{b}\left(e^{\left(-1\right)^{n}\operatorname{round}\left(\frac{n}{2}\right)2\pi ki}Z\left(k\right)\right)dk\right)\right)\right)e^{\left(-1\right)^{n}\operatorname{round}\left(\frac{n}{2}\right)2\pi ti}\right))
vs.
Integral based:\sum_{n=0}^{b}\left(\left(\left(\left(\frac{\int_{0}^{b}\left(e^{\left(-1\right)^{n}\operatorname{round}\left(\frac{n}{2}\right)2\pi ki}G\left(8k\right)\right)dk}{b}\right)\right)\right)e^{\left(-1\right)^{n}\operatorname{round}\left(\frac{n}{2}\right)2\pi ti}\right)[1]
My three main plans for addressing this lag have been 1) go back to sum integration
, 2) replace piecewise function for spline with some other one(?), or 3) find a way to define bezier spline designs in a separate graph and copy-paste them into the fourier rendering graph.
This is my current graph (will not be changed with progress for continuity). Any feedback or advice on the best path forward is greatly appreciated.
There is supposed to be a traced pattern here in orange
(note the lack thereof) ↩︎






