FX Graph & Vision Puppeteer

FX Graph turns a Mermaid flowchart into a live, on-device visual pipeline. Connect body pose, hand gestures, or facial expressions from a camera, video file, canvas video, or built-in sample clip directly to character rigs and real-time canvas shaders.

Opening FX Graph

  1. Click FX Graph (#fxGraphBtn) in the top editor toolbar.
  2. Pick a Starter Recipe (Cel Skeleton Live Puppet, Pinch-to-Bloom + 3D Relighting, Face Blendshapes → Depth of Field, Energy Aura + Rig Drive, Custom GLSL + Hand FX, or Motion Capture → Keyframes).
  3. Edit the Mermaid source or tweak node parameters in the Interactive Node Inspector — clicking Normalize formats the graph cleanly.

Choosing an Input Source

Use the Input dropdown (Live Camera, Upload Video File, Canvas Video (MediaPipeline), or Built-In Sample Clip):

Input When to Use
Live Camera Drive a character or shader from your webcam in real time.
Upload Video File Select a .webm, .mp4, .ogg, or .mov clip from disk for repeatable motion.
Canvas Video (MediaPipeline) Feed a video clip already placed on the PinePaper canvas into the pipeline.
Built-In Sample Clip Test and preview pipelines immediately with zero camera hardware required.

Running, Previewing & Recording

  1. Click Run Pipeline. A live video preview and MediaPipe landmark overlay appear in the panel alongside real-time JSON Live Signal Telemetry (fps, poseJoints, hands, faceBlendshapes, derived, activeShaders).
  2. Click Record Keyframes while the pipeline is running to capture pose keyframes onto the timeline, then click Stop Recording to commit them.
  3. Click Insert Diagram to place the Mermaid pipeline flowchart onto your canvas as a visual diagram.
  4. Click Stop Pipeline or close the modal to release the camera or video stream cleanly.

Camera Permissions & Privacy

  • All tracking and shader rendering run locally in your browser — no camera frames are uploaded to a server.
  • Camera access is enabled strictly on the editor routes (/editor, /editor.html, /editor/*) and requested only after you click Run Pipeline with Live Camera selected.
  • If camera permission is denied in your browser, FX Graph displays the exact denial status without spawning an unattached character rig — switch to Built-In Sample Clip or Upload Video File to keep working offline.

Related: Character Rigging | API: FX Graph & Vision Puppeteer