Simple animation

Started by Jennifer, August 13, 2017, 01:17:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jennifer

I would like to animate the attached Visio document so that it will start with the images in the first page (180) and slowly rotate the 4 circles as shows in the subsequent pages until the phantom square appears.

I understand that this will require code. Is this reasonably easy to do? Would anyone care to take a first cut at it? I would appreciate it.

-jm
Using Visio 2019, part of Office 365 on Windows 10

Croc

It's easy.
You need to add a timer and process its events.

Croc

Jennifer, I used an uneven rotation. The list of values corresponds to the list of pages in the source document.
If the rotation step should be constant, you need to slightly modify the NextStep function.
The interval is set in the tStart function of the TimerMod module in milliseconds. Now it is 500 milliseconds.

Yacine

Veeery nice. Will add this to my collection of stuff to reuse.
Yacine

Jennifer

Quote from: Croc on August 13, 2017, 07:12:34 AM
It's easy.
You need to add a timer and process its events.
Thanks, Croc. That's perfect. I wanted this to demonstrate a visual effect for my granddaughter -- how the brain constructs a white square when the Pacman are properly aligned. This will be perfect. Thank you very much.
Using Visio 2019, part of Office 365 on Windows 10

Croc

Granddaughter likes to play toys?
Here's the game about the terrible Chupacabra.