How yujin923/storybooth works
The visible application is a React photo-booth flow: choose a layout, capture photos using gesture-guided shooting, select shots, choose a frame style, then compose and download the result. The README also describes an AI frame-generation backend, but its documented Express entry point and routes are absent from the supplied tree; the two Python server files cannot be confidently identified as that backend from the available evidence. The graph therefore focuses on evidenced UI behavior and calls out that evidence limit rather than inventing integration edges.
Main entry points: App.tsx Workflow coordinator · FrameSelectionScreen.tsx Frame selection · ShootingScreen.tsx Gesture-guided capture · CompletionScreen.tsx Result and download
Components 13
Photo Booth Flow
- Workflow coordinator
figma_ui/src/app/App.tsx - Start and layout
figma_ui/src/app/components/StartScreen.tsx
Capture and Selection
- Gesture-guided capture
figma_ui/src/app/components/ShootingScreen.tsx - Photo selection
figma_ui/src/app/components/SelectionScreen.tsx
Frame and Output
- Frame selection
figma_ui/src/app/components/FrameSelectionScreen.tsx - Result and download
figma_ui/src/app/components/CompletionScreen.tsx
Domain Logic
- Gesture recognition
figma_ui/src/app/lib/handDetection.ts - Theme presets
figma_ui/src/app/lib/themes.ts - University lookup
figma_ui/src/app/lib/university.ts - Canvas composition
figma_ui/src/app/lib/compose.ts
Other components
- Photobooth user
- Demo server
4cut_demo/server.py - AI4Cut server
ai4cut/server.py
Connections 10
- Photobooth user → Workflow coordinator: uses
- Workflow coordinator → Start and layout: renders
figma_ui/src/app/App.tsx - Workflow coordinator → Gesture-guided capture: renders
figma_ui/src/app/App.tsx - Workflow coordinator → Photo selection: renders
figma_ui/src/app/App.tsx - Workflow coordinator → Frame selection: renders
figma_ui/src/app/App.tsx - Workflow coordinator → Result and download: renders
figma_ui/src/app/App.tsx - Gesture-guided capture → Gesture recognition: checks gestures
figma_ui/src/app/components/ShootingScreen.tsx - Frame selection → Theme presets: looks up themes
figma_ui/src/app/components/FrameSelectionScreen.tsx - Frame selection → University lookup: searches universities
figma_ui/src/app/components/FrameSelectionScreen.tsx - Result and download → Canvas composition: composes photos
figma_ui/src/app/components/CompletionScreen.tsx