Watch Face Studio Opacity with Gyro

Hi All,

I am very new to Watch Face Studio and am trying to design a watch face with reverse opacity using the gyro action. For example, I can make items fade out with the gyro action but is there a way I can make items fade in onto the screen with the gyro? I would like to make an image go from 0 opacity to 100 with a 45 degree tilt?

Many Thanks.

1 Like

Welcome @mohosin.miah . Sorry any response was delayed . I was working on another Platform and the others are very busy with other stuff . I like playing with the Gyro in WFS it is very smooth and we have a joystick simulator .
For starters I always make a text box with the Formula in it to see what goes on .
You will see that the gyro gives an angle 0 to 90 . So multiply the data By two and it will do the job for you .
Obviously if you want to be totally accurate we have to do a bit of work on the Factor .
If you want the Negative tilt to work we will need to get abs involved .
Have a look a this and see .
Obviously this is for the opacity of an Image
.

(([ACC_A_Y])*2)

This will give you exactly 100% at 45deg tilt up or down .
.

(abs(([ACC_A_Y])*(100/45)))

Hey Russell, how can you get it to to fade in from say 20 degrees to full opacity at 45 degrees? Like transparent from 0 degrees to 20 then revealing itself after that.

1 Like

It might be best to use something like clamp . I will have yo make a test I can not do the maths without testing it .

1 Like

Because I started my Face making journey on Faver I tend to use Tags to get things working . There are lots of presets for the Gyro but I just get completely lost there . I see you have asked elsewhere . It will be interesting to see a solution based on them .

You can always have a play and see what Happens . Samsung are keen for us to use the Presets and not tags but I just get lost too quick .

Pop this into the opacity Layer of your image .

((((clamp([ACC_A_Y],20,45))-20)/25)*100)

I have used the descriptive method for the formula .

It takes the gyro Y axis reading and clamps it to give a number between 20 and 45 .

20 is subtracted to make the result of that start at Zero .

If we divide the results by the difference we get a number 0 to 1

Then we multiply that by our maximum giving us 0 to 100 .

1 Like

wow this seems much more elegant than my method, i figured out this formula

((\[ACC_A_Y\]>30) + (\[ACC_A_Y\]<-30))?((-30*6) + (abs((\[ACC_A_Y\])*(7)))):0

Edit: Upon testing your formula i had to modify it to work when the watch tilts both ways by adding an abs function (which you taught me!) to the accelerometer value

((((clamp((abs(\[ACC_A_Y\])),20,45))-20)/25)\*100)

This formula allows me to tilt the watch and a larger version of my digital time display appears on screen so its as if the digital watch “zooms in” and enlarges when you tilt it toward or away from you

1 Like

Brilliant well done . I wondered about abs

But I wanted to keep it simple . I find it difgicult to remember or assess others skills levels so It is easyer for me keep it simple .

I will archive your Formula . Thank you .

1 Like