Display random string from a list of words?

hi guys,
I have a technical question about creator. I’d like for a text element of a watchface to display a random word that’s been drawn from a pre-defined pool. i.e. show either “hello” or “world”, etc.

You can make a circle of words, in example you put a word every 10 degrees, so 36 words in total.
Then you put the ((wakeRand(1,36))*10) expression in the rotation field of your circle image and every time the watch wakes up it show a different word.
This is an example, I used it to get a different planet every time it wakes up.

1 Like

Similarly, just make a bunch of text layers and put the following in the TRANSPARENCY field:

$wakeRand(1,X)=Y?100:0$

Where X is the maximum number of text choices you’re choosing from and Y is the current number you’re testing for.

So, a list of 10 items would be:

$wakeRand(1,10)=1?100:0$
$wakeRand(1,10)=2?100:0$
$wakeRand(1,10)=3?100:0$
$wakeRand(1,10)=4?100:0$
$wakeRand(1,10)=5?100:0$
$wakeRand(1,10)=6?100:0$
$wakeRand(1,10)=7?100:0$
$wakeRand(1,10)=8?100:0$
$wakeRand(1,10)=9?100:0$
$wakeRand(1,10)=10?100:0$

This basically translates to “When the watch wakes up pick a random number from 1 to 10, if it’s X, then visibility is 100, otherwise set it to 0”

1 Like

First off @orz0 that effect you created is amazing. I’m very impressed with this space face. I’ve not seen anything like it before. Well done! I was going to suggest doing it the way @cth4242 explained but I don’t know now. You make a very compelling argument. Haha.

Thanks i’m glad u like it.
Anyway I think that @cth4242 method is easiest to been implemented, also because if the number of words u need is big, u will need a bigger circle image with my method, and bigger u need it, lower will be the zoomed quality.