Problem with sun rotation

hello I have a problem with the rotation of the sun. the orange dot should be on the left where there is the red one?
the code is
X (160+(cos(rad(-#DWFHS#-160))*29))

Y (77+(sin(rad(#DWFHS#+160))*28))

Hello, I guess you have to exchange the sin and cos functions for the coordinates and remove the 160 value from the expression.

1 Like

Thanks for now I solved it with # DWFKS # in rotation

maybe later I’ll see the possibility of
image rotation in 24h