Simple shape morphing in Keynote...?

Hello,


I am seeking help with what should be a simple task (I reckon), but which is turning out not to be...


I use Keynote 9 for my teaching presentations. I need to show semi-transparent coloured regions – superimposed onto maps – that change through time, and I would like to make that change into a fluid animation: simple semi-transparent blobs that change shape. That's all! Simple, huh.


Here are the problems...


- The shapes are irregular (so Magic Move won't do it)

- Keynote 9, so no Flash

- I can get Adobe Illustrator to generate Flash animations and then I should be able to convert them with VideoMonkey into .mp4s... except that VideoMonkey utterly refuses to convert the .swf files generated by Illustrator... No idea what's going on there... Tried everything I can think of, no go.

- Downloaded a trial version of Mac SWF Video Converter, but this seems to make mp4s with black backgrounds... I couldn't see any way to maintain the transparency (and of course Instant Alpha doesn't work on video files)

- I can generate single animation frames in Adobe Illustrator then use Preview to combine them into animated GIFs, but Keynote will not import the result with a transparent background (yes, I can *make* them with a transparent background, but Keynote renders it solid white on import...)

- I can convert the animated GIF to a QT movie (using GIF2MOV), but then I lose the semi-transparency on the shapes themselves.

- I could place each of my Illustrator-generated animation frames onto a separate Keynote slide and have them auto Transition with no Effect – so use Keynote itself as the animation software – but for a halfway decent smoothness in the animation, we're talking a lot of frames and this approach seems pretty inefficient to me... Not to mention a pain to do (as the image on each slide has to be independently aligned... take me for ever!)


For a relatively simple visual effect, this appears to be implausibly difficult to do... 😟 Unless someone out there can see another way of doing it...


😉


Many thanks for any suggestions.

Mac OS X (10.7.3)

Posted on Feb 17, 2012 5:09 PM

Reply
11 replies

Feb 23, 2012 10:53 AM in response to Colin Harrison

Colin,


I'm not quite sure how smooth you need to be, but I was able to cobble together a 4 slide progression that showed areas of Europe changing over time in about 10 minutes.


I used Keynote. On the first slide I placed a general map and then using the Shapres > Free Draw Tool I drew the first area. I then cloned the slide (Option Drag) in the Slide Navigator and then edited the free form shape to expand it over a greater area and change its color slightly.


I repeated this two more times then selected all slides in the Slide Navigator and gave them a Dissolve Transition of about 2.0 seconds and played it. The effect is quite smooth - the background map stays in position and the shapes grow to fill the new areas (and change colors). I used a graduated fill in the shapes with about 50% opacity using the Graphic Inspector.


Here are some caveats & tips: any good work takes time - so plan for it; the shapes can be easily re-edited quickly if you assign a keyboard shortcut for the Shapes > "Make Editable" option; positioning control points on your shape can be tricky - I found using the arrow keys does a great job in moving points small distances without frustration; if you inadvertantly move something you didn't want moved, immediately Undo, don't wait until later to fix it. Adding Control Points is done using the Option Click while editing.


Try It - if you would like to see what I created, contact me by clicking on tmy name above.


User uploaded file


Good Luck

Feb 23, 2012 12:06 PM in response to bwfromspring hill

Hi, thanks for your answer. The approach you describe is what I have been using to date. I was hoping for a more fluid effect... and also for a way to avoid having to redraw the intermediate shapes by hand. (It would be perfect if Magic Move could do irregular shapes! Or indeed that Keynote would handle Flash animations...)


Sigh...


Looks as if this is simply beyond the reach of Keynote, which is a shame... at least until the war with Adobe finds some resolution... 😟


Colin

Feb 23, 2012 2:37 PM in response to Colin Harrison

Colin,


Sorrry this didn't help. I found slowing the transitions between slides did a fine job in growing the shapes. I guess I don't understand what you are looking for... I was able to create all this in abouot 10 minutes. I wasn't going for accuaracy, just proof of concept (and the whole thing is obviously fiction), so research and due diligence would add some time, but in days past, I would have given a first born or two for the ease to do just this.


