Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

A Flowing Animation to Represent the Flow of a River

Return to Member Forum

  • Author
    Posts
    • #70973

      Hi,

      I’m looking to create an animation which I will export from InDesign as a SWF in order to bring back in and export again as part of a larger PDF presentation. If I describe the effect I’m after I was hoping someone would be able to tell me if it’s possible or a non-starter before I go ahead and start researching methods.

      The visual is of a river for which I have a colour coded diagram of water flow rates at various points and I intend to place matching colour dots along the path of this diagram which would then fade in and out, immediately followed by the next dot in the downstream sequence in a ripple effect. The dots representing fast rates of flow (red, orange etc) would fade in an out very quickly while the slower areas (yellow, blue) would appear for longer before the next dot along fades in and out.

      In this way the dots representing the centre of the main channel would progress very quickly from the right of the base image (map) to the left and complete their run before the dots representing the edges of the main channel and the artificial secondary channel do. Once all dots have faded in and out right up to the left hand side of the image the animation will start again.

      I hope I’ve managed to get across relatively clearly what it is I’m trying to achieve. I would really appreciate any advice that could be provided!

    • #70986
      Sandee Cohen
      Member

      Hi Twm Harris-Davies,

      David Blatner saw your post and asked me to help. Animations are right up my alley.

      I may not understand all your requirements, so let’s start one thing at a time.

      Watch the mp4 movie at:

      https://www.dropbox.com/s/o9eazv19c0d2ai3/river_movie.mp4?dl=0

      And then tell me what is right or wrong with the animation. And tell me if you want the whole thing to start over. That may need to be triggered by a button

    • #70990

      Hi Sandee,

      Thank you for the response! The dots disappearing at varying speeds relating to their colour is exactly what I’m looking to achieve. I wonder would it be possible for two or more dots to run their fade out animation simultaneously or must it be done one at a time?

      Ideally the animation would start over, automatically if possible, but a button press would be workable.

    • #70992
      Sandee Cohen
      Member

      Twm Harris-Davies,

      You’ve actually made it easier. Here’s what I have.

      https://www.dropbox.com/s/1dp73szw8mdvmi5/river2.mp4?dl=0

      Now, before you get all excited. We need to establish that your PDF will only be able to be played on computers. No iPads or tablets. The SWF file won’t play except on the desktop computers.

      Also, the Acrobat or Adobe Reader on the computer will still need the Flash Player to be installed separately. This makes it difficult to send the PDF to someone who would then have to download the reader.

      If these requirements are OK, I will show you what you need to do. However, there are some other export formats you can use.

    • #70993

      Sandee,

      Thank you, again the effects in that video are exactly what I am after. The animation will run on a laptop/desktop with Flash Player installed so that’s no problem.

    • #70994
      Sandee Cohen
      Member

      OK, now we’re cooking with gas. You don’t need to investigate the other formats.

      The settings are pretty easy. I’m going to send you an ID document that contains all the objects that would create the animation you need. But in case someone else is reading this, here is what you’re going to have to do. (BTW, David and Anne-Marie, it would be great if I could embed GIF or JPG images into a message here on the forum.)

      CIRCLES:
      Each circle is going to be set in the Animation panel using the “Fade In” preset. Set the slower-moving colors to longer durations and the faster-moving ones to shorter durations. The ones I created for you were 6 seconds for the blue, 3 seconds for the yellow. And 1.5 for the red. Use the Animation panel to name the circles. (Red circle, yellow circle, blue circle, etc.)

      Click the option to Loop

      Open the Properties area of the panel (the little triangle) and set the Opacity to Fade Out. Also check the settings for Hide Until Animated and Hide After Animated.

      RECTANGLES:
      Position your rectangles so they are off the document on the right. Choose the animation preset Move Left. Most likely the green line (motion path) will be too short. Double click on that path so you get the control squares and extend it off the page all the way on the left. Name the rectangles.

      Set each color rectangle with the same timing as the duration for the circles. And set them to loop.

      TIMING PANEL:
      Now open the Timing panel and select all the names of the animated objects. Click the little link icon at the bottom of the panel. A line should bracket the objects. This makes them all animate together instead of one at a time.

      TWO OPTIONS:
      1. Use the Pen tool on the motion path to add points to the motion paths. Then use the Direct Selection tool to move those points up and down. This will simulate the look of the movement of water.

      2. Also increase the number of rectangles for the faster colors and stagger them on the outside on the right. This help indicates that faster water has more volume than slower water.

      If it was me, I’d use smaller rectangles for the faster water. It just makes sense to me.

      EXPORT TO SWF:
      I think you understand how to export to SWF and then import back into ID. My suggestion is to put the background art on one layer, the animations on their own layer and the SWF on another layer. That will make it easier to make changes later.

      Use the SWF panel to test what you’re doing.

      Here’s the link to the ID file so you can select each object and see its settings.

      https://www.dropbox.com/s/mstdqmw9bs4mwge/River%20animation.indd.zip?dl=0

    • #70995

      Thank you for the ID file and comprehensive explanation. Unfortunately I only have access to ID CS6 at this time and was unable to open the file.

    • #70996
      Sandee Cohen
      Member

      Oh, that’s no problem. Let me resend it as an IDML. (Fortunately none of the features I’ve been talking about require anything more than CS5.)

      https://www.dropbox.com/s/izpos7ae2ylmsyn/River%20animation.idml.zip?dl=0

    • #70997

      Ha, that’s a relief, I should have mentioned that key piece of information earlier! Thank you so much for the file Sandee, I think I can see how this will come together now. I shall play around with it later this evening and report back!

    • #71029

      Well I’ve put together a test animation which achieves an effect close to what I imagined, I was hoping to be able to send you the PDF exported with the SWF to see if there might be any improvements or refinements to be made.

      However, whenever I export the final PDF the animation does play but over a white box which obscures the background graphic. I’m struggling to find and setting which corrects this.

    • #71030
      Sandee Cohen
      Member

      There’s a setting in the Export SWF for Paper Color. Make sure it is transparent.

      If that doesn’t work, let me know. I have another suggestion.

    • #71035

      Unfortunately the first option didn’t work. The animation continues to play over a white background which obscures the background art.

    • #71043
      Sandee Cohen
      Member

      OK, then select all the objects on the page and export the whole thing as the SWF.

      Then hide all the objects on the page and place the SWF.

    • #71052

      That’s sorted it, I feel confident enough in the animation shown in the proof of concept I’ll link to for the presentation to work.

      The way I’ve set it up is:
      Red Circles: 0.5s Yellow Circles 1.0s and Blue Circles: 1.5s

      At the moment, following the split in the river, in order for the faster moving channel to race ahead of the slower one I place two fast circles i.e Yellow followed by one slower one i.e Blue.

      The animation would look better if, whilst the 1.0s Blue circle animation was running, two 0.5s Yellow circle animations ran too, only one after the other. At the moment if I link them together it seems all three circles would begin their animation at the same time. Perhaps this is a step too far but I thought it would be worth checking just in case.

      Here’s the proof of concept: https://www.dropbox.com/s/jnv532iyrnle5lo/River%20Animation%20Proof%20Of%20Concept.pdf?dl=0

    • #71055
      Sandee Cohen
      Member

      True, if you link all three circles together they would begin their animation at the same time. But try this. Select the yellow circles in the Timing panel and then set a delay. That way they will start at a different time than the blue.

      I hope that helps

    • #71056

      PERFECT! Absolutely perfect! Sandee thank you so much, I could not have done this without your advice. I shall remember to link to a copy of the final version when it is completed so that you and anyone else interested can see it in action!

    • #71057
      Sandee Cohen
      Member

      Twm Harris-Davies wrote: PERFECT! Absolutely perfect!

      You have no idea how happy I am to read this. It is your excitement seeing your vision come to life with my help that is why I teach and train.

      I will be doing a session November 3 or 4 on animations at the InDesign conference in Seattle. Would it be possible for me to use your ID files and artwork as part of a case study I can present?

      If you don’t feel comfortable with someone using your files and artwork, I’ll just link to the proof of concept or the final PDF if it’s finished by then.

      If you want to do this, let me know privately at Sandee@mac.com.

    • #71058

      I’m sure that would be fine! I’ll send you the finished files once they’re done.

    • #71240

      I sent you the email with the files attached Sandee, I just wanted to check you received them alright?

Viewing 18 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads