Jiggle & Grow 3

The Jiggle & Grow Script is for Adobe's After Effects CC. The script will give you quite a few options for controlling breast jiggle amount, speed, direction, roundness, as well as letting you control any expansion growth. Script 3.0 now has a ScriptUI, in other words it has a window, and now has a Tool section that includes: Mask Simplify & UberKey. The script does a ton for you, but it still requires input from you to tell it where you want things to go. If you want to see the script can really do, watch the tutorial videos below!

Current version: 3.0.1 on 01/31/2017

Download

Download Script
via Google Drive (click the download icon at the top - save it) or from Mega.nz

Note: I'm hoping v3 will work in other languages. However, if you run into failures while running AE in another language you'll need to switch to English - sorry.

Installation:

You need to move the file to the proper place. You're not really installing anything.
The script ( Jiggle and Grow.jsx ) goes into the Adobe After Effects script folder:

Windows: C:\Program Files\Adobe\Adobe After Effects version \Support Files\Scripts\
Mac: Applications/Adobe After Effects version /Scripts
After dropping the script into the proper folder, on your next opening of After Effects you'll be able to find the Jiggle and Grow script in your scripts menu: File -> Scripts -> Jiggle and Grow.



Contents Below:


Pre-Script (or rather, before Step 1)

Mask out your objects/breasts. Using 1 mask, 2 masks, or 3 masks depending on your picture. The order of the masks does matter, the higher up on the list the closer it is to the camera. Setting your masks to "none" can really help with this process. Also, renaming your masks is super useful.

Before you click the Create Reshape button there are two check boxes:

  • Use a simplified mask? The script can attempt to make a simplified version of your mask for you. The advantage of this is you don't have to move every single anchor point you made in the cutout. The slight downside is that the path won't match up 100% when you're moving it. You can add more points if you need more control in areas.
  • Use Smushing Option? This will give you the option to create a line that the breasts will smash up against. You can do a lot with it, so use your imagination. Note: If you're struggling with getting breasts to collide with a high bounce amount, do separate cutouts and put the smush lines between the breasts. Extremely CPU intensive.

Step 1: Create Reshape

In the window, click the button that says "Create Reshape". Depending on how many masks you have (up to 3) the script might ask you a question:

  • Is the Top Mask Clothing? The script can handle a special cover/top mask to create a layer that is a 'top layer'. This top layer is tied to the other layers underneath it so it moves like they do. You'd want to say "yes" if you cutout a bikini, bra, or clothing over the breasts. The top most mask is always the one grabbed for the top layer and if you have 3 masks the top one is automatically grabbed as the top layer.

Use the Expansion Masks to reshape the breasts to the desired size.
Set the Correspondence Points! You can find them under Effects -> Reshape. Press Alt+click to create a correspondence point, then move them as needed.

Step 2: Add Jiggle Controls

After setting your masks up the way you want and setting the correspondence points, click the "Add Jiggle Controls" button. You might get asked:

  • Use Dual Mode? Dual mode is for a mask cutout that you made where you'd want two centers instead of one. For instance, if you masked out both breasts together (there are reasons) you'd want two centers instead of one. Dual mode doesn't always get asked, it depends on the masks and your previous choices.

Step 3: Apply Preset (Optional)

You can apply Preset keyframes to the Jiggle and Grow controls using the dropdown and clicking Apply Preset.


Beginner Tutorial Videos

(1) This video goes through the process of using the script with very little After Effects knowledge. It also cuts out each breast individually, which may be something a new user might want.


(The above image is a link to watch the tutorial via Google Drive instead of YouTube because it contains nudity.)


(2) This video would be for people who are new to After Effects, but not brand new. This video is still for beginners, but doesn't cover as much when dealing with key frames.

Medium Tutorial Videos

(3) This video covers using 3 Masks: A Top Clothing Layer, Front breast, and Back breast. Using 3 cutouts allows for more control than using a single mask in dual-mode, but it takes more work.


