Skip to content

feat(studio): MotionPathPlugin arc motion + design panel redesign#1232

Open
miguel-heygen wants to merge 1 commit into
fix/keyframe-stability-border-radiusfrom
feat/motionpath-arc-motion
Open

feat(studio): MotionPathPlugin arc motion + design panel redesign#1232
miguel-heygen wants to merge 1 commit into
fix/keyframe-stability-border-radiusfrom
feat/motionpath-arc-motion

Conversation

@miguel-heygen
Copy link
Copy Markdown
Collaborator

Summary

  • Integrate GSAP MotionPathPlugin for arc/curved motion between keyframe positions
  • Full design panel visual redesign with instrument-panel aesthetic
  • Runtime auto-discovery of GSAP-animated elements for timeline
  • Export button in header + redesigned render controls

MotionPathPlugin Arc Motion

  • Lift MotionPathPlugin validation ban + conditional CDN loading
  • ArcPathConfig types + parser recognition (waypoints, control points, curviness, autoRotate)
  • AST mutation functions for setting/updating/removing arc paths
  • Studio API mutation routes (set-arc-path, update-arc-segment, remove-arc-path)
  • Design panel controls: toggle, per-segment curviness sliders, auto-rotate
  • SVG MotionPathOverlay component for visual path rendering
  • Runtime MotionPathPlugin registration + soft reload support
  • Add-to-basket arc animation demo composition

Runtime Timeline Discovery

  • Auto-stamp data-start/data-duration on GSAP-targeted elements
  • Elements start at t=0 spanning full composition duration
  • Synthesize keyframe diamonds from flat tweens (not just keyframes: {} format)

Design Panel Redesign

  • panel-* color tokens in Tailwind config
  • Teal #2DD4BF unified accent (replaces 4 inconsistent colors)
  • Title-case bold section headers (Figma UI3 pattern)
  • Borderless bg-panel-input fields with teal focus ring
  • 2px slider tracks, 28x16px toggles, 6px input radius
  • Collapsed sections with "+" icon
  • Text section collapsed by default
  • Remove card wrapper from text field sections

Layers & Renders Panel

  • Layers panel uses panel-* tokens
  • Render controls: clean 2×2 grid (Format, Resolution, Frame rate, Quality)
  • Export button in header navigates to Renders tab
  • Format help tooltip restored
  • SSR externals broadened for render route

Test plan

  • Select element with keyframes → Arc Motion toggle appears in animation card
  • Enable arc → curviness sliders show per-segment
  • Timeline shows individual GSAP-animated elements with diamonds
  • Design panel uses teal accent throughout
  • Section headers are title-case bold
  • Export button in header opens Renders tab
  • Render controls show 2×2 labeled grid
  • Layers panel uses panel-* tokens

Copy link
Copy Markdown
Collaborator Author

miguel-heygen commented Jun 6, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@miguel-heygen miguel-heygen force-pushed the fix/keyframe-stability-border-radius branch 2 times, most recently from 4d4133c to 40109f6 Compare June 6, 2026 21:28
@miguel-heygen miguel-heygen force-pushed the feat/motionpath-arc-motion branch from 924edb9 to 10b458a Compare June 6, 2026 21:33
@miguel-heygen miguel-heygen force-pushed the fix/keyframe-stability-border-radius branch from 40109f6 to 03339b8 Compare June 7, 2026 23:39
@miguel-heygen miguel-heygen force-pushed the feat/motionpath-arc-motion branch from ed6ef87 to c7578e8 Compare June 7, 2026 23:40
@miguel-heygen miguel-heygen force-pushed the fix/keyframe-stability-border-radius branch from 03339b8 to 7bd6e17 Compare June 7, 2026 23:47
@miguel-heygen miguel-heygen force-pushed the feat/motionpath-arc-motion branch from c7578e8 to ad82c7b Compare June 7, 2026 23:49
@miguel-heygen miguel-heygen force-pushed the fix/keyframe-stability-border-radius branch from 7bd6e17 to 5921c9f Compare June 7, 2026 23:54
Arc motion, design panel redesign, timeline keyframe fixes,
shape-adaptive overlays, export button, render controls, and
auto-stamp with timed-ancestor guard for render parity.
@miguel-heygen miguel-heygen force-pushed the feat/motionpath-arc-motion branch from ad82c7b to a27fa9c Compare June 8, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant