Jiggle & Grow 4

This page is now deprecated, there is no newer version of the script being made or maintained.
This page is still up as a resource.

The Jiggle & Grow 4 Script is for Adobe's After Effects CC. It is mainly for adding jiggle to objects, but it also simplifies the process of expanding those objects. The script is basically a tool for applying several effects that have been tied together using expressions and adding controls for those effects. While it does come with 6 presets, the script's power shines in it's customization. Version 4 will take advantage of several things added to the 2018 version of After Effects, but don't worry, it will still work with earlier versions of CC, just using more keyframes.

Current version: 4.2.2 on 2020-01-13

If you run into an issue, please use the Contact Page to email me and I'll try to respond with a solution or fix.

It does work with video, but will require rotoscoping on your end. If you're only interested in enhancing bounce that is already present, rather than adding, try the Extra Bounce tool built into the script.

Download

Download Script
via Google Drive (click the download icon at the top - save it)

Note: The script uses English to tie its expressions together. While this won't be an issue for most people, if you are using AE in another language, try not to rename the script's auto-generated things.

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

Running the Script:

After dropping the script into the proper folder, on your next opening of After Effects the Jiggle and Grow script will be in your scripts menu.

Which can be found: File -> Scripts -> Jiggle and Grow.

The palette window will open up and can be moved around. You do not need to leave it open while working, so feel free to open and close it as you need it.



Contents Below:


What you do with this

What you need to do before pushing any buttons

You need to have at least one mask acting as a cutout on your selected layer. Regardless if you are doing the Reshape or the Jiggle. The order does not matter in which you run them, but I find it easier to do the Reshape first, then the Jiggle.

Expansion (skip if not needed)

If you apply a Reshape, all the script does is ready up a reshape effect for you to use. It will create an expansion mask that you should resize and adjust until things are the size/shape you want. The script will remind you to set up the correspondence points on that reshape effect. [If you need tips, see here]. It may also help to drag a copy of your source and place it at the very bottom of your comp to act as a Background so you can see what you're doing.

Do you have more things that need to be cutout / reshaped?

If you do, go ahead and drag down another copy of your layer and use a mask to cutout this new object on the new layer. There's no limit to how many layers, but be aware all layers in the comp will be tied to the same Control Layer.

At least one mask on each layer? Check.

Now you need to tell the script what you just cutout! If you want only a single jiggle added, use Single Jiggle. If you want two jiggles applied, use Dual Jiggle. The Top Layer will copy all the jiggles applied already and apply them to the selected layer. Then hit Apply Jiggle. Do this for each layer you want Jiggle applied to.

They Move! ... but it's not right.

At this point you should probably apply a preset to get you started, unless you already know what you're doing. Pick which preset you want, then Apply Preset.

General Flow

The first thing you should do is open up the Control Layer. Locate the Center adjustment(s). Move those around until they are where you'd like them to be. The script guesses, but it isn't perfect. After that, just play with the settings until you're happy.


Walkthroughs


The videos are available for download:

Tutorial 1 (Beginner)

Covers the basics of the basics. For people who have either never used the script or never used After Effects.

I forget to mention in this video that you ctrl+click to deselect anchor points. This is really helpful because when you go to Reshape anything the default is to have all the anchor points selected, which is annoying when you want to move just one. So ctrl+click in the viewer somewhere to deselect all the anchor points.


click to download [82MB]

Tutorial 2 (Beginner)

Covers using Dual Center Jiggle or using TopSingleSingle.

These are the two ways to handle a scenario where you can't simply mask out the breast - usually because of clothing, a bikini, etc. In the video I do the same image twice, just with the two different approaches. There is another video below showing the differences between the two methods when the breasts are clothed entirely.


click to download [105MB]

Tutorial 3 (Intermediate)

Covers 3 topics:

  • Expansions that go beyond the edge of the composition.
  • Using Liquify instead of Reshape.
  • Creating areas breasts rest against.

I would suggest just turning off the "Jiggle (Displacement Map)" Effect if your breasts hit the edge of the composition, but if you really want to get around it this video will show you how.
If you want to replace the traditional Reshape Effect with a Liquify Effect, you can. If you do it before adding jiggle, make sure the effect is listed after the reshape effect. If you do it after adding jiggle, move the liquify effect to where the reshape effect is. Do not delete the reshape effect, just disable it.


