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.

21 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
  2. Hi Snapple,

    I'm getting this jarring issue where I will go through a piece without problems, but when I render it, the mask(s) stand out from the rest of the piece. They are a lighter tone than everything else. I used to be able to use "preserve transparency" to fix it, but now when I do that, it will not show any changes on the render.

    Also, thanks for the script and all of your exceptional work.

    ReplyDelete
    Replies
    1. I haven't heard of anything like that and can't think of anything that would cause it - sorry. I can take a look into it if you send me the .aep file and image though

      Delete
    2. I've had that happen. just drag an extra copy of the image to the very very bottom layer. it seems to work.. because reasons?

      Delete
    3. This was solved via email: The script creates a temporary background layer if you don't have any layers under the layer being used for the script. It does this to help you see what you're changing - however, this layer has an opacity of 70%. If you have AfterEffects showing transparency on a black background, like default, it will make everything appear darker/lighter than it should.

      Delete
  3. I have CS5,
    appears to be a few issues.. for one the jiggle effects don't load. At all.
    For another, I can stretch things around as in the video, but when you slide the preview back and forth through time... it's.. just flat. stays the same.
    I assume this is because I am using CS5 and not CC.. but I don't exactly have the upgrade fundage for CC. Do you perhaps have a slightly older version of the script that works with older versions of After Effects?

    ReplyDelete
    Replies
    1. This script requires CC. I do have a really old version (called Jiggle and Bounce) that I don't think used as many expression bits so it might work in CS5, but I can't guarantee that it will:
      You can download it here:
      https://drive.google.com/folderview?id=0B3eoUN9Pzu2jclk5bTN5OVNmZ3M&usp=sharing

      Install and quick start:
      https://snapplepapple.blogspot.com/p/jiggle-and-bounce-script-download-and.html

      Tutorials:
      https://snapplepapple.blogspot.com/p/after-effects.html?zx=35b8e407f2df9934

      That was basically version one of the script, so if CS5 can't run that I'm afraid you're out of luck. It also didn't have as many catches in it, so it's entirely possible that script just fails out of the box when in CS5, I have no idea what it will do, sorry.

      Delete
  4. Having a strange error on the SECOND breast, following the beginner instructions as close as possible (the text in the vidcap is kind of fuzzy when trying to see what exactly you are clicking on). Layer one works great (except terrible brightness distortion.. but I fix that by adding another copy of the image at the end, which works..because reasons?). I mask, reshape, morph, shift around the points so it flows nice, add jiggle controls, apply a preset, and bam, its good.
    Then I drag the original image back to the bottom like you do, and it seems ok.. except A) when I get to the morph part, the layer is partially transparent, which the only 'fix' I found is hiding one of the layers above... and B) when I get to the add jiggle, it tells me I need to have a layer where step one and two are completed.. and C) Sometimes.. SOMEtimes, but not consistently, when I click the reshape button it tells me there are 6 errors.

    Am I doing something wrong? (short answer I guess is yes).
    I DID read that you said only the top layer is adjusted by the script, and to not re-arrange layers. I thought maybe I had to move the new second breast layer to the top for it to work, but that broke it. (and when using a 3/4 angle view I am guessing I should do the "back" breast first because of this?)

    .. sorry that's so longwinded.

    ReplyDelete
    Replies
    1. Try this:
      Before you run the script at all, make sure you have a layer on the very bottom acting as a background layer. So you'd have something like:
      - Front-most Breast
      - Back-most Breast
      - Image acting as BG

      Then mask out both breast layers. [If it helps, make one layer visible at a time] Then, having all the layers visible, run the script all the way through like the tutorial for one layer. Then run the script all the way through for the other layer.

      You should never have to move layers around mid-script run, that would throw things off quite a bit.

      As a side note: The only time the order of masking / running the script is important is when you're doing it all on one layer. Then you must work from front to back.

      Delete
    2. Almost. I have 3 layers, Breast front, breast back, Background.
      I mask Breast one. Mask Breast two.
      Keep layers visible.
      Then Breast one Run ReShape script, then nudge around the layer to morph to desired shape and size. Then go in effects layer and add those points in the reshape option. Then add Jiggle controls. Layer 1 works.
      Then Breast two run ReShape script, then nudge around layer to shape and size, then effects layer and reshape with those connecting points.. then add Jiggle controls, and it WILL condense that breast layer like it does with breast one, and it WILL ask me now if I want single or double...
      But when I go to apply preset on that breast it still says "Please select layer where steps 1 and 2 are completed".
      No error messages in yellow running along the bottom of the image anymore..
      So.. i can now add the morph but no jiggle.

      Should I just not to "add jiggle" until both layers have been reshaped?

      Delete
    3. You don't have to apply a preset, it should automatically have one applied. With that in mind, after step 2 (applying jiggle) does it actually animate?

      Delete
    4. yes, but also no. it will animate with the default 1 fast grow. but there is no option to adjust the second breast.
      so, I can select layer one and change it all I want, use presets, manual controls if i understood them enough. but breast 2 doesn't allow to apply a preset, and always animates with one fast growth.

      no matter how i animate breast one, breast 2 just has the one option.

      i was hoping to do a double growth with a 1 second delay on the back breast and a double with a half second delay on the front, (or vice versa) but I can't even get them both to double grow. :/

      Delete
    5. If you can, email me the .aep file and image you're working on and I'll take a look at what it is you're trying to do.
      snapplepapplemorphs (at) gmail (dot) com

      Delete
    6. will do that tonight (this morning? it's 1am..)

      Delete
  5. Is it normal for my AE to becomes super slow as soon as I click on "create reshape"?

    It will take forever to render the preview, and the program becomes very unresponsive until I delete the Comp that has the main part of the script

    ReplyDelete
    Replies
    1. The script applies quite a few effects, so it's going to slow down. Most of it depends on the size of the image you're working on and the speed of your computer.

      That being said, you can turn down the preview resolution to speed things up quite a bit: It's a little dropdown below where you can see the preview, by default it says "Full" or "Auto". I usually work in half or quarter when doing animations because of how slow things get.

      Delete
    2. that works, I was using a super ridiculously high resolution pic too so that could be it...

      Could you tell me what your RAM, gpu, etc are? Just to know if Im way too far behind on that

      Delete
    3. I have 32GB of ram and a nvidia GTX 10 series gpu - though the GPU isn't really a bottleneck. The three things in order of performance gains for After Effects are processor, ram, and storage.

      After Effects is annoying in that it doesn't really benefit from more than 2 cpu cores, but rather raw speed. I have an i7 6700k that has done me well. That being said, when I edited 4K footage... it was a struggle, even in a lower resolution. The storage part is because AE caches footage, so the faster and larger you let the cache go, the more helpful it is.

      Delete
    4. I know right! I have similar specs and the render times can get ridiculous at times. Thanks for sharing that!

      Delete
  6. in your video can you zoom on the option you select/click. I am unable to see the steps in video

    ReplyDelete