(4) This video covers having to use Dual Center Mode. It's the case when you really can't cutout individual breasts (like if she's wearing a shirt). I also use the Advanced Options in this video.

Other tutorials: https://youtu.be/E8G-3maVnKY - The Advanced Tutorial video for v2.0: It covers the Smush Options and other things.

Tools:

  • Simplify Mask: Select a mask (doesn't need to be for the J&G script) and click the Simplify Mask button. It will create a new mask for you. It's not perfect, but can help out. I'd suggest using it only on masks with more than 15 anchor points, but do what you want.
  • UberKey: Uber key works by creating an Uber Mask. This Uber Mask is used to calculate movement onto the original mask (once you apply the Uber Mask) across the entire timeline. Here's a video introduction to what it can do. Here's a basic text rundown:
    1. Select your mask, then click Create Uber Mask. It will duplicate your mask at the current time.
    2. Move the Uber Mask anchor points (for instance move one anchor point to the left 10 pixels).
    3. Now apply the Uber Mask by clicking the button that says Apply Uber Mask. It will move that one anchor point the left 10 pixels every keyframe on the original mask.
    You can create Uber Keys and Clean Keys at the time your scrubber is on. Creating a Clean key will create a keyframe on the Uber Mask that matches the original mask. An Uber Key will match the original mask, but take into account the closest Uber Key's movements.
  • Rate Calculator: Put your time scrubber between two Growth Amount Keyframes. Open the calculator. Then type in the number of bounces you want. If will spit out the required rate to get that number of bounces during that the time between the two Growth Amount Keyframes.


All the options are discussed below with some examples of how they control things:

Growth Amount

Controls the percentage of growth from your cutout mask to your expansion mask. 0 is no growth, 100 is full growth. Sometimes keyframing a spike looks like, as in going from 0 to 50 then quickly dropping to 40. This makes it 'pop' a bit more.

Bounce Amount

The amount the breasts jiggle. A value of 0 is no bounce and 100 puts Dead or Alive to shame. When keyframing, a value of under 10 is nearly unnoticeable, so sometimes going from 40 to 0 will drop the bounce off too quick, so going 40 to 10 to 0 will do a better job.

Rate

The speed the breasts bounce. A value of 0 is no bounce and 100 is all over the place. 30-50 is the realistic range. This is keyframeable linearly. I personally like to slow down the rate as the bounce amount drops.

Initial Bounce Direction

The direction they bounce. It has more of an impact when your roundness setting is closer to a line. Opening up the effect panel in AE (Upper Left panel usually) will give you an angle rotary to help.
There is an odd bug with this at the moment I can't track down. What will happen is you set it to go 'up' and instead it shoots off to the side. If you counter-balance it, it will work just fine... just odd.

Roundness

How circular the bounce is. 0 makes them bounce in a line while 100 is a perfect circle. This is keyframeable.

CenterSmear%Size

For each breast/cutout there is an effect that is at the center, sometimes you want one a bit smaller (or larger) than what is there. The default is 100%, it's what the script has calculated for you. However, if you want a more 'pointy' look, lower the amount to around 75. If you think it looks too pointy at the default, up the value to about 110.

Manual Centers

For each mask you create you'll get a manual center for it. The script uses fancy math to guess at your center, but it isn't perfect. Most of the time you'll need to adjust them a bit. You don't have to put them in the center either, experiment with putting it a bit low or off center.



Advanced Options are found inside the composition after the Add Jiggle Controls is run on a layer called "Advanced Options". They are there instead of on the outside because they are a bit harder to use correctly.

Advanced Option: Avoid Blur

If you think your image looks too blurry compared to the rest of the image, enable this option. It will use a couple sharpeners at the right times to cutback on the blurriness that can happen with the reshape effect. This really shouldn't be enabled until you are ready to render as it is ridiculously CPU intensive.

Advanced Option: Heftiness

The script defaults to around 40 for heftiness. It's a couple of effects that give a bit of weight to the bounces by bulging/puckering certain areas at the right time. Turning this down to 0 will make the breasts look a bit 'faker' or 'perkier', depending on your bounce amount and rate. A high value, like 100... I would describe as... lightweight & floppy?

Advanced Option: Gravity Assist / Gravity Direction

I would have loved to be have this automated, but I can't possible detect the floor of a picture so it remains off by default. A low value is usually good, like 20-30. A value of 100 will prevent any movement against the gravity direction.



Limitations

  • Messing with the original layers creates problems. Now the script will alert you that it can't handle that. That doesn't mean you're out of luck, it just means you must Precompose it (putting all attributes inside the precomp). This is because of the way After Effects switched to handling mask paths - they scale with the scale, but not in their actual placement. The script can't read the scaled version, only the original, so... nope. Just precompose it first and it will be fine.
  • Rearranging layers is a bad idea in between script runs. Don't do it - you will break it. The only thing allowed is dropping a layer on the very bottom of the layers as a background image - it must go under the Flag Layer.
  • If your cutouts get pushed off the image's edge by the effects, it will do some bizarre things. The workaround for this is creating a larger comp to begin with before you mask everything out, then precompose it.




FAQ

What version of After Effects does this work on?
It should work on any version of After Effects CC.

Is it free?
Yes, free to use and create things with! I do ask that you give the script a shout out the first couple times you use it though.

I have a picture, will it work?
Any image will work, but some are better/harder than others. It's entirely up to you and how comfortable you are with After Effects.

I keep making changes but it's not changing anything.
Sometimes AE caches too much or refuses to update what it's cached. To clear that cache go to Edit -> Purge -> Purge All Memory and Disk Cache

It keeps giving me an error! / Not working
A side effect of moving to a Window for the script is that it probably won't error anymore, instead it just won't do anything... If you run into this situation, please send me the .aep file (you don't need to send me the images if you're worried, although that helps with context)

How do I do shadows?
You're on your own, good luck! It's something I'm thinking about, but I don't know how to get the script to handle it yet.

Can it shrink?
Yes. There are two ways to achieve this: A) When masking out the "Expansion" mask, just go smaller instead of larger. If you do this you'll need to keep in mind 100 on the growth option will represent your shrunken breasts. B) Use the Expansion mask like normal, but then start the growth option at 100 and have it go down to 0.

Does this work on video?
The answer is no. However, the tool in this script will help tremendously: UberKey for Masks. This tool will quite literally cut your time in half if your plan is to use Reshape or ReFlex for the growing effect. See tutorial on Uber Key for help on this.

Will you make something for me with the script?
Uh... you can make it, that's why I make all these tutorials. Silly person.




ChangeLog:

Version 3.0
Initial Release.

2 comments:

  1. Hi,
    I'm getting an error very early on in the tutorial. After masking and feathering, I open up the jiggle and grow script. With the masked pre-comp selected I use the 'create shape' button in the script window and get an error:

    "Unfortunately you've adjusted the position or scale properties of the layer:
    If you absolutely must do this, you need to make your adjustments, precompose it, then apply the masks. That order is very specific."

    Ever ran into that error message or even know wtf it means?
    Thanks.

    ReplyDelete
    Replies
    1. The error message is pretty much what the problem is. At some point you adjusted the position or scale of the layer. You might not have done it on purpose, as just clicking on the image and dragging it adjusts its position. The script can't handle those adjustments because of how After Effects handles masks on layers that have their position/scale adjusted from the default.

      If for some reason you really want to move the position of the layer, or its scale, do it at the very beginning, before anything. Then Precompose the layer (right click -> precompose) then start the masking process.

      Delete