绘制此图的公式是什么?

What is the formula for plotting out this graph?

R G B 正弦波的公式是什么?他们都开始相同,但随着他们的进步略有偏移。

我完全按照 this 页面并使用 Paint 测量了必要的变量

# For Blue
A =  0.5
B =  2*pi/0.328
C = -0.08
D =  0.5
Blue(x) = 0.5 * sin(2*pi/0.328 * (x - 0.08)) + 0.5

# For Green
A =  0.5
B =  2*pi/0.382
C = -0.095
D =  0.5
Green(x) = 0.5 * sin(2*pi/0.382 * (x - 0.095)) + 0.5

# For Red
A =  0.5
B =  2*pi/0.5
C = -0.12
D =  0.5
Red(x) = 0.5 * sin(2*pi/0.5 * (x - 0.12)) + 0.5

当我绘制这个函数时,结果与你的图像非常相似