News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

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.

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 237 (show)
Files included: 32 - 1207KB. (show)
Memory used: 1092KB.
Tokens: post-login.
Cache hits: 13: 0.00124s for 26,767 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]