click to download [110MB]


Tutorial Video (Intermediate)

Covers Editing Video.
This is quite lengthy, but it goes over rotoscoping, how to use the liquify effect for growth or using the script for growth and jiggle.


click to download [217MB]


Tutorial Extra Bounce (Beginner)

This uses a Motion Tracker to track a point on a bikini in order to add extra bounce using the Extra Bounce tool in the script.


click to download [63MB]

Other Walkthroughs


I've made a couple other tutorials that are more generalized and aren't specific to the script (like how to do Shadows). They can be found with the Walkthrough tag.



Options in Detail

The 3 types of Jiggle

Each Jiggle can be applied to a layer and will use whichever mask you have selected as its cutout.
If you don't select a mask, it will choose the first one automatically.

  1. Single Center Jiggle: Will create a jiggle with a single center using the details of the mask grabbed from the selected layer.
  2. Dual Center Jiggle: Will create a jiggle with 2 centers. It guesses based on the mask's anchor points where to put the centers, but you will likely have to manually adjust them a bit to get them into the right spot. The jiggle may overlap a bit depending on how large you set the certain controls.
  3. Top Layer Jiggle: Doesn't create any centers of its own, but will apply all of the previously applied Jiggles to it. Technically it doesn't matter how many jiggles are under it, but realistically you'd be having just 1 or 2 jiggles under it. It's named "Top Layer" because its primary use is for clothing that is on top of the breasts. While it can technically be re-applied if you end up changing jiggles underneath it, I would recommend always creating this layer/jiggle last and placing it on top.

Deciding Which Jiggle to use

  • If you're cutting out just one breast, your only choice is single jiggle. Even if you have 2 breasts to do, but they're going to be separate masks, you'll need two separate layers that will both get a single jiggle.

  • If you have breasts that could be masked out together, you have a choice to make:
    • Use two single cutouts on two separate layers, but rely on one being more in front of the other to cover up the missing part.
    • Use a single mask and apply a Dual Center Jiggle.
    • Depending on the situation, you might use 2 Single Jiggles and a Top Layer Jiggle.

J&G Controls


After Applying a Jiggle on any layer, a null layer called J&G Controls will be added to your composition. In the Effects area of this layer are where all the Controls will be placed. A composition can only have 1 J&G Control layer.

Motion Type

There are two motion types: Standard which is based on Bounce Amount and Bounce Speed, and Spring which is based on Forces and Mass. You can't convert between the two, so I suggest saving before you apply the jiggle effect so you can try things out without having to start over.

Motion Type: Force

Force:

It's how much force you're putting into the motion. This is very different than bounce amount though. Mainly because Force is persistant, so it's more like a poke than anything. The typical use for it is to start at 0, raise it up to around 40 real quick and drop it to 0 just as fast.

Dampening:

It's how much resistance there is in the spring. A higher dampening will make the spring quicker to fight bouncing and wanting to return to 0.

Spring Strength:

It's how much force the spring puts into returning back to 0. A low spring strength will let the spring cover more distance, and a high spring strength will cause it to snap back very quickly and forcefully.

Mass:

Pretty self explanatory.

Motion Type: Standard

Bounce Amount

Controls how much actual movement happens in the bounce.

Keyframeable: Yes
Limits: 0 to 100

Expression Notes: Tied to FinalVector + the "Center For ..." [which is after manual adjustment from user]

Bounce Speed

Controls how quick the bounce happens.

Keyframeable: Yes, but only linearly.
Limits: 0 to 100

Expression Notes: Tied mainly to FTP (FakeTimePassed) and timeSubtract. FTP is basically an value override for AfterEffects default time. TimeSubtract is so if the user sets the bounce amount to 0 it will consider that a complete bounce session, thus starting over at the next bounce and respecting initial bounce direction.

Bounce Size (%+)

The radius of the bounce. 100% is the default value of what the script calculates the breast size to be.

Keyframeable: Yes
Limits: 0 to no upper limit

Expression Notes: 100% is the size the script gets from the mask's size (MaskBustSize).

Roundness (%)

Controls how round the bounce movement is. 100 is a perfect circle, while 0 is a straight line. It is heavily dependent on the Bounce Direction.

Keyframeable: Yes
Limits: 0 to 100

