Capítulo 919 de 988

Chapter 919: makeTransform()

Core Idea

_Part of the @remotion/animation-utils package.

Key Concepts

  • API
  • Usage
  • Transformation Functions
  • matrix()
  • matrix3d()
  • perspective()
  • rotate()
  • rotate3d()

Code Examples

const transform = makeTransform([rotate(45), translate(50, 50)]);
// => "rotate(45deg) translate(50px, 50px)"

const markup = <div style={{ transform }} />;
  • What it demonstrates: Usage pattern for makeTransform() from the official docs.

Key Takeaways

  1. Understand api when working with makeTransform().
  2. Understand usage when working with makeTransform().
  3. Understand transformation functions when working with makeTransform().
  4. Understand matrix() when working with makeTransform().
  5. Understand matrix3d() when working with makeTransform().

Connects To

  • Interpolate Styles: related page in the Animation Utils (@remotion/animation-utils) section.