User uploaded file


Good Luck in your quest.... let us know when you find that magic bullet.

Feb 24, 2012 12:13 PM in response to Colin Harrison

I'm using KN '09 5.1.1 (same build) but on OS X 10.6.8 on iMac 3.06 Ghz intel Core 2 Duo w/ 4 GB Ram - call me old fashioned, but I still have a place in my heart for older but still useful applications that have been paid for - the loss of Rosetta was a deal breaker to upgrade to Lion - that and the odd stories about files that do even odder things since Lion showed up.


I believe there is a difference between an image masked by a shape and a shape filled with color or an image. I believe the actual photo image behind the mask is what causes the whole object to move smoothly from point A to B (look at photos doing smooth MM even with rough edge frames, etc) which doesn't happen with the latter case. But you are right, it doesn't take much tweaking before the whole things reverts back to jumpy behavior. That is sad, but true.


My first proof of concept - creating a free-form shape and on the next slide editing the shape and using an extended dissolve still gives a pretty good illusion of a shape morphing, I think. It is certainly enough for me. And isn't the whole thing about getting the point across that people/states/societies/tribes/what-have-you moved from area 1 to area 2 and not so much that the transition is absolutely liquid?


I have had success moving photos (screenshots with instant alpha to rid the background) of shapes and have been able to squeeze/stretch and rotate/reposition these on the second slide with very smooth movement. The stickier one is the free-handed shape mask - that will move smoothly if not edited on second slide - and can be squeezed/stretched like others. Here are aome shots of what I did - the first shows the first slide - the upper arrow is an image of an arrow, the lower arrow is an masked arrow and blob on one image. The second shot is the second slide - note the lower arrow I moved the blob into view inside the mask (in both cases the mask was simple rectangle). This moved very smoothly. Thesre was also a dotted curved line that was done similarly that moved with all this. All very smooth MM style.


User uploaded file

User uploaded file

Feb 24, 2012 7:07 AM in response to Colin Harrison

Colin,


Last nighht I gave your problem some additional thought and had a minor apostrophe... Shapes, per se do not move smoothly with Magic Move, but photos do. Odd but true. So...


I created a blank slide with a plain, one color background and then I placed various shapes i needed on it (arrows, dotted curvy lines, hand drawn shapes with gradient fills, etc.) and then took screen shots of the individual shapes. (Shift-Cmd-4, drag across the area needed, let go and there is your shot on your desktop waiting for you)


Then I placed the images on the starting slide and used Instant Alpha to remove the background, adjusted their masks and placed them in starting positions.


Then I cloned the slide with all the shape images on it and moved and resized the shape-images on the second slide - moved and grew arrow sizes, stretched shapes where I could, etc.


I set the transition of the first slide to Magic Move and the shapes (actually images now) moved very smoothly from Point A Siza A to Point B Size B Rotation B. The tricky part is loading up on shapes on slide 1 before cloning to slide 2, etc.


It is by no means perfect, but it will give you another tool in your kit for making things move and change on command. Any cheat in a storm is worth having.


The downside is that the shapes are now images of shapes and can't be edited as I did in the earlier demonstration. It is odd indeed that with all the horsepower of modern Macs that smooth rendering of photos works but simple vector shapes don't.


Anyway, try this and see if it doesn't help. Good Luck.

Feb 24, 2012 7:24 AM in response to Colin Harrison

A Post Script: You can get interesting transitions by including images of more than one shape that have only one shape visible in the mask and then move the image within the mask on the second slide so that another shape or part of the image is visible.


Importatnt: to keep the magic move transition smooth, don't change the size of the mask from what it was on slide 1, just move a different part of the image into view. If you change the mask size, you get a jumpy transition - not what you want.

Feb 24, 2012 7:29 AM in response to bwfromspring hill