Expression Notes: BounceVector is where this is calculated, PendVector is based on Bounce Vector, FinalVector is based on both.

Stiffness (%)

It's very subtle, but lower values will add a bit more of a "flop" to the bounces. Higher values add a bit of rigidity to the bounces.

Keyframeable: Yes
Limits: 0 to 100

Expression Notes: Only respected by the Pancake (Bulge), Pop (Bulge), Pucker (Bulge) effects.

Gravity Amount (%)

Controls the how the bounce moves at the end of the bounces. As the Bounce Amount decreases and goes lower than 65% of the Gravity Amount, it will slowly transition into a more pendulum like movement instead of a circular motion.

Keyframeable: Yes
Limits: 0 to 100

Expression Notes: PendVector control the pendulum calculations. FinalVector is after taking into account both BounceVector and PendVector.

Gravity Direction

The direction gravity pulls in.

Keyframeable: Technically yes.
Limits: -360 to 360, but it loops.

Expression Notes: Used in PendVector and FinalVector.

Center Adjustments

The script makes an attempt at guessing the center of the mask(s), but it isn't perfect. Adjust this to be where you want the center of the bounce to be. Sometimes intentionally moving this lower/higher can create interesting effects. Click on the Effect in the control layer and a little circle icon will appear on your video/image: drag it to the desired location.

Keyframeable: Yes
Limits: None.

Expression Notes: "Mask Center for ..." is the mask's calculated center, "Center for ..." is the center after the Center Adjustment.

Bounce Direction

Is the rough initial bounce direction at the beginning of a bounce. Depending on how quickly the Bounce Amount increases and what the Bounce Speed is at depends on whether or not this effect is accurate when using a high roundness value- sorry. For low Roundness values, it will control the angle of the line the bounce moves in.

Keyframeable: No. Don't.
Limits: -360 to 360 degrees, but will loop, so no real limit.

Expression Notes: Used in BounceVector, PendVector, and FinalVector.

Reverse Direction

Reverses the direction of the Bounce.

Keyframeable: No.
Limits: On or Off.

Expression Notes: Used in BounceVector and FinalVector.



Spring Null

New in 4.0.3 is under the tools tab, called Spring. It will add a null to your composition that will have quite a few options on it to control a spring. The null's Position is where you would want to tie your effects to.

The idea is you apply a force from a particular direction and it will "poke" the spring with that much force and from that direction. So that means typically your force keyframes will be pretty tight together going from 0->100->0, or something like that.
The difference between "Dampening" and "Spring Force": Dampening is like the friction the spring goes through, so think of a higher value more like the object is in mud. Spring force is how strong the spring is, so how much it's going to want to snap back and how quickly.

Everything in this is keyframeable, which is really cool. Note: To make working with effects easier, the spring's position is [0,0], which is in the far upper left. Also, keep the Dampening above 10... going below that can cause weird things.

Duplicate Frame Removal

The new tools show up under the tools tab! One is for removing duplicates frames that appear in a pattern, the other is for adding extra movement to a tracked point.

If you've ever worked with a video file from Gfycat, you may have noticed that there are duplicate frames. It depends on what file was originally uploaded, but Gfycat seems to only have a handful of frame rates it likes. So if you upload a file in 48fps it will encode it in 59.94fps with every fourth frame duplicated. I'm not sure if this is Gfycat or whatever tool people use to modify/upload the videos in. What the new tool does is ask you how often the pattern repeats and how many of those frames are duplicates:

The red frames would get dropped. The tool will then add an expression to the layer and drop a pattern of frames, in addition it will also change the composition's frame rate so the duration of your footage stays the same. In the time remapping expression there is a value right at the top that you may need to change. It starts at 0, but if you run this script and there are still duplicate frames, increase this value by 1 and see if the pattern matches then. Keep adding 1 until the duplicates are removed. This works on rounding, so it's possible the pattern may not match up on the first frame, which this little shift value adjusts the pattern's position.

Extra Bounce

This may turn into something more later. Here's the basic idea: What if you have a casual jiggle, but you want more jiggle?
That's basically what this does. If in After Effects you use a motion tracker to track let's say a nipple, then use this tool, you'll get a null layer that is effectively your track but with more bounce. You can then use that with a CC Smear effect to basically make more jiggle! It's actually pretty nice, I was surprised. It has 2 controls: How far back it needs to look and a shift control.

