Previous Page Next Page Synchronize Contents Help Show Index

Example: Transforming an Object's Shape

This example illustrates how to use control points to transform one shape (a square) into another (a star).

  1. Choose File | New and create a Paint operator called Transform with the following settings:
  2. Click OK.
  3. A new branch appears.

  4. Select black as the foreground color.
  5. Select a medium-sized brush.
  6. On the Toolbar, click the unfilled Rectangle tool and draw a square in the middle of the viewport.
  7. Select the square object and click the Control Points option to turn on its control points.
  8. Position the cursor over the middle of the square's top horizontal edge.
  9. The cursor changes to the following: . This indicates that by clicking, you can add a control point to the object.

  10. Add three control points across the top horizontal edge.
  11. Add one control point to the middle of each vertical edge.
  12. Add one control point to the middle of the bottom side.
  13. The square should look like this:

  14. Make sure the Animate button is enabled (red).
  15. Move to the last frame of the animation, select the Rectangle object in the Timeline, then press the  . (period) key to extend the object's duration throughout the length of the animation.
  16. Position the square's control points so that they form the shape of a star.
  17. Scrub through the animation. You can see the square transform to a star.

Previous Page Next Page