This was first done in C++, it is ASCII because it was used in the terminal. In HTML it can be any char encoding.
~*~ ~*~ ~*~ ~*~ ~*~ ~*~ ~*~ PHASOR FREQ ~*~ ~*~ ~*~ ~*~ ~*~ ~*~ ~*~
\[ FPS=30,\qquad LastFrame=3600=2minutes \] \[ \mathrm{Frames} \leftarrow \left(\mathrm{Frames}+1\right) \bmod \mathrm{LastFrame} \] \[ \mathrm{Phase} = 2\pi \left( \frac{\mathrm{Frames}}{\mathrm{FPS}} \right) \left( \frac{\mathrm{PhasorInput.value}}{10000} \right)^{1.75} \] Phasor
\[
x=\frac{n}{N},\qquad C=2.59285714286
\]
\[
B(\mathrm{Phase})
=
0.8\left(
\frac{
\sin\left(\frac{2\pi\cdot 3}{7}\mathrm{Phase}\right)+1
}{2}
\right)+0.2
\]
\[
A_m=
\frac{
\sin\left(
2\pi\sin\left(\frac{m\,\mathrm{Phase}}{7}\right)
+
2\pi\,x\,(m+1)\,0.5
\right)
}{m+1}
\]
\[
Y_{m,-1}=0
\]
\[
Y_{m,k}
=
\frac{B(\mathrm{Phase})}{C}
\left[
Y_{m,k-1}
+
\frac{
\sin\left(
7(k+1)2\pi\,x
-
2\pi\cdot1.33\,(\mathrm{Phase}+k)
\right)
}{k+1}
\right],
\qquad k=0,\ldots,6
\]
\[
S_{-1}=0
\]
\[
S_m
=
1.25\,
\frac{
\dfrac{S_{m-1}+A_m}{C}
+
Y_{m,6}
}{
1+B(\mathrm{Phase})
},
\qquad m=0,\ldots,6
\]
\[
\boxed{\mathrm{SumWave}=S_6}
\]