Files
hyperframes/packages/studio
Miguel Angel Simon Sierra fc4ca0dd94 fix(studio): Enable keyframes on a set at/before its start drops a 0% keyframe
promoteSetToKeyframes returned early when the playhead was at or before the set's
start (t <= setStart) — so clicking Enable keyframes on a gsap.set element while
seeking at 0 (set start 0) did nothing. It only knew how to promote a set into a
FORWARD range (held@0% → live@100%). Now, when there's no forward range, replace
the set with a single keyframe at the playhead holding its value (matching the
no-animation branch), so a 0% keyframe is actually created.
2026-06-26 15:26:59 -04:00
..
2026-06-25 21:32:51 -04:00
…

@hyperframes/studio

Browser-based composition editor UI for Hyperframes. Provides a visual timeline, code editor, and live preview for building video compositions.

Install

npm install @hyperframes/studio

What it does

The studio is a React application with:

  • Visual timeline — drag, resize, and arrange elements on tracks
  • Code editor — edit HTML and GSAP scripts with CodeMirror (syntax highlighting, autocomplete)
  • Live preview — see changes in real time as you edit
  • Composition inspector — view and modify element properties

Development

The studio is embedded in the hyperframes preview command. To develop the studio UI itself:

cd packages/studio
bun run dev        # Start Vite dev server
bun run build      # Build for production
bun run typecheck  # Type-check

Tech stack

  • React 18/19, Zustand (state management)
  • CodeMirror 6 (editor)
  • Tailwind CSS (styling)
  • Vite (bundler)
  • Phosphor Icons

Documentation

Full documentation: hyperframes.heygen.com/packages/studio