Hi Adam!
I assum its radians.
Using the PixelMath Expression
iif(abs((1-(abs((sin((xpos()) * (pi()/180))))))*h) > ypos(), 0,abs((sin((xpos()) * (pi()/180)))))
draws the upper and the lower sinus curve side by side.
The expression uses the xposition as degrees, it needs the conversion
from degrees to radians.
basic function is: (sin((xpos()) * (pi()/180)))
extended function is abs((sin((xpos()) * (pi()/180)))) to get the minus results in y as positiv values.
the rest is only for displaying the curve.
Screenshot here:
replacing sin with cos works also.
Gerald