This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
expressions [2016/02/28 15:36] Wearable Software |
expressions [2016/02/28 16:00] Wearable Software [Built-in operators] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Using expressions to create dynamic | + | ====== Using expressions to create |
Use operators, mathematical functions or conditional statements to build a more dynamic watchface. | Use operators, mathematical functions or conditional statements to build a more dynamic watchface. | ||
===== Built-in operators ===== | ===== Built-in operators ===== | ||
- | Watchface Builder supports | + | Watchface Builder supports |
* Addition: 2 + 2 | * Addition: 2 + 2 | ||
* Subtraction: | * Subtraction: | ||
Line 52: | Line 52: | ||
==== Example ==== | ==== Example ==== | ||
+ | For example if you want a blinking watchface layer set following expression on your opacity property. | ||
+ | < | ||
+ | Every time the seconds value changes and the value divided by two gives no rest, the layer will be displayed. |