How to make slider repeat n times?

mihail.smirnov shared this question 6 years ago

I have to do slider which repeats, for example, 20 times. And then next instructions should be carried out.

So, when перемещение(1,2 and 3) is done 20 times, slider maximum value changes into рандом(1,2 and 3). Старт - to start animation, Стоп- to stop it. Sorry for my english.

Comments (3)


Make a slider "a" that goes from 1 to 60 and is "Increasing (Once)" then define

  1. b = Mod[a,3] + 1

and "b" will go 1,2,3,1,2,3,1,2,3,1,2,3,... 20 times


Thank you a lot!

Could you tell me please what does mod mean? Or easily send a link for wiki, because there is nothing in Google about "mod".

© 2022 International GeoGebra Institute