Shape tweening

  1. Adobe Animate User Guide
  2. Introduction to Animate
    1. What's New in Animate
    2. Visual Glossary
    3. Animate system requirements
    4. Animate keyboard shortcuts
    5. Work with Multiple File Types in Animate
  3. Animation
    1. Animation basics in Animate
    2. How to use frames and keyframes in Animate
    3. Frame-by-frame animation in Animate
    4. How to work with classic tween animation in Animate
    5. Brush Tool
    6. Motion Guide
    7. Motion tween and ActionScript 3.0
    8. About Motion Tween Animation
    9. Motion tween animations
    10. Creating a Motion tween animation
    11. Using property keyframes
    12. Animate position with a tween
    13. How to edit motion tweens using Motion Editor
    14. Editing the motion path of a tween animation
    15. Manipulating motion tweens
    16. Adding custom eases
    17. Creating and applying Motion presets
    18. Setting up animation tween spans
    19. Working with Motion tweens saved as XML files
    20. Motion tweens vs Classic tweens
    21. Shape tweening
    22. Using Bone tool animation in Animate
    23. Work with character rigging in Animate
    24. How to use mask layers in Adobe Animate
    25. How to work with scenes in Animate
  4. Interactivity
    1. How to create buttons with Animate
    2. Convert Animate projects to other document type formats
    3. Create and publish HTML5 Canvas documents in Animate
    4. Add interactivity with code snippets in Animate
    5. Creating custom HTML5 Components
    6. Using Components in HTML5 Canvas
    7. Creating custom Components: Examples
    8. Code Snippets for custom Components
    9. Best practices - Advertising with Animate
    10. Virtual Reality authoring and publishing
  5. Workspace and workflow
    1. Creating and managing Paint brushes
    2. Using Google fonts in HTML5 Canvas documents
    3. Using Creative Cloud Libraries and Adobe Animate
    4. Use the Stage and Tools panel for Animate
    5. Animate workflow and workspace
    6. Using web fonts in HTML5 Canvas documents
    7. Timelines and ActionScript
    8. Working with multiple timelines
    9. Set preferences
    10. Using Animate authoring panels
    11. Create timeline layers with Animate
    12. Export animations for mobile apps and game engines
    13. Moving and copying objects
    14. Templates
    15. Find and Replace in Animate
    16. Undo, redo, and the History panel
    17. Keyboard shortcuts
    18. How to use the timeline in Animate
    19. Creating HTML extensions
    20. Optimization options for Images and Animated GIFs
    21. Export settings for Images and GIFs
    22. Assets Panel in Animate
  6. Multimedia and Video
    1. Transforming and combining graphic objects in Animate
    2. Creating and working with symbol instances in Animate
    3. Image Trace
    4. How to use sound in Adobe Animate
    5. Exporting SVG files
    6. Create video files for use in Animate
    7. How to add a video in Animate
    8. Working with video cue points
    9. Draw and create objects with Animate
    10. Reshape lines and shapes
    11. Strokes, fills, and gradients with Animate CC
    12. Working with Adobe Premiere Pro and After Effects
    13. Color Panels in Animate CC
    14. Opening Flash CS6 files with Animate
    15. Work with classic text in Animate
    16. Placing artwork into Animate
    17. Imported bitmaps in Animate
    18. 3D graphics
    19. Working with symbols in Animate
    20. Draw lines & shapes with Adobe Animate
    21. Work with the libraries in Animate
    22. Exporting Sounds
    23. Selecting objects in Animate CC
    24. Working with Illustrator AI files in Animate
    25. Apply patterns with the Spray Brushtool
    26. Applying blend modes
    27. Arranging objects
    28. Automating tasks with the Commands menu
    29. Multilanguage text
    30. Using camera in Animate
    31. Using Animate with Adobe Scout
    32. Working with Fireworks files
    33. Graphic filters
    34. Sound and ActionScript
    35. Drawing preferences
    36. Drawing with the Pen tool
  7. Platforms
    1. Convert Animate projects to other document type formats
    2. Custom Platform Support
    3. Create and publish HTML5 Canvas documents in Animate
    4. Creating and publishing a WebGL document
    5. How to package applications for AIR for iOS
    6. Publishing AIR for Android applications
    7. Publishing for Adobe AIR for desktop
    8. ActionScript publish settings
    9. Best practices - Organizing ActionScript in an application
    10. How to use ActionScript with Animate
    11. Best practices - Accessibility guidelines
    12. Accessibility in the Animate workspace
    13. Writing and managing scripts
    14. Enabling Support for Custom Platforms
    15. Custom Platform Support Overview
    16. Creating accessible content
    17. Working with Custom Platform Support Plug-in
    18. Debugging ActionScript 3.0
    19. Enabling Support for Custom Platforms
  8. Exporting and Publishing
    1. How to export files from Animate CC
    2. OAM publishing
    3. Exporting SVG files
    4. Export graphics and videos with Animate
    5. Publishing AS3 documents
    6. Export animations for mobile apps and game engines
    7. Exporting Sounds
    8. Export QuickTime video files
    9. Controlling external video playback with ActionScript
    10. Best practices - Tips for creating content for mobile devices
    11. Best practices - Video conventions
    12. Best practices - SWF application authoring guidelines
    13. Best practices - Structuring FLA files
    14. Best Practices to optimize FLA files for Animate
    15. ActionScript publish settings
    16. Specify publish settings for Animate
    17. Exporting projector files
    18. Export Images and Animated GIFs
    19. HTML publishing templates
    20. Working with Adobe Premiere Pro and After Effects
    21. Quick share and publish your animations

