Add a random number every 10 seconds?

I like to use a text filed with a constant number ‘1.3’. Now I like to add a random number between 0-9 every 10 seconds to this number - so that it reads as a static number for example 1.36 >> 10 seconds later: 1.32 >> 10 seconds later: 1.39 >> 10 seconds later: 1.30 …

Any help greatly appreciated…

1 Like

Can not think of any thing off hand. As with all random stuff you have to fake it. Perhaps #DWE#*PI %Xor something like that.

1 Like

Hello @russellcresser Thanks for the info - yes, I found something in one of your postings that might work well. Thanks again…

2 Likes

Let us know if you get stuck. Your Pong stuff tells me you are Running Free now. Enjoy.

1 Like

Hi. I agree, the third digit (alternating with every 10 secs) can only be faked and even then it is hard to maintain it static during a second.
The rand function - rand(0,9)- changes the result a lot within a second. So, not static.
I tried to deduct the third required digit using the expression for MOONAGEPERCENT, truncated it on the 7th position, to have a digit that’s variable enough and use that to fill in the required third digit. It comes close to static and changes with every 10 secs into a new value. Hopefully the face remains awake to show its variability…
I hope it helps, if not, I tried.
Here’s a link to a face which clarifies hopefully:

  1. List item
2 Likes

Hello @pbervoets - thanks so much for the examples - these are very helpful and a good starting point!

1 Like

Now that is Genius @pbervoets . That is right outside the box . Makes me want to go and try a bit of modulus on the moon Distance as well , we could get some truly Cosmic Random from that I am sure . I worked with some seriously clever people but I was the only Genius .Ha Ha .I have more more than a Handful Here . .

Now, I’m sitting on the moon right now! Trying to figure out, how do I ever come back to earth.:sun_with_face::laughing:! I do like the view.
Love what you did and still do on the forum and on Facer, learn(ed) a lot from you and your friends and will continue so. And that is, what life is about. Thanks!!

1 Like