Combining Accelerometer with transparency?

Hi @ll.

I experimented a little bit but as i am very poor in coding i need help.

Is it possible to create a fading effect on layers with the accelerometer expression (transparency field)?

What i want to try is some sort of opalizing effect depending an the wrist rotation, with changing transparencies of coloured layers. Something like a nacre look.

Anyone any good idea how to achieve such an effect?

Greetings, GAUSS.

1 Like

In one of my experiments I have tried this two antagonist layers to simulate something similar…
(100clamp(gyroX()+gyroY(),-20,20))
(100-100
clamp(gyroX()+gyroY(),-20,20))
it is a little bit “improvisation” without rules but it is a starting point

2 Likes

I tried to use gyro for gloss. This is probably the best result I’ve ever achieved.

(-round(gyroX()*90))

2 Likes

@petr.patocka Thanks. The gyro gloss effect is very nice but i used this already on my „GAUSS-Tourbillion“

@dario.marnoni:

This formula is for the transparency field? I will try to experiment with it.

Could it work with the accelerometer as well?

Thanks a lot both of you for your help!

1 Like

@dario.marnoni:

Tested a little bit around with your formulas and enhanced them. Looks quiet good already.

Accelerometer is working as well but gyro seems to be better.

Just a testing range:

Testet with my Ticwatch : positive!
But I cannot see a heart on my watch… Already deleted :wink:

1 Like

Pffft. No hearts on my watch…

:joy::joy::joy:

Was just a placeholder from another project.

1 Like

Hello.
I’ll liven it up a bit here. I found many posts on this topic, I tried the various codes and tags mentioned here, but all to no avail. I also tried synchronizing the clock face, which are here, but nothing worked, the desired effect did not work. This is a GW 5 Pro and I would like to achieve the same effect as in WFS in the video. Thanks for the advice.

Try this .

(accelerometerRawY()*3)

In the rotation field of your Image .

You can preview this working in the Mobile Apps .

1 Like