Files
hyperframes/packages/studio
Miguel Ángel 7a1828f8ee fix(studio): a sealed drag draws and saves from the open preview's rounded position (#8587)
* test(studio): a second sealed resize of a scaled layer starts from its saved size

* fix(studio): a second sealed resize of a scaled layer no longer jumps and saves the jump

* test(studio): count and time the two-resize bench cases

* test(studio): a sealed frame's GSAP values are read again after a save reruns its script

* fix(studio): a second sealed resize scales from the size the first one saved

* test(studio): leave GSAP value reads out of the sealed save's sent-edit list

* refactor(studio): name the sealed rerun's re-read so the answer handler stays simple

* test(studio): a sealed drag on GSAP's route leaves no offset on the stand-in, one re-read per rerun

* fix(studio): a sealed drag that GSAP saves clears Studio's offset, as an unsealed one does

* fix(studio): a sealed drag of a GSAP-held layer moves GSAP's x/y, as an open preview does

* fix(studio): a sealed drag draws the rounded position an open preview's drag writes

* test(studio): a plain layer's frame draft is the open preview's rounded offset less its start

* fix(studio): a sealed restore keeps a later position write, and a rejected undo redraws the drop

* fix(studio): a sealed restore keeps each axis a later write set, per landed patch

* fix(studio): a sealed restore keeps a tween edit's axes only once that edit has drawn

* fix(studio): a failed sealed batch keeps the axes an earlier landed batch queued

* fix(studio): a sealed restore shows the base and whatever the timeline draws over it

* fix(studio): restoring one sealed draft leaves every other live draft where it is drawn

* fix(studio): a sealed restore replays only what each live draft draws, rotation included
2026-11-24 07:05:46 +00:00
..
2026-11-24 05:18:37 +00: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 19, Zustand 4/5 (state management; development uses Zustand 5)
  • CodeMirror 6 (editor)
  • Tailwind CSS (styling)
  • Vite (bundler)
  • Phosphor Icons

Documentation

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