ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Mac OSX Dock Genie Effect...

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
James Choi
Mac OSX Dock Genie Effect...
on Feb 11, 2009 at 1:59:11 am

I've been doing a lot of searching on CC but have not found a proper way to create the genie effect. The magnifying part of it I've managed to figure out but not the positioning part of it.

Return to posts index

Filip Vandueren
Re: Mac OSX Dock Genie Effect...
on Feb 11, 2009 at 12:43:36 pm

Hi James,

I've been trying to tackle this.
The thing is that the Genie effect does a couple of things at once:
Hold shift while you minimize a window, and it will do it in slow-motion.
The hardest part is, that as soon as the warped window hits the dock, the dock starts to draw the small icon bottom to top: this is not a side effect of warping the window: it is a separate layer that is being drawn. The Warped layer actually never changes height: it's masked by the dock. When you maximize, you see that the icon suddenly disappears and the reverse warp starts.

That being said. I did an effect that, apart from that icon drawing, looks very similar to the genie.
It uses "Bezier Warp" with expressions for every parameter.

Here you can see the bezier warp in action:

First, a "guide-layer" has to be animated with a start position and an end-position for scale and position.
The Bezier Warp then bases itself on those keyframes and using a bunch of different ease-functions, warps the window.

Again: not entirely the same as Mac Os, but hopefully close enough.
Tweaking the ease-functions of the four vertex points gives a lot of variation.

This is what it looks like with a photo:

Here's how to do it.

  1. Download my animation preset: Genie.ffx
  2. create a comp with your 'genie'-layer.
  3. duplicate the layer and call it "Genie Guide" (hide the first layer for now)
  4. set a keyframe for Position and Scale : this is the start (maximized) position.
  5. a bit further in the timeline, set 2 new keyframes for Position and Scale: this is the minimized position 'in the dock'
  6. hide your "Genie Guide" layer.
  7. re-activate and show your original layer.
  8. apply the animation preset "Genie.ffx" to it.
  9. in the effect's controls, under "Guide Layer" choose your "Genie Guide" from the pop-up.
  10. animate the "Genie_time" slider between 0(maximized) and 1(minimized) (there are already grow and shrink keyframes in the ffx)

that's it.

Return to posts index

John Grainge
Re: Mac OSX Dock Genie Effect...
on Jan 2, 2010 at 3:44:33 pm

Hi Filip, great response, I am absolutely deperate to create this effect somehow. Do you know where else I can get your genie.ffx preset as the link has expired I think? Many thanks. keep up the good work.


Return to posts index

Perry Kroll
Re: Mac OSX Dock Genie Effect...
on Apr 25, 2013 at 5:24:32 pm

You deserve a medal for posting this. Thank you.

Return to posts index

JP Pelc
Re: Mac OSX Dock Genie Effect...
on Jun 6, 2016 at 3:43:15 pm

How did you get the genie.ffx file? The link gives me a 403 forbidden error

Return to posts index

Rafael Braz
Re: Mac OSX Dock Genie Effect...
on Dec 7, 2019 at 1:09:43 am

hey! would you mind uploading the ffx again? ☺
or send me by e-mail...

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2020 All Rights Reserved