In shape tweening, you draw a vector shape at one specific frame in the Timeline. And, change that shape or draw another shape at another specific frame. Animate then interpolates the intermediate shapes for the frames in between, creating the animation of one shape morphing into another.

Animate allows you to add shape tweens to uniform solid strokes and non-uniform fancy strokes. You can also add shape tweens to strokes enhanced using the variable width tool. Experiment with the shapes you want to use to determine the results. You can use shape hints to tell Animate which points on the beginning shape correspond to specific points on the end shape.

You can also tween the position and color of shapes within a shape tween.

To apply shape tweening to groups, instances, or bitmap images, break these elements apart. To apply shape tweening to text, break the text apart twice to convert the text to objects. See Break apart a symbol instance.

Creating a shape tween

The following steps show how to create a shape tween from frame 1 to frame 30 of the timeline. However, you can create tweens in any part of the timeline that you choose.

  1. In frame 1, draw a square with the Rectangle tool.
  2. Select frame 30 of the same layer and add a blank keyframe by choosing Insert > Timeline > Blank Keyframe or pressing F7.

  3. On the stage, draw a circle with the oval tool in frame 30.

    Now, you have a keyframe in frame 1 with a square and a keyframe in frame 30 with a circle.

  4. In the Timeline, select one of the frames in between the two keyframes in the layer containing the two shapes.

  5. Choose Insert > Shape Tween.

    Animate interpolates the shapes in all the frames between the two keyframes.

  6. To preview the tween, scrub the playhead across the frames in the Timeline, or press the Enter key.

  7. To tween motion in addition to shape, move the shape in frame 30 to different location from frame 1.

    Preview the animation by pressing the Enter key.

  8. To tween the color of the shape, make the shape in frame 1 a different color from the shape in frame 30.
  9. To add easing to the tween, select one of the frames and enter a value in the Ease field of the Property inspector.

    To ease the beginning of the tween, enter a negative value. To ease the end of the tween, enter a positive value.

Creating ease presets or custom eases

Ease presets are pre-configured eases that can be applied to an object on the stage.

A set of commonly used ease presets are available for shape tween. You can select the preset from a list of ease presets and apply it to the selected property. You can also apply a custom ease to a shape tween.

  1. Click the layer that contains a shape tween in the timeline of Animate.

  2. To open the tweening properties, click the Tweening category in the property panel.

    Tweening properties
    Tweening properties

  3. Select the ease preset of your choice from the ease type pop-up dialog. Double-click the preset type to apply. 

    If you choose to apply classic ease, you can also increase or decrease the intensity of ease by moving the slider. 

    Types of easing presets
    Types of easing presets

  4. Click the edit icon next to Ease to apply a custom ease. 

    The Custom Ease dialog displays a graph representing the degree of motion over time. The horizontal axis represents frames, and the vertical axis represents percentage of change. The first keyframe is represented as 0%, and the last keyframe is represented as 100%.

    The slope of the graph’s curve represents the rate of change of the object. When the curve is horizontal (no slope), the velocity is zero; when the curve is vertical, an instantaneous rate of change occurs.

    Custom Ease graph showing constant velocity
    Custom Ease graph showing constant velocity. Open this dialog by selecting a frame in a shape tween and clicking the Edit button in the Ease section of the Property inspector.

    You can save a custom ease and reuse it by choosing your customized ease from the Custom list. Click the Save and Apply button in edit mode after making the changes. In the following screenshot, you can find the customized ease preset with the name MyEase1

    Customized easing preset
    Customized easing preset

    You can use the preset eases across multiple spans in the timeline by selecting the corresponding spans and applying the ease.

    Easing preset for multiple spans
    Apply easing preset for multiple spans

