Multiple expressions in Tag

Hi,

Sorry if my question is obvious for some, I’m still learning WFS.
I’m working on a face using way bigger MIN hand than HOUR, so it overlaps at times.

In such cases, I’d like to apply some transparency.
I’ve tried a few things like this :slight_smile:

(([HOUR_1_11]==1)+(([MIN]>=1)*([MIN]<=9)?50:100):([HOUR_1_11]==2)+(([MIN]>=08)*([MIN]<=14)?50:100):([HOUR_1_11]==3)+
(([MIN]>=13)*([MIN]<=19)?50:100):([HOUR_1_11]==4)+(([MIN]>=17)*([MIN]<=25)?50:100):([HOUR_1_11]==5)+(([MIN]>=25)*([MIN]<=30)?50:100):([HOUR_1_11]==6)+(([MIN]>=30)*([MIN]<=35)?50:100):([HOUR_1_11]==7)+(([MIN]>=5)*([MIN]<=40)?50:100):([HOUR_1_11]==8)+(([MIN]>=41)*([MIN]<=46)?50:100):([HOUR_1_11]==9)+(([MIN]>=46)*([MIN]<=52)?50:100):HOUR_1_11]==10)+(([MIN]>=52)*([MIN]<=57)?50:100):([HOUR_1_11]==11)+(([MIN]>=57)*([MIN]<=59)?50:100):([HOUR_1_11]==12)+(([MIN]>=00)*([MIN]<=3)?50:100))

But this didn’t work.

I can’t find a thread/guide to learn the operators to use.

Operators are described here.

1 Like

Hello,
Operators are +, -, <, > ,=
You have to inspect the times, when the hands are turned to matching angles (and/or maybe are even closing to same angle)
hour hand angle: [HOUR_1_11]*30 for jumping, or [HOUR_1_11_MIN]*30 for smooth moving hand
minute hand angle: [MIN]*6 for jumping, or [MIN_SEC]*6 for smoothly moving hand.
compare these in the condition for changing opacity
.

1 Like