Interesting idea... I managed to achieve the effect I was after (I'll explain how below) only to realize that what I was actually aiming for was even harder than I had realized...


What I am trying to animate is changing ethnic "territories" over time in South East Asia. These are complicated little shapes that merge into one another and shift about all over the place. As I am dealing with historical territorial (or perhaps more accurately, "distributional") data, I project it onto a purely physical map of Asia that has no modern political boundaries (as they are irrelevant). But this also means (if you are not so good at geography) that your normal visual reference points have gone, and for my students (French university-level language students, not geography majors) I'm sure that the result can be a little difficult to assimilate.


For the past few years, I have been happily fading different, often visually disjunct arrangements into one another, but I have always been only moderately satisfied with the result: the changes can be hard to track visually, which defeats the whole purpose of displaying them this way... I wanted the shapes to flow without interruption (like blobs of wax in a Lava lamp! - Theres an image for you!) – to be visually coherent.


I began therefore thinking about morphing, and Flash animations...


...and ran into all the problems that the tiff between Apple and Adobe has currently left us with. (Don't you like the play on words there... tiff... 😁)


I gave up on trying to animate just the transparent blobs, with a view to overlaying the animation on a static blank map in Keynote, and instead tried animating the whole lot, background map and all, using Adobe Illustrator. The process involves Illustrator's blend tool, and exporting to .swf, then recapturing the .swf files with Snapz Pro X in .mov format, which allowed Keynote to import them.


BUT! The result was still not what I wanted (picky, eh). Illustrator's blend tool does a superb job of translating any form into any other, no matter how complex, but groups of humans moving over land don't move like that! For instance, a circluar region moving to a coastal region, when "morphed" will progressively adopt the shape of the coastline before reaching it, which is just silly. It looks as if the population being represented distribute themselves to neatly match the coast when still about 500kms away (and over the space of several generations). Call me stickler, but it doesn't look right. It isn't right, and it's not what I need...


Sure, any such representation is a vast oversimplification in any case, but superimposing such a specifically impossible visual trait onto the presentation runs counter to the whole idea of doing it for me. It should be iconically plausible (even if not accurate).


So... I'm in a pause... Looking to understand animating shapes better...


I like your screen shot idea tho'. I will have to try it out...


Cheers,


Colin

Feb 24, 2012 7:51 AM in response to Colin Harrison

You've set some pretty high goals. I think I can understand what you want, but as a proverbial guiding star, you can guide on it but you can't touch it.


I also found limited success in one other trick - taking a screen shot of a patch of color (gradient? didn't try but worth checking) then imposing a free-style shape on top, select both the shape and the image and Mask to The Shape.


What you get is a shape of color that will Magic Move and if you are careful, you can edit the shape on the second slide (double click on the shape-mask and the edit points should become visible) and have a fairly smooth transformation of the shapes boundaries as a result. Also worth a try.


Good Luck

Feb 24, 2012 11:24 AM in response to bwfromspring hill

Hm, no, I can't get that to work... With very small changes in the bezier handles, the shape will move smoothly in its initial shape, but then will suddenly "snap" to the new form. With bigger variations, it breaks the MM transition altogether (which just reverts to a fade through white).


BTW, it seems to me that MM's behaviour is the same with freeform masked images as with freeform filled shapes, no? Do you get a different outcome?


Colin

May 18, 2012 1:25 PM in response to Colin Harrison

Colin,


I have had similar problems to solve for transparent overlays for/with

Keynote and iMovie and found an elegant and flexible solution by using

Seashore and MorphX.


In Seashore you are able to draw very quickly transparent contours (with disjunct pieces, holes,

and tunable gradients) over maps as background and export such contours as .png files;


Using a (pressure sensitive) pen tablet (like Wacom) is also supported and very attractive;


In MorphX you can morph those countours into each other with very intuitive handles in

any way you like, and export to small transparent (Animation format) QT movies.

Those movies work directly as stackable overlays in Keynote, but are also composable

in iMovie over any background movie via the Picture in Picture facility.


The result is keeping the advantages of Keynote but avoiding its clumsiness for what

you want to obtain.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Simple shape morphing in Keynote...?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.