DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to build beat-synced motion graphics for a short video with Framefields

Use BeatGrids and LayerAnimation to time text and shape motion to the beat of a music track.

Short answer: Run pnpm add framefields; then load an audio track and create a BeatGrid from it, using the Audio & Procedural SFX section of the Framefields.dev/docs guide; create several Layer.text entries and give each a LayerAnimation with fromTo or fadeIn keyframes timed to beat positions. All steps.

  • Content
  • Intermediate
  • 60 minutes
  • From the README
  • Claude Code
  • Codex
  • Cursor

Who it is forA social media video editor or motion designer who needs short kinetic typography cut to music and does not want to keyframe by hand.

The problemMatching each text move to a beat in a desktop motion tool is slow, and small timing drift shows up in the final edit.

The outcomeA rendered MP4 in which text entrances and motion land on frame-accurate beat positions from the audio.

What you need first

  • Node.js 22 or newer
  • pnpm, to run `pnpm add framefields`
  • A GPU with WebGPU support (macOS Metal, Linux Vulkan, or Windows D3D12)
  • A coding agent such as Claude Code, Cursor, or Codex, if you want the agent to write the composition

Steps

  1. Run pnpm add framefields
  2. Load an audio track and create a BeatGrid from it, using the Audio & Procedural SFX section of the Framefields.dev/docs guide.
  3. Create several Layer.text entries and give each a LayerAnimation with fromTo or fadeIn keyframes timed to beat positions.
  4. Add the composition to a Composition with a matching fps and durationFrames, then call renderVideo with an output path. (inferred, check the README)
  5. Play the output MP4 and check that each text move starts on a beat.

Prompt for your agent

In the framefields repo, build a composition that places text from <lyrics or headline list> on the beats of <audio file>, animating each entrance with LayerAnimation, and render it to output/<name>.mp4. Expected output: an MP4 whose text moves start on beat frames. Verify by checking the BeatGrid timestamps against the keyframe start frames.

Caveat. The README names BeatGrids but does not show their API, so read the audio section of Framefields.dev/docs before writing the timing code.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for gatewai-dev/framefields and "Build beat-synced motion graphics for a short video"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer