Scripting animation 'repeat' mode

kvmooney shared this question 3 years ago
Answered

Hi

I have a slider which is animated - it starts when a checkbox is ticked. The repeat mode of animation is oscillating.

Is it possible to script a change of the repeat mode to increasing or decreasing. I would like to provide this option to the user via a check box or button.

Many thanks

Kevin Mooney

Comments (4)

photo
1

Hi Kevin


try the attachment.


Raymond


.

https://ggbm.at/2492603


-----------------------------------------------------------------------------------

expanded with "increasingONCE" and "decreasingONCE"

.

https://ggbm.at/2492775

photo
1

Thanks very much Raymond


That worked a treat - very clever solution, many thanks


Kevin

photo
1

oh never mind you have an answer

photo
1

Raymond's gave me an idea for fine control of sliders, which is exactly what I was looking for. See attached.

© 2019 International GeoGebra Institute