Add spring behavior to strokes with tubes
 
 
 

You can easily add springs to strokes with tubes to give the tubes reactive, interconnected motion. By animating the movement of the surface with the springed tubes on it, the tubes will react appropriately.

When you add spring behavior to a stroke, Paint Effects creates an expression that makes the tubes behave like springs. You can edit this expression in the Expression editor.

To add spring behavior to brushes

  1. Select the stroke. The stroke must be on a paintable surface. For details, see Paint on objects.
  2. Select Paint Effects > Brush Animation > Make Brush Spring > .

    The Make Brush Spring Options window opens.

    To see the effect of the spring, move to a frame after the Start Frame (at least two frames after) and transform the object. For example, if the Start Frame is set to 2, move to frame 5.

  3. Switch to the scene view, if you are not already in it, and keyframe the movement of the surface. For details, see the Animation guide.
  4. Click the Play Forward button to check that the tubes are behaving the way you want them to.
  5. Render the animation. See Render a scene with Paint Effects strokes.

To edit spring settings

  1. Select the stroke.
  2. Select Paint Effects > Brush Animation > Make Brush Spring > .

    The Make Brush Spring Options window opens.

  3. Modify the settings and click Create. Paint Effects replaces the existing expression with a new one using the modified settings.

To remove spring behavior from a stroke

  1. Select the stroke.
  2. Open the Expression editor ( Window > Animation Editors > Expression Editor).
  3. Apply the Expression Name filter (Select Filter > By Expression Name).
  4. Under Expressions, select the expression for the stroke.
  5. Click the Delete button.

To bake the spring animation

  1. Select Paint Effects > Brush Animation > Bake Spring Animation > . The Bake Brush Spring Animations window opens.
  2. In the Start Frame box, enter the first frame to bake in the animation.
  3. In the End Frame box, enter the last frame to bake in the animation.
  4. Click Bake. Paint Effects bakes the expression for each frame in the specified range so the spring behavior will render properly.