The "How far back it goes" is measured in frames and it's basically how many frames should be considered when guessing where the jiggle starts. A higher value of how far back it goes creates a much sloppier/smoother jiggle. A lower value creates a very tight/smaller extra jiggle.
The shift value is if you want it to look into the future, so a value of 1 represents looking a single frame ahead. 0 is the default. This is designed to add extra bounce, not pre-emptive bounce, but I guess you could do that if you wanted to.

One downside right now is this does not work well if the camera is moving a lot, it can handle a little but not too much.

23 comments:

  1. will this work in Gimp?

    ReplyDelete
  2. So helpful! thank you!

    ReplyDelete
  3. The script isn't working with the spanish version of CC 2018 due to warning expressions... is there any help you could provide?

    Thanks!

    ReplyDelete
    Replies
    1. Does it give you a line number or error message? That'd help track it down

      Delete
  4. Well it just says that the error is at Line 1 because "Slider" from class "Effect" does not exist. Same goes with "Point" and with other lines such as Line 12 and Line 2.

    ReplyDelete
    Replies
    1. Does the error show up in a pop-up window only or does it show up mainly as an orange-yellow bar below the viewer?

      What I'm trying to figure out is if it's a problem in the script or in the expressions the script generates. If it's in the expressions I don't know of an easy way to fix it unfortunately.

      Delete
    2. They appear on an orange-yellow bar below the viewer. There are 32 errors.

      Delete
    3. Ehh, well... this certainly is not an easy fix. What's happening is After Effects in another language doesn't look for the same structure: Layer.Effect.Property (at least using English words). So all the expressions are likely failing because of that. I'll see what I can do, but it's going to take some time to fix. I'm sorry it doesn't work, I'll try to fix it this weekend.

      Delete
    4. Got some time today and it was a lot easier than I thought. Please download version 4.1.2 and see if it works now. If it doesn't, please let me know what the error is by clicking on the magnifying glass that appears in the orange bar. I tried to get all the properties, but it's very possible I missed one.

      Delete
    5. Thank you very much!! It still has some expression errors but it works fine!

      Delete
  5. I get this error when I try to apply jiggle to one of my layers. The other works fine.
    "Error: After Effects error: Value 6 out of range 1 to 5."

    ReplyDelete
    Replies
    1. That can happen if your mask gets modified after running the script. I'm assuming your mask had 6 points and now it only has 5, or something very similar to that.

      Delete
  6. Hello I have it in German
    When opening "single center jiggle" and "aad jngle"
    No matter what name I enter
    always get this error message:
    Warning: class `Effect` has one property
    "Horizontal Radius" expression deactivated.
    Line 1 error
    Level 3 (name)
    Feature: "Vertical Radius"
    then the image is distorted at one point.
    Maybe they can help.
    greetings from Germany

    ReplyDelete
    Replies
    1. Hi - I made some changes to try and fix this:
      https://drive.google.com/file/d/1Z7gJaAtTM2rQ43kvFH2bQmbjC8DU41ks/view?usp=sharing
      Please try this version. Delete the old version and put this version in its place, then restart After Effects if you had it open. Hopefully it should work! If not, please let me know what the error is like you did before.

      Delete
  7. The problem is solved, many thanks

    ReplyDelete
  8. https://pbs.twimg.com/media/ESZazc1XcAAeF-5?format=jpg&name=large plz breast expansion

    ReplyDelete
  9. Hello, same problem as Dave above. "Error: After Effects error: Value 6 out of range 1 to 5". Except you suggested it occurs if the mask is modified after applying the script. I have not modified the masks however.

    Love your work btw.

    ReplyDelete
    Replies
    1. Where does the error pop up - In the orange warning bar or as a major alert pop up that forces you to click OK? What button are you clicking in the script's window before this error occurs?

      Delete
  10. not sure if you're still working on this, but thanks for sharing it. i come back to mess around with it from time to time, it's great.

    ReplyDelete
    Replies
    1. Thanks, I've tried a couple other ways of doing this, but so far this version of the script seems to be the best all-around at it.

      Delete
  11. I've sent you an email with some questions!

    ReplyDelete
  12. I've sent you an email hopefully you've gotten it

    ReplyDelete
  13. How do u download it on a phone?

    ReplyDelete