@remotion/gsapv4.0.517
Use GSAP timelines in Remotion.
GSAP normally advances animations on its own ticker, which runs on the wall clock. Remotion requires every frame to be a pure function of useCurrentFrame(). This package builds a paused GSAP timeline and seeks it to the current frame, so previews, scrubbing and renders are deterministic.
- Remotion CLI
- npm
- bun
- pnpm
- yarn
npx remotion add @remotion/gsap
This assumes you are currently using v4.0.517 of Remotion.npm i --save-exact @remotion/[email protected]
Also update
remotion and all `@remotion/*` packages to the same version.Remove all
^ character in front of the version numbers of it as it can lead to a version conflict.This assumes you are currently using v4.0.517 of Remotion.pnpm i @remotion/[email protected]
Also update
remotion and all `@remotion/*` packages to the same version.Remove all
^ character in front of the version numbers of it as it can lead to a version conflict.This assumes you are currently using v4.0.517 of Remotion.bun i @remotion/[email protected]
Also update
remotion and all `@remotion/*` packages to the same version.Remove all
^ character in front of the version numbers of it as it can lead to a version conflict.This assumes you are currently using v4.0.517 of Remotion.yarn --exact add @remotion/[email protected]
Also update
remotion and all `@remotion/*` packages to the same version.Remove all
^ character in front of the version numbers of it as it can lead to a version conflict.Also install gsap itself, which is a peer dependency:
- npm
- bun
- pnpm
- yarn
npm i --save-exact gsap
pnpm i gsap
bun i gsap
yarn --exact add gsap
APIs
License
MIT