Controlling shape changes with shape hints

To control more complex or improbable shape changes, you can use shape hints. Shape hints identify points that correspond in starting and ending shapes. For example, if you are tweening a drawing of a face as it changes expression, you can use a shape hint to mark each eye. Then, instead of the face becoming an amorphous tangle while the shape change takes place, each eye remains recognizable and changes separately during the shift.

Shape hints as letters
Shape hints as letters

Shape hints contain letters (a through z) for identifying which points correspond in the starting and ending shapes. You can use up to 26 shape hints.

Shape hints are yellow in a starting keyframe, green in an ending keyframe, and red when not on a curve.

For best results when tweening shapes, follow these guidelines:

  • In complex shape tweening, create intermediate shapes and tween them instead of just defining a starting and ending shape.

  • Make sure that shape hints are logical. For example, if you are using three shape hints for a triangle, they must be in the same order on the original triangle and tween triangle. The order cannot be a,b,c in the first keyframe and a,c,b in the second.

  • Shape hints work best if you place them in counterclockwise order beginning at the upper-left corner of the shape.

Use shape hints

  1. Select the first keyframe in a shape-tweened sequence.
  2. Select Modify > Shape > Add Shape Hint. The beginning shape hint appears as a red circle with the letter a somewhere on the shape.

  3. Move the shape hint to a point to mark.
  4. Select the last keyframe in the tweening sequence. The ending shape hint appears as a green circle with the letter a somewhere on the shape.

  5. Move the shape hint to the point in the ending shape that corresponds to the first point you marked.

  6. To view how the shape hints change the shape tweening, play the animation again. To fine-tune the tweening, move the shape hints.
  7. To add more shape hints, repeat this process. New hints appear with the letters that follow (b, c, and so on).

View all shape hints

  1. Select View > Show Shape Hints. The layer and keyframe that contain shape hints must be active for Show Shape Hints to be available.

Remove a shape hint

  1. Drag it off the stage.

Remove all shape hints

  1. Select Modify > Shape > Remove All Hints.

Adding shape tween to strokes with variable width

Animate allows you to add shape-tween to strokes with variable width. Earlier, Animate only supported creating shape tweens for solid uniform strokes and shapes. This limited designers from creating shape tweens for non-uniform strokes, such as strokes enhanced using the variable width tool. Tweening strokes with variable width greatly expands the design possibilities within Animate.

Adding shape tweens to fancy strokes is not different from tweening a shape or a solid uniform stroke. The workflow needs that you define the start and final shape of the tween, and Animate creates the transitional frames of the tween.

About variable width tool

Variable width tool allows you to enhance uniform solid strokes to create beautiful and fancy strokes. For information on how to enhance strokes using the variable width tool, see Enhancing strokes and shapes using the Variable Width tool.

Adding shape tween to variable width strokes

  1. In Animate CC, draw a line using the Line tool.

    Line stroke with stroke value set to two pixels
    A line stroke drawn using the Line tool on Stage with Stroke value set to two pixels.

  2. Use the Variable Width tool to add width at the middle of the stroke (see below figure). For information on using variable width tool, see Enhancing strokes using Variable Width Tool.

    Variable width stroke with value of 68.0 pixels
    Variable Width Stroke created using the Variable Width Tool with Stroke value set to 68.0 pixels.

  3. Select another frame on the timeline, for example frame 30, and create the final shape of the stroke for your tween.

    Final shape added to the last keyframe of the shape tween
    Final shape added to the last keyframe of the shape tween.

  4. Right-click any frame between 1 to 30, and select Create Shape Tween.

Adding shape tweens to variable width profiles

Animate also allows you to add shape tweens to fancy strokes saved as variable width profiles. You can apply width profiles to the start and final shapes of a tween, and allow Animate to create a smooth shape tween.

Width profiles are fancy strokes that are created and saved using variable width tool for easy reuse. For more information about width profiles, see Saving Width Profiles.

To add shape tweens to variable width profiles, do the following:

  1. In Animate, draw a line on stage using the Line tool.

    Line stroke with value of two pixels
    A line stroke drawn using the line tool on stage with stroke value set to two pixels.

  2. On the Property inspector, select and apply a width profile from the Width drop-down.

    Variable width stroke with stroke value of 68.0 pixels
    Variable Width Stroke created using the Variable Width Tool with Stroke value set to 68.0 pixels.

  3. Select another frame on the timeline, for example frame 30, and select a desired width profile from the width drop-down on Property inspector.

  4. To add shape tween to the selected width profiles, right-click on any frame between 1 to 30, and select Create Shape Tween.

Adobe logo

Sign in to your account