Skip to content

OpenReel Video - Professional browser-based video editor. Open source CapCut alternative. 100% browser-based, no installation, no cloud uploads, no watermarks.

TypeScript

chore: remove internal plans/docs from repo, keep local only

Augustus Otu953bcedb987a
diff --git a/.github/CLAUDE_WORKFLOW.md b/.github/CLAUDE_WORKFLOW.md
deleted file mode 100644
index 6997a89a..00000000
--- a/.github/CLAUDE_WORKFLOW.md
+++ /dev/null
@@ -1,480 +0,0 @@
-# Claude AI Workflow Guide
-
-## Overview
-
-This document explains how Claude manages the OpenReel project, reviews issues, implements fixes, and handles pull requests.
-
----
-
-## πŸš€ Current Setup (Phase 1 - Manual with Scripts)
-
-### How It Works
-
-1. **Issues are created** on GitHub by contributors
-2. **GitHub Action labels them** with `needs-claude-review`
-3. **Augustus runs a local script** that fetches labeled issues
-4. **Claude reviews in CLI session**, generates fixes, creates PRs
-5. **Augustus reviews Claude's work**, approves and merges
-6. **Claude closes the issue** with resolution details
-
-### Daily Workflow
-
-```bash
-# Morning: Check for new issues
-pnpm claude:review-issues
-
-# Claude will:
-# - Fetch all issues labeled 'needs-claude-review'
-# - Analyze each issue
-# - Generate fixes or ask for clarification
-# - Create PRs with fixes
-# - Post updates to GitHub
-
-# Afternoon: Check for PRs needing review
-pnpm claude:review-prs
-
-# Claude will:
-# - Review all open PRs
-# - Run tests and type checking
-# - Provide detailed feedback
-# - Approve or request changes
-```
-
-### Scripts Location
-
-- `scripts/claude-issue-manager.ts` - Issue review and management
-- `scripts/claude-pr-reviewer.ts` - PR review automation
-- `.github/workflows/label-for-claude.yml` - Auto-labels new issues
-
----
-
-## πŸ”§ Future Setup (Phase 2 - Automated)
-
-### Architecture
-
-```
-GitHub Event β†’ GitHub Webhook β†’ Cloud Function β†’ Claude API β†’ GitHub Response
-```
-
-### Components
-
-1. **GitHub App** - "Claude OpenReel Manager"
- - Permissions: Read/write issues, PRs, code, checks
- - Webhooks: issues, pull_request, issue_comment
-
-2. **Cloud Function** (Vercel/Netlify/Railway)
- - Receives webhook events
- - Calls Claude API with context
- - Posts responses back to GitHub
-
-3. **Claude API Integration**
- - Analyzes issues and generates fixes
- - Reviews PR code for quality
- - Runs tests and checks
- - Auto-merges when safe
-
-### Safety Guardrails
-
-- **Auto-merge only for**: Bug fixes, docs, tests, minor improvements
-- **Human review required for**: New features, breaking changes, architecture changes
-- **All PRs created by Claude** are labeled `ai-generated` for transparency
-- **Test suite must pass** before any merge
-- **Augustus has override** on all decisions
-
----
-
-## πŸ“‹ Issue Workflow
-
-### 1. New Issue Created
-
-**Trigger:** User opens an issue
-
-**Claude's Response:**
-```markdown
-Hi! I'm Claude, the AI assistant managing this project. I've reviewed your issue.
-
-**Issue Type:** [Bug/Feature/Question]
-**Priority:** [Critical/High/Medium/Low]
-**Estimated Fix Time:** [Hours/Days]
-
-**Analysis:**
-[Claude's understanding of the issue]
-
-**Proposed Solution:**
-[How Claude plans to fix it]
-
-I'm working on a fix now. I'll create a PR shortly.
-
----
-*Note: This issue is being handled by Claude AI with human oversight from Augustus.*
-```
-
-### 2. Claude Investigates
-
-```bash
-# Claude runs automatically:
-1. Read relevant code files
-2. Search for similar issues
-3. Check tests
-4. Reproduce bug if possible
-5. Identify root cause
-```
-
-### 3. Claude Creates Fix PR
-
-```markdown
-# PR Title: fix: [issue description] (#123)
-
-## Summary
-Fixes #123
-
-## Root Cause
-[Explanation of what was wrong]
-
-## Solution
-[What was changed and why]
-
-## Testing
-- [x] Existing tests pass
-- [x] Added new test for regression
-- [x] Manually tested in browser
-
-## Files Changed
-- `path/to/file.ts` - [description]
-
----
-*This PR was created by Claude AI. Human review by Augustus pending.*
-```
-
-### 4. Augustus Reviews & Merges
-
-```bash
-# Augustus checks:
-- Does the fix make sense?
-- Are tests comprehensive?
-- Any security concerns?
-- Code quality acceptable?
-
-# If approved:
-gh pr merge 123 --squash
-
-# Claude auto-closes issue with:
-"Fixed in #123 and deployed to production. Thanks for reporting!"
-```
-
----
-
-## πŸ” PR Review Workflow
-
-### External Contributor Opens PR
-
-**Trigger:** New PR from community
-
-**Claude's Auto-Review:**
-```markdown
-Thanks for the contribution! I've reviewed your PR.
-
-## βœ… Automated Checks
-- [x] TypeScript compiles
-- [x] Tests pass (42/42)
-- [x] Code follows style guide
-- [x] No security vulnerabilities detected
-
-## πŸ“ Code Review
-
-### file.ts
-**Line 45:** Consider using `useCallback` here to prevent unnecessary re-renders
-**Line 67:** Great error handling!
-
-### file2.ts
-**Line 23:** This could be simplified to: `const result = data?.map(...) ?? []`
-
-## 🎯 Overall Assessment
-**Status:** Approved βœ…
-**Recommendation:** Merge after addressing minor suggestions above
-
-Great work! This is a clean, well-tested contribution.
-
----
-*Automated review by Claude AI. Final approval by Augustus required for merge.*
-```
-
-### Augustus Final Review
-
-```bash
-# Augustus checks:
-- Claude's review is accurate
-- No red flags missed
-- Contributor followed up on feedback
-
-# If all good:
-gh pr merge 456 --squash
-
-# Claude thanks contributor:
-"Merged! Thanks for contributing to OpenReel πŸŽ‰"
-```
-
----
-
-## 🏷️ Label System
-
-### Issue Labels (Auto-Applied)
-
-- `needs-claude-review` - New issue, Claude hasn't reviewed yet
-- `claude-reviewing` - Claude is actively working on it
-- `claude-needs-info` - Claude needs more information from reporter
-- `ready-for-fix` - Claude analyzed, ready to implement
-- `ai-generated-pr` - PR created by Claude
-- `human-review-required` - Needs Augustus to review
-
-### Priority Labels
-
-- `priority-critical` - Breaks core functionality
-- `priority-high` - Important but not blocking
-- `priority-medium` - Should fix soon
-- `priority-low` - Nice to have
-
-### Type Labels
-
-- `type-bug` - Something isn't working
-- `type-feature` - New functionality
-- `type-docs` - Documentation improvements
-- `type-performance` - Performance optimization
-- `type-security` - Security issue
-
----
-
-## πŸ“Š Metrics & Reporting
-
-### Weekly Summary (Auto-Generated)
-
-Claude posts a weekly summary to Discussions:
-
-```markdown
-# OpenReel Weekly Summary - Jan 13-19, 2026
-
-## πŸ“ˆ Activity
-- **Issues Reviewed:** 15
-- **PRs Created:** 8
-- **PRs Merged:** 12
-- **Bugs Fixed:** 5
-- **Features Shipped:** 2
-
-## πŸ† Top Contributors
-1. @contributor1 - 4 PRs
-2. @contributor2 - 2 PRs
-
-## πŸ› Bugs Fixed This Week
-- #123 - Fix audio sync in variable speed
-- #145 - Prevent memory leak in frame cache
-- #167 - Fix undo/redo edge case
-
-## ✨ New Features
-- #134 - Add ripple editing
-- #156 - Implement proxy workflow
-
-## πŸ“… Next Week Focus
-- Finish export system (Phase 2 milestone)
-- Review community PRs
-- Update documentation
-
----
-*Generated by Claude AI*
-```
-
----
-
-## πŸ” Security & Safety
-
-### What Claude CANNOT Do (Without Human Approval)
-
-- ❌ Merge breaking changes
-- ❌ Change security settings
-- ❌ Modify GitHub Actions workflows
-- ❌ Update dependencies (major versions)
-- ❌ Delete branches or issues
-- ❌ Change repository settings
-- ❌ Grant access to collaborators
-
-### What Claude CAN Do (Automatically)
-
-- βœ… Review and label issues
-- βœ… Create PRs for bug fixes
-- βœ… Run tests and checks
-- βœ… Comment on PRs with reviews
-- βœ… Close resolved issues
-- βœ… Update documentation
-- βœ… Fix typos and formatting
-
-### Safety Checks (Always Run)
-
-```bash
-# Before any code change:
-1. pnpm typecheck # TypeScript must pass
-2. pnpm test # All tests must pass
-3. pnpm lint # Code style must pass
-4. Security scan # No vulnerabilities
-
-# If any fail: PR marked "needs-work", not merged
-```
-
----
-
-## πŸ› οΈ Setup Instructions
-
-### Phase 1: Manual Workflow (Current)
-
-```bash
-# 1. Set up GitHub CLI
-gh auth login
-
-# 2. Install dependencies
-pnpm install
-
-# 3. Add GitHub token to .env (for script access)
-echo "GITHUB_TOKEN=your_token_here" >> .env.local
-
-# 4. Run issue review
-pnpm claude:review-issues
-
-# 5. Run PR review
-pnpm claude:review-prs
-```
-
-### Phase 2: Automated Workflow (Future)
-
-**Requirements:**
-- GitHub App created and installed
-- Cloud function deployed (Vercel recommended)
-- Anthropic API key in cloud function secrets
-- Webhook configured
-
-**Setup Steps:**
-1. Create GitHub App with required permissions
-2. Deploy cloud function (`/api/github-webhook`)
-3. Configure webhook URL in GitHub App
-4. Add secrets (ANTHROPIC_API_KEY, GITHUB_APP_KEY)
-5. Test with a dummy issue
-6. Monitor logs for first week
-7. Gradually enable auto-merge
-
----
-
-## πŸ“ Templates
-
-### Issue Template (Auto-Posted by Claude)
-
-```markdown
-## Issue Analysis
-
-**Status:** [Investigating/In Progress/Fixed]
-**Priority:** [Critical/High/Medium/Low]
-**Type:** [Bug/Feature/Question]
-
-**Current Understanding:**
-[What Claude understands the issue to be]
-
-**Questions for Reporter:**
-1. [Clarifying question 1]
-2. [Clarifying question 2]
-
-**Next Steps:**
-- [ ] Reproduce issue locally
-- [ ] Identify root cause
-- [ ] Create fix PR
-- [ ] Add regression test
-
-I'll update this issue as I make progress.
-```
-
-### PR Template (Auto-Generated by Claude)
-
-```markdown
-## Description
-[What this PR does]
-
-## Related Issue
-Fixes #[issue number]
-
-## Changes Made
-- [Change 1]
-- [Change 2]
-
-## Testing
-- [x] All existing tests pass
-- [x] Added tests for new functionality
-- [x] Manually tested in browser
-
-## Screenshots (if UI changes)
-[Before/After screenshots]
-
-## Checklist
-- [x] TypeScript compiles
-- [x] Code follows style guide
-- [x] Documentation updated
-- [x] No console.logs or debug code
-
----
-*This PR was created by Claude AI*
-```
-
----
-
-## πŸ’‘ Best Practices
-
-### For Contributors
-
-1. **Be specific in issues** - The more details you provide, the better Claude can help
-2. **Include reproduction steps** - For bugs, include exact steps to reproduce
-3. **Add screenshots/videos** - Visual aids help Claude understand UI issues
-4. **Respond to Claude's questions** - Claude may need clarification
-5. **Be patient** - Claude typically responds within 24 hours
-
-### For Augustus (Human Oversight)
-
-1. **Daily check-in** - Review Claude's PRs and issue responses
-2. **Override when needed** - If Claude misunderstands, correct it
-3. **Monitor metrics** - Check weekly summaries for anomalies
-4. **Approve major changes** - New features need human approval
-5. **Engage community** - Thank contributors, provide direction
-
----
-
-## πŸ”„ Continuous Improvement
-
-### Feedback Loop
-
-1. **Track Claude's accuracy** - How many PRs needed revision?
-2. **User satisfaction** - Are issue reporters happy with responses?
-3. **Response time** - Average time from issue to fix
-4. **Code quality** - Are Claude's fixes creating new bugs?
-
-### Monthly Review
-
-Augustus reviews:
-- Claude's performance metrics
-- Community feedback
-- Areas for improvement
-- Adjust prompts/workflows as needed
-
----
-
-## πŸ“ž Escalation
-
-### When Claude Needs Help
-
-If Claude encounters:
-- **Ambiguous requirements** β†’ Labels `claude-needs-info`, asks questions
-- **Complex architecture decision** β†’ Labels `human-review-required`, tags Augustus
-- **Controversial change** β†’ Creates RFC in Discussions, waits for community input
-- **Security concern** β†’ Immediately tags Augustus, doesn't auto-merge
-
-### Contact
-
-- **GitHub Discussions** - General questions about Claude's role
-- **GitHub Issues** - Report issues with Claude's responses
-- **Email Augustus** - For urgent concerns
-
----
-
-**This is a living document.** As we learn and improve the workflow, this guide will be updated.
diff --git a/.gitignore b/.gitignore
index ef5de3f4..02b5ee3f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -55,5 +55,8 @@ apps/android
# Local files
FEATURES_TWITTER.md
.claude-tasks.md
-
CLAUDE.md
+*-PLAN.md
+*-PLAN-*.md
+.playwright-mcp/
+.wrangler/
diff --git a/AGENTS.md b/AGENTS.md
deleted file mode 100644
index 675087c6..00000000
--- a/AGENTS.md
+++ /dev/null
@@ -1,95 +0,0 @@
-# AGENTS.md
-
-This file provides guidance to Codex (Codex.ai/code) when working with code in this repository.
-
-## Build & Development Commands
-
-```bash
-# Development
-pnpm dev # Start Vite dev server (http://localhost:5173)
-
-# Testing
-pnpm test # Run all tests in watch mode
-pnpm test:run # Run tests once (CI mode)
-
-# Build
-pnpm build # Build WASM + web app for production
-pnpm build:wasm # Build only WASM modules (FFT, WAV, beat detection)
-
-# Quality
-pnpm typecheck # TypeScript type checking
-pnpm lint # ESLint
-
-# Single package testing (from root)
-pnpm --filter @openreel/core test:run
-pnpm --filter @openreel/web test:run
-
-#deploy app to cloudflare
-pnpm deploy
-```
-
-## Architecture
-
-### Monorepo Structure
-
-- **`apps/web`** (`@openreel/web`) - React frontend with Vite, deployed to Cloudflare Pages
-- **`apps/cloud`** - Cloudflare Workers API (Hono framework)
-- **`packages/core`** (`@openreel/core`) - Core editing logic, imported by web app
-
-### Core Package Modules (`packages/core/src/`)
-
-| Module | Purpose |
-|--------|---------|
-| `video/` | WebGPU rendering, upscaling shaders, video effects |
-| `audio/` | Web Audio API, effects (EQ, reverb, etc.), beat detection |
-| `graphics/` | Canvas/THREE.js, shapes, SVG rendering |
-| `text/` | Text rendering, 20+ text animations |
-| `export/` | Video encoding via ffmpeg.wasm/MediaBunny |
-| `storage/` | IndexedDB persistence, project serialization |
-| `device/` | Device capabilities detection, export time estimation |
-| `timeline/` | Timeline data structures, clip management |
-| `actions/` | Undoable action system |
-| `wasm/` | AssemblyScript modules (FFT, WAV, beat detection) |
-
-### Web App Structure (`apps/web/src/`)
-
-| Directory | Purpose |
-|-----------|---------|
-| `stores/` | Zustand state: `project-store`, `engine-store`, `timeline-store`, `ui-store` |
-| `components/editor/` | Editor UI: Timeline, Preview, Inspector panels |
-| `bridges/` | Coordinates between React and core engines |
-| `services/` | Auto-save, keyboard shortcuts, screen recording |
-
-### Key Design Patterns
-
-1. **Action-based editing** - All edits dispatch actions that are undoable/redoable
-2. **Engine separation** - Video, audio, graphics engines are independent singletons
-3. **Immutable state** - Zustand stores with Immer for predictable updates
-4. **Progressive enhancement** - WebGPU β†’ Canvas2D fallback
-
-### State Flow
-
-```
-User Action β†’ Zustand Store β†’ Action Dispatch β†’ Core Engine β†’ State Update β†’ React Re-render
-```
-
-### Export Pipeline
-
-Uses ffmpeg.wasm (multi-threaded) with WebCodecs for hardware encoding when available:
-```
-Timeline β†’ Frame Rendering β†’ VideoEncoder β†’ ffmpeg muxing β†’ Blob download
-```
-
-## Testing
-
-- Framework: Vitest
-- React testing: `@testing-library/react`
-- Test files: `*.test.ts` or `*.test.tsx` alongside source files
-- Property-based testing available via `fast-check`
-
-## Conventions
-
-- Commit messages: Conventional Commits (`feat:`, `fix:`, `refactor:`, `test:`, etc.)
-- Branch naming: `feat/description` or `fix/description`
-- TypeScript strict mode, avoid `any`
-- Components: PascalCase, functions: camelCase, constants: UPPER_SNAKE_CASE
diff --git a/DEPLOYMENT.md b/DEPLOYMENT.md
deleted file mode 100644
index a2a1183d..00000000
--- a/DEPLOYMENT.md
+++ /dev/null
@@ -1,164 +0,0 @@
-# OpenReel Deployment Guide
-
-## Deploying to Cloudflare Pages
-
-OpenReel is configured to deploy to Cloudflare Pages at `app.openreel.video`.
-
-### Prerequisites
-
-1. **Cloudflare Account**: You need a Cloudflare account with access to the `openreel.video` domain
-2. **Wrangler CLI**: Install wrangler globally or use the local version
- ```bash
- pnpm install
- ```
-
-### Initial Setup
-
-1. **Login to Cloudflare**:
- ```bash
- cd apps/web
- npx wrangler login
- ```
-
-2. **Create Cloudflare Pages Project** (first time only):
- ```bash
- npx wrangler pages project create openreel
- ```
-
-3. **Configure Custom Domain** (in Cloudflare Dashboard):
- - Go to Cloudflare Pages β†’ openreel project β†’ Custom domains
- - Add `app.openreel.video` as a custom domain
- - Cloudflare will automatically configure the DNS
-
-### Deployment Commands
-
-#### Production Deployment
-
-Deploy to production (app.openreel.video):
-
-```bash
-# From project root
-pnpm deploy
-
-# Or from apps/web directory
-pnpm build
-pnpm deploy
-```
-
-#### Preview Deployment
-
-Deploy a preview version for testing:
-
-```bash
-# From project root
-pnpm deploy:preview
-
-# Or from apps/web directory
-pnpm build
-pnpm deploy:preview
-```
-
-### Important Configuration
-
-#### Required Headers
-
-The app requires special headers for SharedArrayBuffer (used by FFmpeg.wasm):
-- `Cross-Origin-Opener-Policy: same-origin`
-- `Cross-Origin-Embedder-Policy: require-corp`
-
-These are configured in `apps/web/public/_headers` and will be automatically deployed.
-
-#### SPA Routing
-
-The `apps/web/public/_redirects` file ensures all routes are handled by the React app:
-```
-/* /index.html 200
-```
-
-### Build Configuration
-
-- **Build Command**: `tsc --noEmit && vite build`
-- **Build Output**: `dist/`
-- **Node Version**: >= 18.0.0
-
-### Verifying Deployment
-
-After deployment, verify:
-
-1. **Access the site**: https://app.openreel.video
-2. **Check headers**: Open DevTools β†’ Network tab β†’ Check response headers for COOP/COEP
-3. **Test video export**: Try exporting a video to ensure WebCodecs and FFmpeg.wasm work
-
-### Troubleshooting
-
-#### SharedArrayBuffer Not Available
-
-If you see errors about SharedArrayBuffer:
-- Check that the COOP/COEP headers are present in Network tab
-- Verify `_headers` file was deployed to Cloudflare Pages
-- Clear browser cache and hard reload
-
-#### 404 on Routes
-
-If direct URL access shows 404:
-- Verify `_redirects` file is in the `dist/` folder after build
-- Check Cloudflare Pages β†’ Functions β†’ Redirects
-
-#### Deployment Fails
-
-```bash
-# Check wrangler authentication
-npx wrangler whoami
-
-# Re-login if needed
-npx wrangler logout
-npx wrangler login
-```
-
-### CI/CD Integration
-
-For automated deployments, use GitHub Actions:
-
-```yaml
-name: Deploy to Cloudflare Pages
-
-on:
- push:
- branches: [main]
-
-jobs:
- deploy:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - uses: pnpm/action-setup@v2
- - uses: actions/setup-node@v4
- with:
- node-version: '18'
- cache: 'pnpm'
-
- - run: pnpm install
- - run: pnpm build
-
- - name: Deploy to Cloudflare Pages
- uses: cloudflare/wrangler-action@v3
- with:
- apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
- command: pages deploy dist --project-name=openreel
- workingDirectory: apps/web
-```
-
-### Environment Variables
-
-If you need environment variables in production:
-
-1. Go to Cloudflare Pages β†’ openreel β†’ Settings β†’ Environment variables
-2. Add variables (they'll be available at build time)
-3. Redeploy for changes to take effect
-
-### Monitoring
-
-- **Analytics**: Available in Cloudflare Pages dashboard
-- **Logs**: Check Cloudflare Pages β†’ openreel β†’ Deployments β†’ View logs
-- **Performance**: Use Web Analytics in Cloudflare dashboard
diff --git a/IMAGE.md b/IMAGE.md
deleted file mode 100644
index 11253ec0..00000000
--- a/IMAGE.md
+++ /dev/null
@@ -1,690 +0,0 @@
-# Open Reel Image
-
-**Browser-based graphic design editor for creators**
-
-A professional-grade image editor built for the web. Create stunning social media graphics, thumbnails, posters, and marketing materialsβ€”entirely offline, entirely in your browser.
-
----
-
-## Vision
-
-Open Reel Image is the image editing companion to Open Reel Video. While the video editor handles motion content, Open Reel Image focuses on **static graphic design**β€”the posters, thumbnails, social posts, and marketing materials that creators need alongside their videos.
-
-Think **Canva meets Photoshop**, but:
-- Runs 100% in the browser (WebAssembly-powered)
-- Works completely offline
-- No account required
-- No watermarks
-- Professional export quality
-
----
-
-## Target Users
-
-| User Type | Use Case |
-|-----------|----------|
-| **YouTube Creators** | Thumbnails, channel art, end screens |
-| **Social Media Managers** | Instagram posts, stories, carousels, Twitter graphics |
-| **Small Business Owners** | Marketing materials, promotional graphics, sale banners |
-| **Content Creators** | Podcast covers, Twitch overlays, TikTok covers |
-| **Students & Educators** | Presentations, infographics, educational materials |
-| **Freelancers** | Quick client deliverables without expensive software |
-
----
-
-## Core Philosophy
-
-### Offline-First
-Every feature works without an internet connection. Assets, fonts, templates, and processing all happen locally. Your work stays on your device.
-
-### Performance-Obsessed
-WASM-powered image processing means native-speed filters and effects. No waiting for cloud rendering. Real-time preview of every adjustment.
-
-### Creator-Focused
-Features designed around what creators actually needβ€”social media templates, one-click background removal, export presets for every platform.
-
-### No Compromises
-Professional output quality. No artificial limitations. No "upgrade to export in HD" paywalls.
-
----
-
-## Feature Set
-
-### Canvas & Composition
-
-- **Infinite canvas** with zoom and pan
-- **Multi-page projects** for carousels and multi-slide content
-- **Layer system** with full z-ordering, grouping, and nesting
-- **Precise positioning** with guides, grids, and smart snapping
-- **Alignment tools** for professional layouts
-- **Artboard presets** for every social platform
-- **Custom canvas sizes** up to 8K resolution
-- **Rulers and measurements** in pixels, inches, or cm
-
-### Image Editing
-
-- **Non-destructive editing** β€” original always preserved
-- **Smart crop** with aspect ratio presets
-- **Background removal** powered by on-device ML
-- **Image adjustments:**
- - Brightness, contrast, exposure
- - Saturation, vibrance, temperature, tint
- - Highlights, shadows, whites, blacks
- - Clarity, sharpness, noise reduction
- - Vignette, grain, fade
-- **Filter presets** β€” Instagram-style one-click looks
-- **Custom LUT support** β€” import your own color grades
-- **Blend modes** β€” all standard Photoshop modes
-- **Masking** β€” layer masks, clipping masks, alpha masks
-- **Image effects:**
- - Blur (Gaussian, motion, radial, tilt-shift)
- - Glow and bloom
- - Chromatic aberration
- - Glitch and distortion
- - Duotone and color mapping
- - Pixelate and mosaic
-
-### Text & Typography
-
-- **Rich text editing** with full formatting
-- **Google Fonts integration** β€” 1500+ fonts, cached offline
-- **Custom font upload** β€” TTF, OTF, WOFF, WOFF2
-- **Text styling:**
- - Font weight, style, size
- - Letter spacing, line height, word spacing
- - Text alignment and justification
- - Uppercase, lowercase, title case transforms
-- **Text effects:**
- - Drop shadow with blur and offset
- - Outline/stroke with variable width
- - Glow and outer glow
- - Gradient fills (linear, radial, angular)
- - Image/pattern fills
- - 3D/perspective transforms
-- **Curved text** β€” text on path, arc, wave, circle
-- **Text boxes** with overflow handling
-- **Vertical text** for Asian languages
-- **Emoji support** with full color rendering
-
-### Shapes & Graphics
-
-- **Basic shapes** β€” rectangle, ellipse, triangle, polygon, star
-- **Rounded corners** with per-corner control
-- **Custom paths** β€” pen tool for vector drawing
-- **Shape fills:**
- - Solid color
- - Linear gradient
- - Radial gradient
- - Image fill
- - Pattern fill
-- **Stroke options:**
- - Variable width
- - Dash patterns
- - Line caps and joins
-- **Boolean operations** β€” union, subtract, intersect, exclude
-- **SVG import** β€” bring in custom vector graphics
-- **Icon library** β€” built-in icon pack for common needs
-
-### Stickers & Elements
-
-- **Built-in sticker packs:**
- - Arrows and callouts
- - Social media icons
- - Emojis and reactions
- - Decorative elements
- - Seasonal/holiday themes
-- **Search functionality** across all elements
-- **Favorites** for frequently used items
-- **Custom element upload** β€” PNG, SVG, WebP
-
-### Templates
-
-- **Professional templates** for every use case:
- - YouTube thumbnails
- - Instagram posts, stories, reels covers
- - Facebook posts and covers
- - Twitter/X posts and headers
- - LinkedIn posts and banners
- - Pinterest pins
- - TikTok covers
- - Twitch panels and overlays
- - Podcast covers
- - Event flyers
- - Business cards
- - Presentations
- - Infographics
-- **Template categories:**
- - Gaming
- - Beauty & Fashion
- - Food & Cooking
- - Tech & Reviews
- - Education
- - Business
- - Lifestyle
- - Fitness
- - Travel
- - Music
-- **Placeholder system** β€” easily swap images and text
-- **Color scheme adaptation** β€” templates adjust to your brand colors
-- **Save as template** β€” create your own reusable templates
-
-### Brand Kit (Pro Feature Consideration)
-
-- **Brand colors** β€” save your palette
-- **Brand fonts** β€” quick access to your typography
-- **Logos** β€” store multiple versions
-- **Brand templates** β€” consistent starting points
-
-### History & Workflow
-
-- **Unlimited undo/redo** with visual history
-- **Auto-save** to browser storage
-- **Project versioning** β€” restore previous saves
-- **Duplicate project** for variations
-- **Copy/paste between projects**
-- **Keyboard shortcuts** for power users
-
----
-
-## Export Capabilities
-
-### Formats
-
-| Format | Use Case | Features |
-|--------|----------|----------|
-| **PNG** | Web, transparency needed | 8-bit, 24-bit, 32-bit (alpha) |
-| **JPEG** | Photos, smaller files | Quality 1-100, progressive |
-| **WebP** | Modern web, best compression | Lossy and lossless |
-| **AVIF** | Next-gen, smallest files | High quality at low sizes |
-| **PDF** | Print, documents | Single and multi-page |
-| **SVG** | Scalable graphics | Vector elements only |
-
-### Export Options
-
-- **Resolution control** β€” 1x, 2x, 3x, or custom scale
-- **DPI settings** β€” 72 (web), 150 (draft), 300 (print), custom
-- **Color profile** β€” sRGB, Adobe RGB, CMYK preview
-- **Compression control** β€” balance quality vs file size
-- **Batch export** β€” all pages at once
-- **Export presets:**
- - Web optimized (smallest file)
- - Social media (platform-specific)
- - Print ready (300 DPI, full quality)
- - Custom saved presets
-
-### Platform Presets
-
-One-click export optimized for:
-
-| Platform | Dimensions | Notes |
-|----------|------------|-------|
-| Instagram Post | 1080Γ—1080 | Square, optimized compression |
-| Instagram Story | 1080Γ—1920 | 9:16, safe zones marked |
-| Instagram Carousel | 1080Γ—1350 | 4:5, multi-page |
-| YouTube Thumbnail | 1280Γ—720 | 16:9, <2MB for upload |
-| Twitter/X Post | 1200Γ—675 | 16:9, optimized |
-| Facebook Post | 1200Γ—630 | Link preview optimized |
-| LinkedIn Post | 1200Γ—627 | Professional network |
-| Pinterest Pin | 1000Γ—1500 | 2:3 vertical |
-| TikTok Cover | 1080Γ—1920 | Story format |
-| Twitch Panel | 320Γ—160 | Small, crisp |
-
----
-
-## Technical Architecture
-
-### Performance Targets
-
-| Metric | Target |
-|--------|--------|
-| Initial load | < 3 seconds |
-| Filter preview | < 50ms |
-| Background removal | < 3 seconds (first), < 500ms (cached) |
-| Export (1080p) | < 2 seconds |
-| Export (4K) | < 5 seconds |
-| Memory usage | < 500MB typical, < 2GB max |
-
-### Technology Stack
-
-| Layer | Technology | Purpose |
-|-------|------------|---------|
-| UI Framework | React + TypeScript | Component architecture |
-| State Management | Zustand | Lightweight, performant |
-| Canvas Rendering | HTML Canvas + WebGL | Hardware acceleration |
-| Image Processing | Rust β†’ WebAssembly | Native-speed filters |
-| ML Inference | ONNX Runtime (WASM) | Background removal |
-| Text Rendering | Canvas 2D + Custom | Full typography control |
-| Storage | IndexedDB | Projects, assets, cache |
-| Fonts | Local cache + Google Fonts API | Offline typography |
-
-### Offline Capabilities
-
-**What works offline:**
-- All editing features
-- All filters and effects
-- Background removal (models cached on first use)
-- Export in all formats
-- Previously loaded fonts
-- Saved templates
-- Project save/load
-
-**What requires internet:**
-- Loading new Google Fonts (first time only)
-- Downloading new templates
-- Stock image search (if implemented)
-
-### Data Storage
-
-| Data Type | Storage | Size Limit |
-|-----------|---------|------------|
-| Projects | IndexedDB | ~500MB per project |
-| Assets | IndexedDB | Cached until cleared |
-| Fonts | Cache API | ~200MB font cache |
-| Templates | IndexedDB | Cached on first use |
-| Preferences | LocalStorage | < 1MB |
-| ML Models | Cache API | ~50MB per model |
-
----
-
-## User Interface
-
-### Main Layout
-
-```
-β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
-β”‚ Logo File Edit View [Canvas: 1080Γ—1080] [Zoom: 100%] βš™ β”‚
-β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
-β”‚ β”‚ β”‚ β”‚
-β”‚ Tools β”‚ β”‚ Inspector β”‚
-β”‚ β”‚ β”‚ β”‚
-β”‚ β–’ Selectβ”‚ β”‚ Position β”‚
-β”‚ βœ‹ Hand β”‚ β”‚ x: 120 β”‚
-β”‚ T Text β”‚ Canvas Area β”‚ y: 340 β”‚
-β”‚ β–‘ Shape β”‚ β”‚ β”‚
-β”‚ πŸ–Ό Image β”‚ β”‚ Size β”‚
-β”‚ ⬑ Elementβ”‚ β”‚ w: 200 β”‚
-β”‚ β”‚ β”‚ h: 150 β”‚
-β”‚ β”‚ β”‚ β”‚
-β”‚ β”‚ β”‚ Rotation β”‚
-β”‚ β”‚ β”‚ 0Β° β”‚
-β”‚ β”‚ β”‚ β”‚
-β”‚ β”‚ β”‚ Opacity β”‚
-β”‚ β”‚ β”‚ β–ˆβ–ˆβ–ˆβ–ˆ 100% β”‚
-β”‚ β”‚ β”‚ β”‚
-β”‚ β”‚ β”‚ Blend β”‚
-β”‚ β”‚ β”‚ Normal β–Ό β”‚
-β”‚ β”‚ β”‚ β”‚
-β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
-β”‚ Layers β”‚
-β”‚ β”œβ”€ πŸ“ Headline Text πŸ‘ πŸ”’ β”‚
-β”‚ β”œβ”€ πŸ–Ό Background Image πŸ‘ πŸ”’ β”‚
-β”‚ └─ β–’ Rectangle πŸ‘ πŸ”“ β”‚
-β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
-β”‚ [Page 1] [Page 2] [Page 3] [+] [Export β–Ό] β”‚
-β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
-```
-
-### Panel System
-
-| Panel | Purpose |
-|-------|---------|
-| **Toolbar** | Primary tools (select, hand, text, shapes, etc.) |
-| **Layers** | Layer management, visibility, locking, ordering |
-| **Inspector** | Context-sensitive properties for selected item |
-| **Pages** | Multi-page navigation for carousels |
-| **Assets** | Project images, uploaded files |
-| **Templates** | Browse and apply templates |
-| **Elements** | Stickers, icons, shapes library |
-| **Text** | Font browser, text presets |
-| **Filters** | Image filter presets |
-| **Adjustments** | Image adjustment sliders |
-
-### Keyboard Shortcuts
-
-| Action | Shortcut |
-|--------|----------|
-| Select tool | V |
-| Hand/pan | H or Space (hold) |
-| Text tool | T |
-| Rectangle | R |
-| Ellipse | E |
-| Zoom in | Cmd/Ctrl + = |
-| Zoom out | Cmd/Ctrl + - |
-| Fit to screen | Cmd/Ctrl + 0 |
-| Undo | Cmd/Ctrl + Z |
-| Redo | Cmd/Ctrl + Shift + Z |
-| Copy | Cmd/Ctrl + C |
-| Paste | Cmd/Ctrl + V |
-| Duplicate | Cmd/Ctrl + D |
-| Delete | Backspace / Delete |
-| Select all | Cmd/Ctrl + A |
-| Deselect | Escape |
-| Group | Cmd/Ctrl + G |
-| Ungroup | Cmd/Ctrl + Shift + G |
-| Bring forward | Cmd/Ctrl + ] |
-| Send backward | Cmd/Ctrl + [ |
-| Bring to front | Cmd/Ctrl + Shift + ] |
-| Send to back | Cmd/Ctrl + Shift + [ |
-| Save | Cmd/Ctrl + S |
-| Export | Cmd/Ctrl + Shift + E |
-| New project | Cmd/Ctrl + N |
-| Open project | Cmd/Ctrl + O |
-
----
-
-## Competitive Comparison
-
-| Feature | Open Reel Image | Canva | Adobe Express | Photopea |
-|---------|-----------------|-------|---------------|----------|
-| **Offline support** | βœ… Full | ❌ | ❌ | ⚠️ Partial |
-| **Free tier** | βœ… Unlimited | ⚠️ Limited | ⚠️ Limited | βœ… Full |
-| **No account needed** | βœ… | ❌ | ❌ | βœ… |
-| **No watermarks** | βœ… | ⚠️ Pro elements | ⚠️ Pro elements | βœ… |
-| **Background removal** | βœ… Free | ⚠️ Pro | ⚠️ Pro | βœ… Free |
-| **Custom fonts** | βœ… | ⚠️ Pro | ⚠️ Pro | βœ… |
-| **Export quality** | βœ… Full | ⚠️ Pro | ⚠️ Pro | βœ… |
-| **Privacy** | βœ… Local only | ❌ Cloud | ❌ Cloud | ⚠️ |
-| **Speed** | βœ… WASM | ⚠️ Cloud | ⚠️ Cloud | βœ… |
-| **Advanced filters** | βœ… | ⚠️ Basic | ⚠️ Basic | βœ… |
-| **Layer masks** | βœ… | ❌ | ❌ | βœ… |
-| **Templates** | βœ… | βœ… Best | βœ… Good | ❌ |
-
-### Our Advantages
-
-1. **True offline** β€” Not just "works offline sometimes"
-2. **Privacy-first** β€” Nothing leaves your device
-3. **No artificial limits** β€” Full features, no paywalls
-4. **Performance** β€” WASM means desktop-class speed
-5. **Open source** β€” Transparent, community-driven
-
-### Where We Need to Excel
-
-1. **Templates** β€” Need volume and quality to compete with Canva
-2. **Elements library** β€” Stickers, icons, graphics collection
-3. **Ease of use** β€” Canva's simplicity is their moat
-4. **Polish** β€” Professional feel in every interaction
-
----
-
-## Development Phases
-
-### Phase 1: Foundation (MVP)
-**Goal:** Basic working editor with core features
-
-- [ ] Project management (new, save, load, export)
-- [ ] Canvas with zoom, pan, guides
-- [ ] Image layer with basic transforms
-- [ ] Image import (drag & drop, file picker)
-- [ ] Basic adjustments (brightness, contrast, saturation)
-- [ ] Text layer with basic formatting
-- [ ] Rectangle and ellipse shapes
-- [ ] Layer panel with reordering
-- [ ] PNG and JPEG export
-- [ ] Undo/redo system
-
-### Phase 2: Image Power
-**Goal:** Professional image editing capabilities
-
-- [ ] Full adjustment panel (all sliders)
-- [ ] Filter presets (20+ looks)
-- [ ] Background removal (ML-powered)
-- [ ] Blend modes
-- [ ] Basic masking
-- [ ] Crop with aspect ratios
-- [ ] Image effects (blur, vignette, grain)
-
-### Phase 3: Typography
-**Goal:** Professional text capabilities
-
-- [ ] Google Fonts integration with offline cache
-- [ ] Custom font upload
-- [ ] Text effects (shadow, outline, glow)
-- [ ] Gradient text fills
-- [ ] Curved text / text on path
-- [ ] Text presets and styles
-
-### Phase 4: Shapes & Elements
-**Goal:** Complete graphics toolkit
-
-- [ ] Full shape library
-- [ ] Pen tool for custom paths
-- [ ] Shape fills (gradient, image, pattern)
-- [ ] Boolean operations
-- [ ] SVG import
-- [ ] Built-in elements/stickers library
-- [ ] Icon pack
-
-### Phase 5: Templates & Presets
-**Goal:** Quick-start for users
-
-- [ ] Template browser UI
-- [ ] 50+ starter templates
-- [ ] Social media presets
-- [ ] Export presets
-- [ ] Save as template
-- [ ] Placeholder system
-
-### Phase 6: Polish & Pro Features
-**Goal:** Professional-grade experience
-
-- [ ] Multi-page / carousel support
-- [ ] Brand kit
-- [ ] Advanced masking
-- [ ] Keyboard shortcuts (full set)
-- [ ] Context menus
-- [ ] Snap and alignment guides
-- [ ] Rulers and measurements
-- [ ] PDF export
-- [ ] WebP and AVIF export
-
-### Phase 7: Scale & Performance
-**Goal:** Handle any project size
-
-- [ ] Large canvas optimization (8K+)
-- [ ] Memory management
-- [ ] Progressive loading
-- [ ] Background processing
-- [ ] Performance monitoring
-
----
-
-## Success Metrics
-
-### User Experience Goals
-
-| Metric | Target |
-|--------|--------|
-| Time to first design | < 2 minutes |
-| Learning curve | Productive in < 10 minutes |
-| Export satisfaction | > 95% usable on first try |
-| Return usage | > 60% come back within 7 days |
-
-### Technical Goals
-
-| Metric | Target |
-|--------|--------|
-| Lighthouse performance | > 90 |
-| First contentful paint | < 1.5s |
-| Time to interactive | < 3s |
-| Core Web Vitals | All green |
-| Offline reliability | 100% feature parity |
-| Crash rate | < 0.1% of sessions |
-
-### Growth Goals
-
-| Metric | 3 Month | 6 Month | 12 Month |
-|--------|---------|---------|----------|
-| Monthly active users | 1,000 | 10,000 | 50,000 |
-| Projects created | 5,000 | 75,000 | 500,000 |
-| Exports completed | 10,000 | 150,000 | 1,000,000 |
-
----
-
-## Content Strategy
-
-### Templates Needed (Priority Order)
-
-1. **YouTube Thumbnails** β€” Biggest creator need
- - Gaming (Minecraft, Fortnite, variety)
- - Tech reviews
- - Vlogs
- - Tutorials
- - Reactions
- - Podcasts
-
-2. **Instagram** β€” Highest volume
- - Quote posts
- - Product showcases
- - Announcements
- - Carousels (educational, storytelling)
- - Story templates
-
-3. **Business** β€” Monetization potential
- - Sale announcements
- - Product launches
- - Event promotions
- - Hiring posts
- - Testimonials
-
-4. **General Social** β€” Cross-platform
- - Motivational quotes
- - Tips and tricks
- - Before/after
- - Lists and rankings
-
-### Element Library Priorities
-
-1. **Arrows and callouts** β€” Tutorial creators need these
-2. **Social icons** β€” Platform logos, engagement icons
-3. **Frames and borders** β€” Easy visual enhancement
-4. **Badges and labels** β€” "New", "Sale", "Free", etc.
-5. **Abstract shapes** β€” Background decoration
-6. **Emojis** β€” Universal engagement
-
----
-
-## Integration with Open Reel Video
-
-### Shared Components
-
-- Asset management system
-- Export pipeline
-- Color picker
-- Font system
-- Project storage
-
-### Workflow Integration
-
-1. **Thumbnail from video** β€” Extract frame, edit as image
-2. **Shared assets** β€” Use same images across video and graphics
-3. **Consistent branding** β€” Same fonts, colors across projects
-4. **Quick access** β€” Switch between video and image editor
-
-### Unified Export
-
-- Export video + thumbnail together
-- Batch export for YouTube (video + thumbnail + end screen)
-- Consistent file naming
-
----
-
-## Future Considerations
-
-### Potential Future Features
-
-- **AI-powered features:**
- - Text suggestions
- - Layout recommendations
- - Color palette generation
- - Image enhancement
- - Object removal
-
-- **Collaboration:**
- - Real-time multiplayer editing
- - Comments and feedback
- - Version history with contributors
-
-- **Stock integration:**
- - Free stock image search
- - Icon library expansion
- - Premium asset marketplace
-
-- **Animation (light):**
- - Animated stickers
- - GIF export
- - Simple motion for social posts
-
-### Monetization Options (If Needed)
-
-- Premium templates
-- Extended element library
-- Priority support
-- Team features
-- Custom branding removal
-- API access
-
----
-
-## File Structure (Proposed)
-
-```
-openreel/
-β”œβ”€β”€ apps/
-β”‚ β”œβ”€β”€ video/ # Video editor app
-β”‚ └── image/ # Image editor app
-β”‚ β”œβ”€β”€ src/
-β”‚ β”‚ β”œβ”€β”€ components/
-β”‚ β”‚ β”‚ β”œβ”€β”€ canvas/ # Canvas and rendering
-β”‚ β”‚ β”‚ β”œβ”€β”€ panels/ # UI panels
-β”‚ β”‚ β”‚ β”œβ”€β”€ tools/ # Tool implementations
-β”‚ β”‚ β”‚ └── ui/ # Shared UI components
-β”‚ β”‚ β”œβ”€β”€ engine/
-β”‚ β”‚ β”‚ β”œβ”€β”€ layers/ # Layer system
-β”‚ β”‚ β”‚ β”œβ”€β”€ history/ # Undo/redo
-β”‚ β”‚ β”‚ β”œβ”€β”€ export/ # Export pipeline
-β”‚ β”‚ β”‚ └── project/ # Project management
-β”‚ β”‚ β”œβ”€β”€ stores/ # State management
-β”‚ β”‚ β”œβ”€β”€ hooks/ # React hooks
-β”‚ β”‚ └── utils/ # Utilities
-β”‚ └── public/
-β”‚ β”œβ”€β”€ templates/ # Template JSON files
-β”‚ └── elements/ # Built-in elements
-β”œβ”€β”€ packages/
-β”‚ β”œβ”€β”€ image-core/ # Rust WASM image processing
-β”‚ β”‚ β”œβ”€β”€ src/
-β”‚ β”‚ β”‚ β”œβ”€β”€ adjustments/
-β”‚ β”‚ β”‚ β”œβ”€β”€ filters/
-β”‚ β”‚ β”‚ β”œβ”€β”€ effects/
-β”‚ β”‚ β”‚ β”œβ”€β”€ composite/
-β”‚ β”‚ β”‚ └── export/
-β”‚ β”‚ └── Cargo.toml
-β”‚ β”œβ”€β”€ ml-models/ # ONNX models for ML features
-β”‚ └── shared/ # Shared utilities
-└── docs/
- β”œβ”€β”€ IMAGE_README.md # This document
- └── architecture/
-```
-
----
-
-## Open Questions
-
-1. **Template creation** β€” Build custom tool or use Figma/design tool exports?
-2. **Element library source** β€” License existing or create original?
-3. **Font licensing** β€” Google Fonts sufficient or need more?
-4. **Mobile support** β€” Responsive or separate mobile app?
-
----
-
-## Summary
-
-Open Reel Image is a browser-based graphic design editor that gives creators professional tools without the complexity of Photoshop or the limitations of Canva's free tier. By running entirely offline with WASM-powered processing, we offer speed, privacy, and freedom that cloud-based competitors can't match.
-
-The editor focuses on the graphics creators actually needβ€”social media posts, thumbnails, marketing materialsβ€”with templates and presets that make professional design accessible to everyone.
-
-**Our promise:** Professional graphic design, free forever, no internet required.
-
----
-
-*Last updated: January 2025*
-*Version: 0.1.0-planning*
diff --git a/Image-features.md b/Image-features.md
deleted file mode 100644
index 9c1a3255..00000000
--- a/Image-features.md
+++ /dev/null
@@ -1,1213 +0,0 @@
-# Open Reel Image - Complete Features List
-
-A comprehensive breakdown of all features required for the Open Reel Image editor.
-
-**Legend:**
-- πŸ”΄ P0 β€” Critical for MVP
-- 🟠 P1 β€” Important, post-MVP
-- 🟑 P2 β€” Nice to have
-- 🟒 P3 β€” Future consideration
-
----
-
-## 1. Project Management
-
-### 1.1 Project Operations
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Create new project | πŸ”΄ P0 | Start fresh project with canvas size selection |
-| Open existing project | πŸ”΄ P0 | Load project from browser storage |
-| Save project | πŸ”΄ P0 | Persist project to IndexedDB |
-| Auto-save | πŸ”΄ P0 | Automatic saving at intervals and on changes |
-| Duplicate project | 🟠 P1 | Create copy of entire project |
-| Delete project | πŸ”΄ P0 | Remove project from storage |
-| Rename project | πŸ”΄ P0 | Change project name |
-| Project thumbnails | 🟠 P1 | Auto-generated previews in project list |
-| Recent projects | πŸ”΄ P0 | Quick access to recently edited projects |
-| Import project file | 🟠 P1 | Load .openreel project file from disk |
-| Export project file | 🟠 P1 | Save .openreel project file to disk |
-| Project templates | 🟠 P1 | Start from pre-designed project |
-
-### 1.2 Canvas Presets
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Custom size | πŸ”΄ P0 | User-defined width and height |
-| Instagram Post (1080Γ—1080) | πŸ”΄ P0 | Square format |
-| Instagram Story (1080Γ—1920) | πŸ”΄ P0 | 9:16 vertical |
-| Instagram Carousel (1080Γ—1350) | πŸ”΄ P0 | 4:5 portrait |
-| YouTube Thumbnail (1280Γ—720) | πŸ”΄ P0 | 16:9 landscape |
-| Twitter/X Post (1200Γ—675) | πŸ”΄ P0 | Twitter optimized |
-| Facebook Post (1200Γ—630) | 🟠 P1 | Facebook feed |
-| Facebook Cover (820Γ—312) | 🟠 P1 | Profile cover |
-| LinkedIn Post (1200Γ—627) | 🟠 P1 | LinkedIn feed |
-| LinkedIn Banner (1584Γ—396) | 🟑 P2 | Profile banner |
-| Pinterest Pin (1000Γ—1500) | 🟠 P1 | 2:3 vertical |
-| TikTok Cover (1080Γ—1920) | 🟠 P1 | Video cover |
-| Twitch Panel (320Γ—160) | 🟑 P2 | Stream panel |
-| YouTube Channel Art (2560Γ—1440) | 🟑 P2 | Channel banner |
-| Podcast Cover (3000Γ—3000) | 🟑 P2 | Apple Podcasts spec |
-| A4 Document (2480Γ—3508) | 🟑 P2 | Print document |
-| US Letter (2550Γ—3300) | 🟑 P2 | Print document |
-| Business Card (1050Γ—600) | 🟑 P2 | Standard card |
-| Presentation 16:9 (1920Γ—1080) | 🟑 P2 | Slide deck |
-| Presentation 4:3 (1024Γ—768) | 🟑 P2 | Classic slides |
-
-### 1.3 Multi-Page Support
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Add page | 🟠 P1 | Create new page in project |
-| Delete page | 🟠 P1 | Remove page from project |
-| Duplicate page | 🟠 P1 | Copy page with all layers |
-| Reorder pages | 🟠 P1 | Drag to change page order |
-| Page navigation | 🟠 P1 | Switch between pages |
-| Page thumbnails | 🟠 P1 | Visual preview of all pages |
-| Copy layers between pages | 🟠 P1 | Move/copy elements across pages |
-| Batch page operations | 🟑 P2 | Apply changes to multiple pages |
-| Page transitions (for export) | 🟒 P3 | Animated transitions in GIF/video export |
-
----
-
-## 2. Canvas & Viewport
-
-### 2.1 Canvas Controls
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Pan/scroll canvas | πŸ”΄ P0 | Navigate around canvas |
-| Zoom in/out | πŸ”΄ P0 | Scale canvas view |
-| Zoom to fit | πŸ”΄ P0 | Fit canvas in viewport |
-| Zoom to selection | 🟠 P1 | Focus on selected element |
-| Zoom to 100% | πŸ”΄ P0 | Actual pixels view |
-| Zoom presets | 🟠 P1 | 25%, 50%, 100%, 200%, etc. |
-| Zoom slider | 🟠 P1 | Continuous zoom control |
-| Mouse wheel zoom | πŸ”΄ P0 | Scroll to zoom |
-| Pinch to zoom | 🟠 P1 | Touch gesture support |
-| Mini-map navigation | 🟑 P2 | Overview panel for large canvases |
-
-### 2.2 Canvas Display
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Canvas background color | πŸ”΄ P0 | Set canvas fill color |
-| Canvas background image | 🟠 P1 | Set image as canvas background |
-| Transparent background | πŸ”΄ P0 | Checkerboard pattern display |
-| Workspace background | 🟠 P1 | Color outside canvas area |
-| Canvas border | 🟠 P1 | Visual canvas edge indicator |
-| Safe zone overlay | 🟑 P2 | Show safe areas for platforms |
-| Pixel grid (high zoom) | 🟑 P2 | Show pixel boundaries when zoomed |
-
-### 2.3 Guides & Grids
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Show/hide grid | 🟠 P1 | Toggle grid visibility |
-| Grid size setting | 🟠 P1 | Customize grid spacing |
-| Snap to grid | 🟠 P1 | Align elements to grid |
-| Horizontal guides | 🟠 P1 | Draggable horizontal lines |
-| Vertical guides | 🟠 P1 | Draggable vertical lines |
-| Snap to guides | 🟠 P1 | Align elements to guides |
-| Clear all guides | 🟠 P1 | Remove all guides at once |
-| Lock guides | 🟑 P2 | Prevent accidental guide movement |
-| Guide input (precise) | 🟑 P2 | Enter exact guide position |
-| Rulers | 🟠 P1 | Horizontal and vertical rulers |
-| Ruler units | 🟑 P2 | Pixels, inches, cm, mm |
-
-### 2.4 Smart Guides & Snapping
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Snap to objects | πŸ”΄ P0 | Align to other layer edges |
-| Snap to center | πŸ”΄ P0 | Align to canvas/object centers |
-| Distance indicators | 🟠 P1 | Show spacing between objects |
-| Equal spacing guides | 🟠 P1 | Distribute objects evenly |
-| Alignment guides | πŸ”΄ P0 | Visual guides during drag |
-| Snap threshold setting | 🟑 P2 | Customize snap distance |
-| Toggle snapping | πŸ”΄ P0 | Enable/disable all snapping |
-
----
-
-## 3. Layer System
-
-### 3.1 Layer Types
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Image layer | πŸ”΄ P0 | Raster image content |
-| Text layer | πŸ”΄ P0 | Editable text content |
-| Shape layer | πŸ”΄ P0 | Vector shapes |
-| Group layer | 🟠 P1 | Container for multiple layers |
-| Mask layer | 🟑 P2 | Alpha mask for parent |
-| Adjustment layer | 🟑 P2 | Non-destructive adjustments |
-| Frame layer | 🟑 P2 | Clipping frame for images |
-
-### 3.2 Layer Operations
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Select layer | πŸ”΄ P0 | Click to select |
-| Multi-select layers | πŸ”΄ P0 | Shift/Cmd click for multiple |
-| Marquee select | 🟠 P1 | Drag to select multiple |
-| Reorder layers (drag) | πŸ”΄ P0 | Drag in layer panel |
-| Move layer up | πŸ”΄ P0 | Keyboard shortcut |
-| Move layer down | πŸ”΄ P0 | Keyboard shortcut |
-| Move to top | 🟠 P1 | Bring to front |
-| Move to bottom | 🟠 P1 | Send to back |
-| Duplicate layer | πŸ”΄ P0 | Create copy |
-| Delete layer | πŸ”΄ P0 | Remove layer |
-| Copy layer | πŸ”΄ P0 | Copy to clipboard |
-| Paste layer | πŸ”΄ P0 | Paste from clipboard |
-| Cut layer | πŸ”΄ P0 | Cut to clipboard |
-| Paste in place | 🟠 P1 | Paste at same position |
-| Rename layer | πŸ”΄ P0 | Custom layer name |
-| Lock layer | πŸ”΄ P0 | Prevent editing |
-| Hide layer | πŸ”΄ P0 | Toggle visibility |
-| Lock position | 🟠 P1 | Lock only position |
-| Lock all except | 🟑 P2 | Lock all other layers |
-
-### 3.3 Layer Grouping
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Create group | 🟠 P1 | Group selected layers |
-| Ungroup | 🟠 P1 | Dissolve group |
-| Nested groups | 🟠 P1 | Groups within groups |
-| Group visibility | 🟠 P1 | Hide/show entire group |
-| Group lock | 🟠 P1 | Lock entire group |
-| Edit group contents | 🟠 P1 | Select items within group |
-| Group transform | 🟠 P1 | Transform group as unit |
-| Collapse/expand group | 🟠 P1 | UI toggle in layer panel |
-
-### 3.4 Layer Properties
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Opacity | πŸ”΄ P0 | 0-100% transparency |
-| Blend mode | 🟠 P1 | Layer blending |
-| Position X/Y | πŸ”΄ P0 | Numeric position |
-| Width/Height | πŸ”΄ P0 | Numeric dimensions |
-| Rotation | πŸ”΄ P0 | Rotation angle |
-| Scale X/Y | 🟠 P1 | Independent axis scaling |
-| Anchor point | 🟠 P1 | Transform origin |
-| Flip horizontal | πŸ”΄ P0 | Mirror horizontally |
-| Flip vertical | πŸ”΄ P0 | Mirror vertically |
-
-### 3.5 Blend Modes
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Normal | πŸ”΄ P0 | Default blending |
-| Multiply | 🟠 P1 | Darken blend |
-| Screen | 🟠 P1 | Lighten blend |
-| Overlay | 🟠 P1 | Contrast blend |
-| Soft Light | 🟠 P1 | Subtle contrast |
-| Hard Light | 🟑 P2 | Strong contrast |
-| Color Dodge | 🟑 P2 | Brighten blend |
-| Color Burn | 🟑 P2 | Darken intensify |
-| Darken | 🟑 P2 | Keep darker pixels |
-| Lighten | 🟑 P2 | Keep lighter pixels |
-| Difference | 🟑 P2 | Invert blend |
-| Exclusion | 🟑 P2 | Softer difference |
-| Hue | 🟑 P2 | Apply hue only |
-| Saturation | 🟑 P2 | Apply saturation only |
-| Color | 🟑 P2 | Apply hue + saturation |
-| Luminosity | 🟑 P2 | Apply brightness only |
-
-### 3.6 Layer Panel UI
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Layer list | πŸ”΄ P0 | Visual layer stack |
-| Layer thumbnails | πŸ”΄ P0 | Preview of layer content |
-| Visibility toggle | πŸ”΄ P0 | Eye icon |
-| Lock toggle | πŸ”΄ P0 | Lock icon |
-| Layer type icon | πŸ”΄ P0 | Visual indicator of type |
-| Selected layer highlight | πŸ”΄ P0 | Visual selection state |
-| Drag handle | πŸ”΄ P0 | Reorder indicator |
-| Context menu | 🟠 P1 | Right-click options |
-| Opacity slider (inline) | 🟑 P2 | Quick opacity adjust |
-| Search/filter layers | 🟑 P2 | Find layers by name |
-
----
-
-## 4. Selection & Transform
-
-### 4.1 Selection Tools
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Select tool (V) | πŸ”΄ P0 | Click to select layers |
-| Direct select | 🟠 P1 | Select within groups |
-| Marquee selection | 🟠 P1 | Rectangle drag select |
-| Lasso selection | 🟑 P2 | Freeform drag select |
-| Select all | πŸ”΄ P0 | Select all layers |
-| Deselect all | πŸ”΄ P0 | Clear selection |
-| Select inverse | 🟑 P2 | Invert selection |
-| Select same type | 🟑 P2 | Select all text/images/shapes |
-
-### 4.2 Transform Controls
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Move (drag) | πŸ”΄ P0 | Drag to reposition |
-| Move (arrow keys) | πŸ”΄ P0 | Nudge with keyboard |
-| Move (precise input) | πŸ”΄ P0 | Enter X/Y values |
-| Resize (handles) | πŸ”΄ P0 | Drag corners/edges |
-| Resize (precise) | πŸ”΄ P0 | Enter width/height |
-| Maintain aspect ratio | πŸ”΄ P0 | Shift+drag or toggle |
-| Rotate (handle) | πŸ”΄ P0 | Drag rotation handle |
-| Rotate (precise) | πŸ”΄ P0 | Enter angle |
-| Rotate 90° CW | 🟠 P1 | Quick rotate |
-| Rotate 90° CCW | 🟠 P1 | Quick rotate |
-| Skew/shear | 🟑 P2 | Non-uniform transform |
-| Free transform | 🟠 P1 | All transforms at once |
-| Transform origin | 🟠 P1 | Set pivot point |
-
-### 4.3 Alignment
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Align left | πŸ”΄ P0 | Align to left edge |
-| Align center (H) | πŸ”΄ P0 | Align horizontal centers |
-| Align right | πŸ”΄ P0 | Align to right edge |
-| Align top | πŸ”΄ P0 | Align to top edge |
-| Align middle (V) | πŸ”΄ P0 | Align vertical centers |
-| Align bottom | πŸ”΄ P0 | Align to bottom edge |
-| Align to canvas | πŸ”΄ P0 | Align relative to canvas |
-| Align to selection | πŸ”΄ P0 | Align relative to selection bounds |
-| Distribute horizontally | 🟠 P1 | Equal horizontal spacing |
-| Distribute vertically | 🟠 P1 | Equal vertical spacing |
-| Distribute spacing | 🟠 P1 | Equal gaps between objects |
-
----
-
-## 5. Image Layers
-
-### 5.1 Image Import
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| File picker import | πŸ”΄ P0 | Browse and select files |
-| Drag and drop | πŸ”΄ P0 | Drop files onto canvas |
-| Paste from clipboard | πŸ”΄ P0 | Paste copied images |
-| PNG support | πŸ”΄ P0 | Import PNG files |
-| JPEG support | πŸ”΄ P0 | Import JPEG files |
-| WebP support | πŸ”΄ P0 | Import WebP files |
-| GIF support (static) | 🟠 P1 | Import as static image |
-| SVG support | 🟠 P1 | Import as image or vector |
-| AVIF support | 🟑 P2 | Next-gen format |
-| HEIC support | 🟑 P2 | Apple format |
-| PSD support | 🟒 P3 | Photoshop import |
-| Raw format support | 🟒 P3 | Camera raw files |
-| URL import | 🟑 P2 | Import from web URL |
-| Multiple file import | 🟠 P1 | Import several at once |
-
-### 5.2 Image Cropping
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Crop tool | πŸ”΄ P0 | Enter crop mode |
-| Free crop | πŸ”΄ P0 | Any aspect ratio |
-| Aspect ratio lock | πŸ”΄ P0 | Constrained crop |
-| Preset ratios | πŸ”΄ P0 | 1:1, 4:3, 16:9, etc. |
-| Custom ratio | 🟠 P1 | User-defined ratio |
-| Crop handles | πŸ”΄ P0 | Drag to adjust |
-| Crop overlay (rule of thirds) | 🟠 P1 | Composition guides |
-| Rotate while cropping | 🟠 P1 | Straighten image |
-| Apply/cancel crop | πŸ”΄ P0 | Confirm or abort |
-| Reset crop | πŸ”΄ P0 | Restore original |
-
-### 5.3 Image Adjustments
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Brightness | πŸ”΄ P0 | Overall lightness |
-| Contrast | πŸ”΄ P0 | Tonal range |
-| Exposure | 🟠 P1 | Light exposure |
-| Saturation | πŸ”΄ P0 | Color intensity |
-| Vibrance | 🟠 P1 | Smart saturation |
-| Temperature | πŸ”΄ P0 | Warm/cool shift |
-| Tint | 🟠 P1 | Green/magenta shift |
-| Highlights | 🟠 P1 | Bright area control |
-| Shadows | 🟠 P1 | Dark area control |
-| Whites | 🟑 P2 | White point |
-| Blacks | 🟑 P2 | Black point |
-| Clarity | 🟠 P1 | Midtone contrast |
-| Sharpness | 🟠 P1 | Edge enhancement |
-| Noise reduction | 🟑 P2 | Denoise filter |
-| Dehaze | 🟑 P2 | Remove atmospheric haze |
-| Vignette | 🟠 P1 | Edge darkening |
-| Grain | 🟠 P1 | Film grain effect |
-| Fade | 🟠 P1 | Lifted blacks |
-
-### 5.4 Filters & Presets
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Filter browser | πŸ”΄ P0 | Visual filter selection |
-| Filter preview | πŸ”΄ P0 | See before applying |
-| Filter intensity | πŸ”΄ P0 | Adjust filter strength |
-| Original preset | πŸ”΄ P0 | No filter applied |
-| Vivid preset | πŸ”΄ P0 | Enhanced colors |
-| Warm preset | πŸ”΄ P0 | Warm tones |
-| Cool preset | πŸ”΄ P0 | Cool tones |
-| B&W preset | πŸ”΄ P0 | Black and white |
-| Vintage preset | 🟠 P1 | Retro look |
-| Film presets | 🟠 P1 | Kodak, Fuji looks |
-| Cinematic presets | 🟠 P1 | Movie color grades |
-| Portrait presets | 🟠 P1 | Skin tone optimized |
-| Landscape presets | 🟠 P1 | Nature optimized |
-| Food presets | 🟑 P2 | Food photography |
-| Custom LUT import | 🟑 P2 | Import .cube files |
-| Save custom preset | 🟑 P2 | Save adjustment combo |
-| Preset categories | 🟠 P1 | Organized filter groups |
-
-### 5.5 Image Effects
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Blur (Gaussian) | 🟠 P1 | Soft blur |
-| Blur (Motion) | 🟑 P2 | Directional blur |
-| Blur (Radial) | 🟑 P2 | Spin blur |
-| Blur (Tilt-shift) | 🟑 P2 | Selective focus |
-| Sharpen | 🟠 P1 | Edge sharpening |
-| Unsharp mask | 🟑 P2 | Advanced sharpen |
-| Glow | 🟑 P2 | Soft glow effect |
-| Bloom | 🟑 P2 | Highlight bloom |
-| Chromatic aberration | 🟑 P2 | RGB fringing |
-| Glitch effect | 🟑 P2 | Digital distortion |
-| Pixelate | 🟑 P2 | Mosaic effect |
-| Duotone | 🟑 P2 | Two-color mapping |
-| Color halftone | 🟒 P3 | Print dots effect |
-| Posterize | 🟑 P2 | Reduce colors |
-| Invert colors | 🟠 P1 | Negative image |
-| Sepia | 🟠 P1 | Brown tone |
-| Hue shift | 🟑 P2 | Rotate colors |
-
-### 5.6 Background Removal
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| One-click BG removal | πŸ”΄ P0 | AI-powered removal |
-| Preview mode | πŸ”΄ P0 | See result before applying |
-| Quality settings | 🟠 P1 | Speed vs quality tradeoff |
-| Refine edges | 🟠 P1 | Manual edge adjustment |
-| Feather edges | 🟠 P1 | Soft edge transition |
-| Keep/remove brush | 🟑 P2 | Manual touch-up |
-| Replace background | 🟠 P1 | Add new background |
-| Background blur | 🟑 P2 | Blur original background |
-| Edge detection preview | 🟑 P2 | Show detected edges |
-| Batch BG removal | 🟒 P3 | Remove from multiple images |
-
-### 5.7 Image Masking
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Layer mask | 🟑 P2 | Grayscale transparency mask |
-| Clipping mask | 🟑 P2 | Clip to layer below |
-| Shape mask | 🟠 P1 | Mask with shape |
-| Gradient mask | 🟑 P2 | Gradual transparency |
-| Brush mask editing | 🟑 P2 | Paint mask |
-| Invert mask | 🟑 P2 | Flip mask |
-| Feather mask | 🟑 P2 | Soft mask edges |
-| Mask visibility toggle | 🟑 P2 | Show mask overlay |
-
----
-
-## 6. Text Layers
-
-### 6.1 Text Creation
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Text tool (T) | πŸ”΄ P0 | Click to create text |
-| Click to place | πŸ”΄ P0 | Single click creates text |
-| Text box (drag) | 🟠 P1 | Drag to create bounded text |
-| Auto-sizing text | πŸ”΄ P0 | Box fits content |
-| Fixed width text | 🟠 P1 | Text wraps in box |
-| Edit text (double-click) | πŸ”΄ P0 | Enter edit mode |
-| Exit text edit | πŸ”΄ P0 | Click outside or Escape |
-
-### 6.2 Font Selection
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| System fonts | πŸ”΄ P0 | Use installed fonts |
-| Google Fonts | πŸ”΄ P0 | Access Google Fonts library |
-| Font search | πŸ”΄ P0 | Search by name |
-| Font preview | πŸ”΄ P0 | See font before selecting |
-| Recent fonts | 🟠 P1 | Quick access to used fonts |
-| Favorite fonts | 🟠 P1 | Star preferred fonts |
-| Font categories | 🟠 P1 | Serif, Sans, Display, etc. |
-| Custom font upload | 🟠 P1 | TTF, OTF, WOFF, WOFF2 |
-| Font pairing suggestions | 🟒 P3 | Recommended combinations |
-| Variable fonts | 🟑 P2 | Continuous weight/width |
-| Font caching (offline) | πŸ”΄ P0 | Cache for offline use |
-
-### 6.3 Text Formatting
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Font family | πŸ”΄ P0 | Select typeface |
-| Font size | πŸ”΄ P0 | Text size in px |
-| Font weight | πŸ”΄ P0 | Light to Black |
-| Font style (italic) | πŸ”΄ P0 | Italic/oblique |
-| Text color | πŸ”΄ P0 | Fill color |
-| Text alignment (left) | πŸ”΄ P0 | Align left |
-| Text alignment (center) | πŸ”΄ P0 | Align center |
-| Text alignment (right) | πŸ”΄ P0 | Align right |
-| Text alignment (justify) | 🟠 P1 | Justified text |
-| Letter spacing | πŸ”΄ P0 | Character spacing |
-| Line height | πŸ”΄ P0 | Line spacing |
-| Word spacing | 🟑 P2 | Space between words |
-| Paragraph spacing | 🟑 P2 | Space between paragraphs |
-| Text transform (upper) | 🟠 P1 | UPPERCASE |
-| Text transform (lower) | 🟠 P1 | lowercase |
-| Text transform (title) | 🟠 P1 | Title Case |
-| Underline | 🟠 P1 | Underlined text |
-| Strikethrough | 🟠 P1 | Crossed out text |
-| Superscript | 🟑 P2 | Raised text |
-| Subscript | 🟑 P2 | Lowered text |
-
-### 6.4 Text Styling
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Solid fill | πŸ”΄ P0 | Single color fill |
-| Gradient fill | 🟠 P1 | Gradient text |
-| Image fill | 🟑 P2 | Image masked by text |
-| Pattern fill | 🟑 P2 | Repeating pattern |
-| Outline/stroke | 🟠 P1 | Text border |
-| Stroke width | 🟠 P1 | Border thickness |
-| Stroke color | 🟠 P1 | Border color |
-| Stroke position | 🟑 P2 | Inside/center/outside |
-| Drop shadow | 🟠 P1 | Text shadow |
-| Shadow color | 🟠 P1 | Shadow tint |
-| Shadow blur | 🟠 P1 | Shadow softness |
-| Shadow offset X/Y | 🟠 P1 | Shadow position |
-| Inner shadow | 🟑 P2 | Inset shadow |
-| Outer glow | 🟑 P2 | Glow effect |
-| Inner glow | 🟑 P2 | Inner glow |
-| Background (highlight) | 🟠 P1 | Text background color |
-| Background padding | 🟠 P1 | Space around text |
-| Background radius | 🟠 P1 | Rounded corners |
-| 3D/extrude | 🟒 P3 | 3D text effect |
-| Neon effect | 🟑 P2 | Neon glow preset |
-
-### 6.5 Text Path
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Text on arc | 🟑 P2 | Curved text (circle) |
-| Text on wave | 🟑 P2 | Wavy text |
-| Text on path | 🟑 P2 | Custom path text |
-| Arc amount control | 🟑 P2 | Curvature intensity |
-| Reverse path | 🟑 P2 | Flip text direction |
-| Start offset | 🟑 P2 | Where text starts on path |
-
-### 6.6 Text Presets
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Heading presets | 🟠 P1 | Pre-styled headlines |
-| Subheading presets | 🟠 P1 | Pre-styled subtitles |
-| Body presets | 🟠 P1 | Pre-styled paragraphs |
-| Stylized presets | 🟠 P1 | Decorative text styles |
-| Save custom preset | 🟑 P2 | Save text style |
-| Preset categories | 🟠 P1 | Organized text styles |
-
-### 6.7 Rich Text (Per-Character)
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Select text range | πŸ”΄ P0 | Highlight portion |
-| Mixed formatting | 🟠 P1 | Different styles in one layer |
-| Mixed colors | 🟠 P1 | Multi-color text |
-| Mixed fonts | 🟑 P2 | Multiple fonts in one layer |
-| Emoji support | πŸ”΄ P0 | Color emoji rendering |
-| Special characters | 🟠 P1 | Symbols, arrows, etc. |
-
----
-
-## 7. Shape Layers
-
-### 7.1 Basic Shapes
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Rectangle | πŸ”΄ P0 | Basic rectangle |
-| Square (shift) | πŸ”΄ P0 | Constrained rectangle |
-| Ellipse | πŸ”΄ P0 | Oval shape |
-| Circle (shift) | πŸ”΄ P0 | Constrained ellipse |
-| Triangle | 🟠 P1 | Three-sided polygon |
-| Polygon | 🟠 P1 | N-sided shape |
-| Star | 🟠 P1 | Star shape |
-| Line | πŸ”΄ P0 | Straight line |
-| Arrow | 🟠 P1 | Line with arrowhead |
-
-### 7.2 Shape Properties
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Corner radius | πŸ”΄ P0 | Rounded corners |
-| Individual corner radius | 🟠 P1 | Per-corner control |
-| Polygon sides | 🟠 P1 | Number of sides |
-| Star points | 🟠 P1 | Number of points |
-| Star inner radius | 🟠 P1 | Point depth |
-| Line thickness | πŸ”΄ P0 | Stroke width for lines |
-| Arrow head style | 🟠 P1 | Arrow end types |
-| Arrow head size | 🟠 P1 | Arrow end scale |
-
-### 7.3 Shape Fill
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Solid fill | πŸ”΄ P0 | Single color |
-| No fill | πŸ”΄ P0 | Transparent fill |
-| Linear gradient | 🟠 P1 | Directional gradient |
-| Radial gradient | 🟠 P1 | Circular gradient |
-| Angular gradient | 🟑 P2 | Conical gradient |
-| Gradient stops | 🟠 P1 | Multi-color gradient |
-| Gradient angle | 🟠 P1 | Rotation of gradient |
-| Image fill | 🟑 P2 | Image inside shape |
-| Pattern fill | 🟑 P2 | Repeating pattern |
-| Fill opacity | πŸ”΄ P0 | Fill transparency |
-
-### 7.4 Shape Stroke
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Stroke color | πŸ”΄ P0 | Border color |
-| Stroke width | πŸ”΄ P0 | Border thickness |
-| No stroke | πŸ”΄ P0 | Remove border |
-| Stroke opacity | 🟠 P1 | Border transparency |
-| Stroke position | 🟑 P2 | Inside/center/outside |
-| Dash pattern | 🟠 P1 | Dashed lines |
-| Dash gap | 🟠 P1 | Space between dashes |
-| Line cap | 🟠 P1 | Butt/round/square |
-| Line join | 🟠 P1 | Miter/round/bevel |
-| Stroke gradient | 🟑 P2 | Gradient border |
-
-### 7.5 Vector Editing
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Pen tool | 🟑 P2 | Create custom paths |
-| Add anchor point | 🟑 P2 | Add point to path |
-| Remove anchor point | 🟑 P2 | Delete point |
-| Convert anchor point | 🟑 P2 | Corner to smooth |
-| Direct selection | 🟑 P2 | Select individual points |
-| Move anchor point | 🟑 P2 | Reposition point |
-| Bezier handles | 🟑 P2 | Curve control handles |
-| Close path | 🟑 P2 | Connect start to end |
-| Path simplify | 🟒 P3 | Reduce point count |
-| Path offset | 🟒 P3 | Expand/contract path |
-
-### 7.6 Boolean Operations
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Union | 🟑 P2 | Combine shapes |
-| Subtract | 🟑 P2 | Remove overlap |
-| Intersect | 🟑 P2 | Keep overlap only |
-| Exclude | 🟑 P2 | Remove overlap, keep rest |
-| Flatten | 🟑 P2 | Merge to single path |
-
----
-
-## 8. Elements & Assets
-
-### 8.1 Built-in Elements
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Element browser | 🟠 P1 | Browse element library |
-| Element search | 🟠 P1 | Search by keyword |
-| Element categories | 🟠 P1 | Organized collections |
-| Element preview | 🟠 P1 | See before adding |
-| Drag to canvas | 🟠 P1 | Drop element on canvas |
-| Click to add | 🟠 P1 | Add at center |
-| Element favorites | 🟑 P2 | Save preferred elements |
-| Recently used | 🟠 P1 | Quick access |
-
-### 8.2 Element Categories
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Arrows | 🟠 P1 | Direction indicators |
-| Callouts | 🟠 P1 | Speech bubbles, annotations |
-| Lines & dividers | 🟠 P1 | Decorative separators |
-| Frames | 🟠 P1 | Image frames, borders |
-| Badges & labels | 🟠 P1 | "New", "Sale", etc. |
-| Icons | 🟠 P1 | Common icons |
-| Social icons | πŸ”΄ P0 | Platform logos |
-| Emojis | 🟠 P1 | Emoji graphics |
-| Abstract shapes | 🟠 P1 | Decorative elements |
-| Blobs & organic | 🟑 P2 | Organic shapes |
-| Patterns | 🟑 P2 | Background patterns |
-| Textures | 🟑 P2 | Overlay textures |
-| Seasonal | 🟑 P2 | Holiday themed |
-| Stickers | 🟠 P1 | Fun decorative items |
-| Hand-drawn | 🟑 P2 | Sketchy elements |
-
-### 8.3 SVG Import
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| SVG file import | 🟠 P1 | Import SVG files |
-| Paste SVG code | 🟑 P2 | Paste raw SVG |
-| SVG as vector | 🟠 P1 | Editable paths |
-| SVG as image | 🟠 P1 | Rasterized SVG |
-| SVG color override | 🟑 P2 | Recolor imported SVG |
-| SVG grouping preserved | 🟑 P2 | Maintain SVG structure |
-
-### 8.4 Asset Library
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Project assets panel | 🟠 P1 | Assets in current project |
-| Upload asset | πŸ”΄ P0 | Add image to library |
-| Asset thumbnails | 🟠 P1 | Visual preview |
-| Asset search | 🟑 P2 | Find by name |
-| Delete asset | 🟠 P1 | Remove from library |
-| Reuse asset | 🟠 P1 | Add to canvas again |
-| Replace asset | 🟑 P2 | Swap across all uses |
-| Asset info | 🟑 P2 | Dimensions, size, type |
-| Drag from library | 🟠 P1 | Drop on canvas |
-
----
-
-## 9. Templates
-
-### 9.1 Template Browser
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Template gallery | 🟠 P1 | Visual template grid |
-| Template search | 🟠 P1 | Search by keyword |
-| Template categories | 🟠 P1 | Filter by type |
-| Template preview | 🟠 P1 | See full template |
-| Template info | 🟠 P1 | Dimensions, pages |
-| Apply template | 🟠 P1 | Use as starting point |
-| Template pages preview | 🟑 P2 | See all pages |
-
-### 9.2 Template Categories
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| YouTube Thumbnails | πŸ”΄ P0 | Video thumbnails |
-| Instagram Posts | πŸ”΄ P0 | Square posts |
-| Instagram Stories | πŸ”΄ P0 | Vertical stories |
-| Instagram Carousels | 🟠 P1 | Multi-slide posts |
-| Facebook Posts | 🟠 P1 | FB feed posts |
-| Twitter/X Posts | 🟠 P1 | Tweet images |
-| LinkedIn Posts | 🟠 P1 | Professional posts |
-| Pinterest Pins | 🟠 P1 | Vertical pins |
-| TikTok Covers | 🟠 P1 | Video covers |
-| Quotes | 🟠 P1 | Quote graphics |
-| Announcements | 🟠 P1 | News, updates |
-| Sales & Promos | 🟠 P1 | Discount graphics |
-| Event Flyers | 🟑 P2 | Event promotion |
-| Invitations | 🟑 P2 | Party, event invites |
-| Presentations | 🟑 P2 | Slide templates |
-| Infographics | 🟑 P2 | Data visualization |
-| Business Cards | 🟑 P2 | Contact cards |
-| Posters | 🟑 P2 | Large format |
-| Twitch/Gaming | 🟑 P2 | Stream graphics |
-
-### 9.3 Template Features
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Placeholder images | 🟠 P1 | Replaceable photos |
-| Placeholder text | 🟠 P1 | Editable text areas |
-| Color scheme | 🟑 P2 | Template color palette |
-| Color adaptation | 🟑 P2 | Apply brand colors |
-| Font alternatives | 🟑 P2 | Suggested font swaps |
-| Save as template | 🟑 P2 | Create custom template |
-| Organize custom templates | 🟑 P2 | Manage saved templates |
-
----
-
-## 10. Color & Gradients
-
-### 10.1 Color Picker
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Color spectrum | πŸ”΄ P0 | Visual hue selection |
-| Saturation/brightness | πŸ”΄ P0 | SB square picker |
-| Hue slider | πŸ”΄ P0 | Hue strip |
-| Alpha slider | πŸ”΄ P0 | Transparency |
-| Hex input | πŸ”΄ P0 | Enter hex code |
-| RGB input | πŸ”΄ P0 | Enter RGB values |
-| HSL input | 🟠 P1 | Enter HSL values |
-| HSB/HSV input | 🟠 P1 | Enter HSB values |
-| CMYK preview | 🟑 P2 | Print color preview |
-| Eyedropper | πŸ”΄ P0 | Pick from canvas |
-| Recent colors | πŸ”΄ P0 | Recently used |
-| Saved colors | 🟠 P1 | User saved palette |
-| Preset palettes | 🟠 P1 | Curated color sets |
-| Color harmony | 🟑 P2 | Complementary, etc. |
-
-### 10.2 Gradient Editor
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Gradient bar | 🟠 P1 | Visual gradient preview |
-| Add color stop | 🟠 P1 | Add gradient point |
-| Remove color stop | 🟠 P1 | Delete gradient point |
-| Move color stop | 🟠 P1 | Reposition stop |
-| Stop color picker | 🟠 P1 | Change stop color |
-| Stop opacity | 🟠 P1 | Per-stop alpha |
-| Gradient angle | 🟠 P1 | Rotation for linear |
-| Gradient position | 🟠 P1 | Move gradient center |
-| Gradient scale | 🟑 P2 | Stretch gradient |
-| Preset gradients | 🟠 P1 | Popular gradients |
-| Save gradient | 🟑 P2 | Save custom gradient |
-| Reverse gradient | 🟠 P1 | Flip direction |
-
-### 10.3 Brand Colors
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Brand palette | 🟑 P2 | Store brand colors |
-| Add brand color | 🟑 P2 | Save to palette |
-| Remove brand color | 🟑 P2 | Delete from palette |
-| Reorder colors | 🟑 P2 | Organize palette |
-| Import palette | 🟑 P2 | Import color codes |
-| Export palette | 🟑 P2 | Share palette |
-
----
-
-## 11. History & Undo
-
-### 11.1 Undo System
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Undo | πŸ”΄ P0 | Revert last action |
-| Redo | πŸ”΄ P0 | Restore undone action |
-| Multiple undo | πŸ”΄ P0 | Unlimited history |
-| Keyboard shortcuts | πŸ”΄ P0 | Cmd/Ctrl+Z, Shift+Z |
-
-### 11.2 History Panel
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| History list | 🟠 P1 | Visual action history |
-| Action descriptions | 🟠 P1 | "Move layer", "Change color" |
-| Jump to state | 🟠 P1 | Click to restore |
-| Current state indicator | 🟠 P1 | Show active state |
-| Clear history | 🟑 P2 | Reset history |
-| History limit setting | 🟑 P2 | Max states stored |
-
-### 11.3 Snapshots
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Create snapshot | 🟑 P2 | Save current state |
-| Name snapshot | 🟑 P2 | Label saved state |
-| Restore snapshot | 🟑 P2 | Return to saved state |
-| Delete snapshot | 🟑 P2 | Remove saved state |
-| Compare snapshots | 🟒 P3 | Side by side view |
-
----
-
-## 12. Export
-
-### 12.1 Export Formats
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| PNG export | πŸ”΄ P0 | Lossless with alpha |
-| JPEG export | πŸ”΄ P0 | Lossy compression |
-| WebP export | 🟠 P1 | Modern format |
-| AVIF export | 🟑 P2 | Next-gen format |
-| PDF export | 🟠 P1 | Print/document |
-| PDF multi-page | 🟠 P1 | All pages in one PDF |
-| SVG export | 🟑 P2 | Vector only |
-| GIF export | 🟑 P2 | Static or animated |
-
-### 12.2 Export Settings
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Quality slider | πŸ”΄ P0 | Compression level |
-| File size preview | 🟠 P1 | Estimate size |
-| Dimensions display | πŸ”΄ P0 | Show output size |
-| Scale factor | 🟠 P1 | 1x, 2x, 3x export |
-| Custom dimensions | 🟠 P1 | Specific pixel size |
-| DPI setting | 🟠 P1 | 72, 150, 300, custom |
-| Color profile | 🟑 P2 | sRGB, Adobe RGB |
-| Transparent background | πŸ”΄ P0 | PNG alpha |
-| Background color | πŸ”΄ P0 | Set export background |
-| Flatten layers | πŸ”΄ P0 | Merge on export |
-| Trim transparent | 🟑 P2 | Remove empty space |
-
-### 12.3 Export Options
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Export current page | πŸ”΄ P0 | Single page export |
-| Export all pages | 🟠 P1 | Batch page export |
-| Export selection | 🟑 P2 | Export selected only |
-| Export layer | 🟑 P2 | Single layer export |
-| Export filename | πŸ”΄ P0 | Custom filename |
-| Auto-numbering | 🟠 P1 | Sequential names |
-| Export presets | 🟠 P1 | Saved export settings |
-| Quick export | 🟠 P1 | One-click last settings |
-
-### 12.4 Platform Presets
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Instagram Post preset | πŸ”΄ P0 | Optimized settings |
-| Instagram Story preset | πŸ”΄ P0 | Optimized settings |
-| YouTube Thumbnail preset | πŸ”΄ P0 | Under 2MB, optimized |
-| Twitter/X preset | 🟠 P1 | Optimized settings |
-| Facebook preset | 🟠 P1 | Optimized settings |
-| LinkedIn preset | 🟠 P1 | Optimized settings |
-| Pinterest preset | 🟠 P1 | Optimized settings |
-| Print preset (300 DPI) | 🟠 P1 | High quality |
-| Web preset (72 DPI) | 🟠 P1 | Optimized size |
-| Custom preset (save) | 🟑 P2 | Save own presets |
-
----
-
-## 13. User Interface
-
-### 13.1 Layout
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Top toolbar | πŸ”΄ P0 | Main actions bar |
-| Left toolbar | πŸ”΄ P0 | Tool selection |
-| Right panel | πŸ”΄ P0 | Inspector/properties |
-| Bottom panel | πŸ”΄ P0 | Layers/pages |
-| Collapsible panels | 🟠 P1 | Hide/show panels |
-| Resizable panels | 🟠 P1 | Drag to resize |
-| Floating panels | 🟑 P2 | Detach panels |
-| Panel memory | 🟠 P1 | Remember layout |
-| Full screen mode | 🟠 P1 | Hide all UI |
-| Presentation mode | 🟑 P2 | Canvas only view |
-
-### 13.2 Toolbar
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Select tool | πŸ”΄ P0 | Selection mode |
-| Hand tool | πŸ”΄ P0 | Pan canvas |
-| Text tool | πŸ”΄ P0 | Create text |
-| Shape tools | πŸ”΄ P0 | Create shapes |
-| Image tool | 🟠 P1 | Import images |
-| Element tool | 🟠 P1 | Open elements |
-| Crop tool | 🟠 P1 | Crop mode |
-| Tool options bar | 🟠 P1 | Context options |
-| Tool tooltips | πŸ”΄ P0 | Hover help |
-
-### 13.3 Inspector Panel
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Context-sensitive | πŸ”΄ P0 | Shows relevant options |
-| Position inputs | πŸ”΄ P0 | X, Y fields |
-| Size inputs | πŸ”΄ P0 | W, H fields |
-| Rotation input | πŸ”΄ P0 | Angle field |
-| Opacity slider | πŸ”΄ P0 | Transparency |
-| Lock aspect toggle | πŸ”΄ P0 | Constrain proportions |
-| Alignment buttons | πŸ”΄ P0 | Quick align |
-| Fill section | πŸ”΄ P0 | Color/gradient |
-| Stroke section | πŸ”΄ P0 | Border options |
-| Effects section | 🟠 P1 | Shadow, etc. |
-| Collapsible sections | 🟠 P1 | Organize options |
-
-### 13.4 Menus
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| File menu | πŸ”΄ P0 | New, Open, Save, Export |
-| Edit menu | πŸ”΄ P0 | Undo, Cut, Copy, Paste |
-| View menu | 🟠 P1 | Zoom, Guides, Rulers |
-| Layer menu | 🟠 P1 | Layer operations |
-| Arrange menu | 🟠 P1 | Align, Distribute |
-| Context menu | 🟠 P1 | Right-click options |
-| Keyboard shortcuts in menus | 🟠 P1 | Show shortcuts |
-
-### 13.5 Dialogs & Modals
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| New project dialog | πŸ”΄ P0 | Size selection |
-| Export dialog | πŸ”΄ P0 | Export options |
-| Settings dialog | 🟠 P1 | App preferences |
-| Keyboard shortcuts list | 🟠 P1 | View all shortcuts |
-| Confirmation dialogs | πŸ”΄ P0 | Destructive actions |
-| Loading indicators | πŸ”΄ P0 | Progress feedback |
-| Error messages | πŸ”΄ P0 | User-friendly errors |
-| Toast notifications | 🟠 P1 | Quick feedback |
-
----
-
-## 14. Keyboard & Input
-
-### 14.1 Essential Shortcuts
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| V - Select | πŸ”΄ P0 | Switch to select |
-| H - Hand | πŸ”΄ P0 | Switch to hand |
-| T - Text | πŸ”΄ P0 | Switch to text |
-| R - Rectangle | πŸ”΄ P0 | Switch to rectangle |
-| E - Ellipse | πŸ”΄ P0 | Switch to ellipse |
-| Cmd/Ctrl+Z - Undo | πŸ”΄ P0 | Undo action |
-| Cmd/Ctrl+Shift+Z - Redo | πŸ”΄ P0 | Redo action |
-| Cmd/Ctrl+C - Copy | πŸ”΄ P0 | Copy selection |
-| Cmd/Ctrl+V - Paste | πŸ”΄ P0 | Paste clipboard |
-| Cmd/Ctrl+X - Cut | πŸ”΄ P0 | Cut selection |
-| Cmd/Ctrl+D - Duplicate | πŸ”΄ P0 | Duplicate selection |
-| Cmd/Ctrl+A - Select All | πŸ”΄ P0 | Select all layers |
-| Delete/Backspace | πŸ”΄ P0 | Delete selection |
-| Escape | πŸ”΄ P0 | Deselect/cancel |
-| Space (hold) | πŸ”΄ P0 | Temporary hand tool |
-| Arrow keys | πŸ”΄ P0 | Nudge selection |
-| Shift+Arrow | πŸ”΄ P0 | Nudge 10px |
-
-### 14.2 Zoom & View Shortcuts
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Cmd/Ctrl++ | πŸ”΄ P0 | Zoom in |
-| Cmd/Ctrl+- | πŸ”΄ P0 | Zoom out |
-| Cmd/Ctrl+0 | πŸ”΄ P0 | Fit to screen |
-| Cmd/Ctrl+1 | 🟠 P1 | Zoom to 100% |
-| Cmd/Ctrl+2 | 🟠 P1 | Zoom to 200% |
-
-### 14.3 Layer Shortcuts
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Cmd/Ctrl+G | 🟠 P1 | Group selection |
-| Cmd/Ctrl+Shift+G | 🟠 P1 | Ungroup |
-| Cmd/Ctrl+] | 🟠 P1 | Bring forward |
-| Cmd/Ctrl+[ | 🟠 P1 | Send backward |
-| Cmd/Ctrl+Shift+] | 🟠 P1 | Bring to front |
-| Cmd/Ctrl+Shift+[ | 🟠 P1 | Send to back |
-| Cmd/Ctrl+L | 🟑 P2 | Lock layer |
-| Cmd/Ctrl+; | 🟑 P2 | Toggle guides |
-
-### 14.4 File Shortcuts
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Cmd/Ctrl+N | πŸ”΄ P0 | New project |
-| Cmd/Ctrl+O | πŸ”΄ P0 | Open project |
-| Cmd/Ctrl+S | πŸ”΄ P0 | Save project |
-| Cmd/Ctrl+Shift+S | 🟠 P1 | Save as |
-| Cmd/Ctrl+Shift+E | πŸ”΄ P0 | Export |
-| Cmd/Ctrl+W | 🟠 P1 | Close project |
-
-### 14.5 Transform Shortcuts
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Shift+drag | πŸ”΄ P0 | Constrain proportions |
-| Alt+drag | 🟠 P1 | Transform from center |
-| Shift+rotate | πŸ”΄ P0 | Snap to 15Β° |
-| Alt+drag (duplicate) | 🟠 P1 | Drag to duplicate |
-
-### 14.6 Input Gestures
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Scroll wheel zoom | πŸ”΄ P0 | Mouse wheel zoom |
-| Two-finger pan | 🟠 P1 | Trackpad pan |
-| Pinch to zoom | 🟠 P1 | Trackpad zoom |
-| Right-click context | 🟠 P1 | Context menu |
-| Double-click edit | πŸ”΄ P0 | Edit text/path |
-
----
-
-## 15. Settings & Preferences
-
-### 15.1 General Settings
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Auto-save interval | 🟠 P1 | Set save frequency |
-| Language | 🟑 P2 | Interface language |
-| Theme (light/dark) | 🟠 P1 | UI appearance |
-| Canvas background | 🟠 P1 | Workspace color |
-| Show welcome screen | 🟠 P1 | Toggle on launch |
-| Measurement units | 🟑 P2 | Pixels, inches, cm |
-| Default project size | 🟑 P2 | New project default |
-
-### 15.2 Performance Settings
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Hardware acceleration | 🟑 P2 | GPU usage |
-| Preview quality | 🟑 P2 | Speed vs quality |
-| History states limit | 🟑 P2 | Memory management |
-| Cache size limit | 🟑 P2 | Storage management |
-| Clear cache | 🟠 P1 | Free storage space |
-
-### 15.3 Export Defaults
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Default format | 🟑 P2 | PNG, JPEG, etc. |
-| Default quality | 🟑 P2 | Compression level |
-| Default DPI | 🟑 P2 | Resolution |
-| Filename pattern | 🟑 P2 | Naming convention |
-
-### 15.4 Keyboard Customization
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| View all shortcuts | 🟠 P1 | Shortcuts list |
-| Reset to defaults | 🟑 P2 | Restore shortcuts |
-| Custom shortcuts | 🟒 P3 | User-defined |
-| Export shortcuts | 🟒 P3 | Backup shortcuts |
-
----
-
-## 16. Data & Storage
-
-### 16.1 Local Storage
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| IndexedDB projects | πŸ”΄ P0 | Project persistence |
-| Asset storage | πŸ”΄ P0 | Image caching |
-| Font caching | πŸ”΄ P0 | Offline fonts |
-| Template caching | 🟠 P1 | Offline templates |
-| Settings storage | πŸ”΄ P0 | Preferences |
-| Recent projects | πŸ”΄ P0 | Project list |
-| Storage quota check | 🟠 P1 | Check available space |
-| Storage management UI | 🟠 P1 | View/clear storage |
-
-### 16.2 Import/Export Data
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Export project file | 🟠 P1 | .openreel format |
-| Import project file | 🟠 P1 | Load .openreel |
-| Export all projects | 🟑 P2 | Backup everything |
-| Import projects | 🟑 P2 | Restore backup |
-| Export templates | 🟑 P2 | Share templates |
-| Import templates | 🟑 P2 | Add templates |
-
-### 16.3 Cloud Sync (Future)
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Account system | 🟒 P3 | Optional accounts |
-| Cloud backup | 🟒 P3 | Sync projects |
-| Cross-device sync | 🟒 P3 | Access anywhere |
-| Share projects | 🟒 P3 | Share with others |
-| Collaborative editing | 🟒 P3 | Real-time collab |
-
----
-
-## 17. Accessibility
-
-### 17.1 Visual Accessibility
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| High contrast mode | 🟑 P2 | Enhanced visibility |
-| Zoom UI | 🟑 P2 | Scale interface |
-| Focus indicators | 🟠 P1 | Keyboard focus visible |
-| Color blind modes | 🟒 P3 | Alternate color schemes |
-
-### 17.2 Keyboard Accessibility
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Full keyboard navigation | 🟠 P1 | Tab through UI |
-| Focus trapping (modals) | 🟠 P1 | Proper focus in dialogs |
-| Skip to content | 🟑 P2 | Skip navigation |
-| Shortcut discoverability | 🟠 P1 | Show shortcuts |
-
-### 17.3 Screen Reader
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| ARIA labels | 🟠 P1 | Proper labeling |
-| ARIA live regions | 🟑 P2 | Announce changes |
-| Alt text for elements | 🟑 P2 | Describe visuals |
-| Semantic HTML | 🟠 P1 | Proper structure |
-
----
-
-## 18. Performance & Optimization
-
-### 18.1 Rendering
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| WebGL acceleration | 🟠 P1 | GPU rendering |
-| Canvas virtualization | 🟠 P1 | Render visible only |
-| Layer caching | 🟠 P1 | Cache unchanged layers |
-| Mipmap generation | 🟑 P2 | Fast zoom levels |
-| Progressive rendering | 🟑 P2 | Show low-res first |
-| Render throttling | 🟠 P1 | Limit redraws |
-
-### 18.2 Memory Management
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Lazy asset loading | 🟠 P1 | Load on demand |
-| Asset unloading | 🟠 P1 | Free unused memory |
-| Large image handling | 🟠 P1 | Tile-based processing |
-| Memory monitoring | 🟑 P2 | Track usage |
-| Low memory warning | 🟑 P2 | Alert user |
-| Graceful degradation | 🟑 P2 | Reduce quality if needed |
-
-### 18.3 Loading Performance
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Code splitting | 🟠 P1 | Load features on demand |
-| WASM streaming | 🟠 P1 | Stream compile WASM |
-| Preload critical assets | 🟠 P1 | Fast initial load |
-| Service worker caching | 🟠 P1 | Offline support |
-| Asset compression | 🟠 P1 | Smaller downloads |
-
----
-
-## 19. Error Handling
-
-### 19.1 User Errors
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Invalid file type | πŸ”΄ P0 | Clear error message |
-| File too large | πŸ”΄ P0 | Size limit message |
-| Corrupt file handling | 🟠 P1 | Graceful failure |
-| Unsupported feature | 🟠 P1 | Feature not available |
-| Storage quota exceeded | 🟠 P1 | Storage full message |
-
-### 19.2 System Errors
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Crash recovery | πŸ”΄ P0 | Auto-save restore |
-| WASM error handling | πŸ”΄ P0 | Graceful WASM failures |
-| Network errors | 🟠 P1 | Offline fallbacks |
-| Font loading errors | 🟠 P1 | Fallback fonts |
-| Render errors | 🟠 P1 | Error boundaries |
-
-### 19.3 Error Reporting
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Error logging | 🟠 P1 | Track errors |
-| Error details | 🟠 P1 | Technical info |
-| Report issue link | 🟑 P2 | Bug reporting |
-| Diagnostic export | 🟑 P2 | Debug info export |
-
----
-
-## 20. Analytics & Feedback (Optional)
-
-### 20.1 Usage Analytics
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Opt-in analytics | 🟒 P3 | Privacy-respecting |
-| Feature usage tracking | 🟒 P3 | Popular features |
-| Error tracking | 🟑 P2 | Bug discovery |
-| Performance metrics | 🟒 P3 | Slowdowns |
-
-### 20.2 User Feedback
-| Feature | Priority | Description |
-|---------|----------|-------------|
-| Feedback button | 🟑 P2 | Quick feedback |
-| Feature requests | 🟑 P2 | Collect ideas |
-| Bug reports | 🟑 P2 | Report issues |
-| NPS survey | 🟒 P3 | User satisfaction |
-
----
-
-## Summary Statistics
-
-| Priority | Count | Description |
-|----------|-------|-------------|
-| πŸ”΄ P0 | ~120 | Critical for MVP |
-| 🟠 P1 | ~180 | Important post-MVP |
-| 🟑 P2 | ~130 | Nice to have |
-| 🟒 P3 | ~25 | Future consideration |
-
-**Total Features: ~455**
-
----
-
-## Implementation Notes
-
-### MVP Scope (P0 Only)
-Estimated development time: **6-8 weeks**
-
-Core MVP includes:
-- Project management basics
-- Canvas with zoom/pan
-- Image layers with basic adjustments
-- Text layers with formatting
-- Basic shapes
-- Layer system
-- PNG/JPEG export
-- Undo/redo
-- Essential keyboard shortcuts
-
-### Post-MVP Phase 1 (Add P1)
-Estimated additional time: **8-10 weeks**
-
-Adds:
-- Full image adjustment suite
-- Filter presets
-- Background removal
-- Advanced text effects
-- Gradients
-- Templates
-- Multi-page
-- All blend modes
-- Smart guides
-- Platform export presets
-
-### Full Product (Add P2)
-Estimated additional time: **6-8 weeks**
-
-Adds:
-- Vector editing
-- Masking
-- Advanced effects
-- Boolean operations
-- Custom LUTs
-- Full accessibility
-- Performance optimizations
-
----
-
-*Last updated: January 2025*
diff --git a/OPENREEL_IMAGE_TECH_TASKS.md b/OPENREEL_IMAGE_TECH_TASKS.md
deleted file mode 100644
index 1f53d0c5..00000000
--- a/OPENREEL_IMAGE_TECH_TASKS.md
+++ /dev/null
@@ -1,509 +0,0 @@
-# OpenReel Image Technical Task List
-
-OpenReel Image is currently a strong editor prototype with React UI, Canvas2D rendering, Zustand stores, artboards, layers, text, shapes, uploads, templates, basic export, and background removal. To reach a Canva + Photoshop style product, the next work should focus on engine foundations first, then design workflows, photo workflows, AI, cloud, and quality.
-
-## 0. Baseline Stabilization βœ“
-
-- [x] Keep `pnpm --filter @openreel/image typecheck` passing.
-- [x] Keep `pnpm --filter @openreel/image test:run` passing.
-- [x] Replace the placeholder test in `apps/image/src/app.test.ts` with real smoke tests.
-- [x] Add project creation tests.
-- [x] Add layer add/remove/duplicate/reorder tests.
-- [x] Add artboard add/remove/update tests.
-- [x] Add export service tests for PNG, JPG, and WebP.
-- [x] Add project schema validation before loading `.orimg` files.
-- [x] Add project migration support with explicit `version` handling.
-- [x] Audit all tool panels and mark whether each is fully implemented, partially wired, or UI-only.
-- [x] Add a feature status matrix for tools, panels, and export formats.
-
-Tech:
-
-- Vitest
-- React Testing Library
-- Zod or Valibot for project validation
-- Playwright for browser smoke tests
-
-## 1. Extract Image Core βœ“
-
-- [x] Create `packages/image-core`.
-- [x] Move shared image document types out of `apps/image/src/types`.
-- [x] Move pure layer operations out of Zustand stores.
-- [x] Define a stable document model:
- - [x] Document
- - [x] Artboard/page
- - [x] Layer tree
- - [x] Group layer
- - [x] Image layer
- - [x] Text layer
- - [x] Shape/vector layer
- - [x] Adjustment layer
- - [x] Mask
- - [x] Smart object
- - [x] Asset reference
- - [x] Effects stack
- - [x] Selection state
- - [x] Export preset
-- [x] Add pure functions for add, remove, duplicate, group, ungroup, reorder, rename, lock, hide, transform, and style updates.
-- [x] Add invariant checks for invalid layer trees.
-- [x] Add serialization and deserialization tests.
-
-Tech:
-
-- TypeScript strict mode
-- Vitest
-- fast-check for property tests
-- Zod or Valibot
-
-## 2. Command-Based Editing And History βœ“
-
-- [x] Replace snapshot-first history with a command/action system.
-- [x] Define command interface with `apply`, `invert`, and `merge` support.
-- [x] Implement commands:
- - [x] `CreateProject`
- - [x] `AddArtboard`
- - [x] `RemoveArtboard`
- - [x] `UpdateArtboard`
- - [x] `AddLayer`
- - [x] `RemoveLayer`
- - [x] `DuplicateLayer`
- - [x] `ReorderLayer`
- - [x] `UpdateLayerTransform`
- - [x] `UpdateLayerStyle`
- - [x] `UpdateText`
- - [x] `ApplyAdjustment`
- - [x] `ApplyMask`
- - [x] `RasterEdit`
-- [x] Add command coalescing for drag, resize, brush strokes, and slider scrubbing.
-- [x] Add checkpoint snapshots for large raster edits.
-- [x] Add undo/redo tests for every command.
-- [x] Update `HistoryPanel` to show meaningful command names.
-
-Tech:
-
-- Zustand or a dedicated command store
-- Immer
-- IndexedDB/OPFS for large raster checkpoints
-
-## 3. Storage And Project Files
-
-- [ ] Replace `localStorage` auto-save with IndexedDB metadata storage.
-- [ ] Store large binary image assets in OPFS.
-- [ ] Store thumbnails separately from original assets.
-- [ ] Add asset deduplication by content hash.
-- [ ] Add blob URL lifecycle management.
-- [ ] Add project recovery after tab crash or refresh.
-- [ ] Add import/export for `.orimg` as a zipped package.
-- [ ] Include `project.json`, assets, thumbnails, fonts, and metadata in `.orimg`.
-- [ ] Add migration tests from older project versions.
-
-Tech:
-
-- IndexedDB
-- OPFS
-- JSZip or fflate
-- Web Workers for packaging
-
-## 4. Rendering Engine
-
-- [ ] Create `packages/image-renderer`.
-- [ ] Separate interactive viewport rendering from final export rendering.
-- [ ] Move renderer logic out of `Canvas.tsx`.
-- [ ] Add a renderer interface:
- - [ ] `renderViewport`
- - [ ] `renderArtboard`
- - [ ] `renderLayer`
- - [ ] `renderThumbnail`
- - [ ] `hitTest`
- - [ ] `measureLayerBounds`
-- [ ] Add Canvas2D renderer as baseline.
-- [ ] Add OffscreenCanvas rendering in a worker.
-- [ ] Add dirty-region invalidation.
-- [ ] Add layer thumbnail generation.
-- [ ] Add tile-based rendering for large canvases.
-- [ ] Add high-DPI rendering support.
-- [ ] Add pixel-diff tests for renderer output.
-
-Tech:
-
-- Canvas2D
-- OffscreenCanvas
-- Web Workers
-- Pixelmatch or similar pixel-diff library
-
-## 5. WebGPU Rendering And Pixel Processing
-
-- [ ] Add WebGPU feature detection.
-- [ ] Add Canvas2D fallback path.
-- [ ] Implement GPU blend mode compositor.
-- [ ] Implement GPU filter pipeline.
-- [ ] Implement GPU mask compositing.
-- [ ] Implement GPU adjustment layers.
-- [ ] Implement GPU Gaussian blur.
-- [ ] Implement GPU sharpen.
-- [ ] Implement GPU curves/levels.
-- [ ] Implement GPU HSL/selective color.
-- [ ] Implement GPU gradient/noise fills.
-- [ ] Implement GPU displacement map for liquify/warp.
-- [ ] Add WASM fallback for browsers without WebGPU.
-
-Tech:
-
-- WebGPU
-- WGSL shaders
-- WASM fallback modules
-- Workerized processing
-
-## 6. Selection System
-
-- [ ] Create a dedicated selection model.
-- [ ] Implement rectangular selection.
-- [ ] Implement elliptical selection.
-- [ ] Implement lasso selection.
-- [ ] Implement polygon lasso selection.
-- [ ] Implement magic wand selection with tolerance.
-- [ ] Implement add/subtract/intersect selection modes.
-- [ ] Implement feather.
-- [ ] Implement smooth.
-- [ ] Implement expand/contract.
-- [ ] Implement invert selection.
-- [ ] Implement save/load selection.
-- [ ] Implement selection to mask.
-- [ ] Implement mask to selection.
-- [ ] Implement selection-aware delete, fill, copy, cut, paste, and transform.
-
-Tech:
-
-- Mask buffers
-- WebGPU/WASM flood fill
-- Canvas overlay renderer
-
-## 7. Layer Masks And Clipping
-
-- [ ] Finish per-layer mask data model.
-- [ ] Add mask preview in layer panel.
-- [ ] Add enable/disable mask.
-- [ ] Add unlink mask from layer transform.
-- [ ] Add apply mask.
-- [ ] Add delete mask.
-- [ ] Add mask painting.
-- [ ] Add clipping masks.
-- [ ] Add clipping groups.
-- [ ] Add group masks.
-- [ ] Add export support for masks and clipping.
-
-Tech:
-
-- Alpha mask buffers
-- Renderer mask compositing
-- Command history integration
-
-## 8. Photo Editing Tools
-
-- [ ] Finish brush engine integration.
-- [ ] Add brush stroke persistence.
-- [ ] Add brush spacing, hardness, opacity, flow, and blend mode.
-- [ ] Add stylus pressure support.
-- [ ] Finish eraser as raster edit and mask edit.
-- [ ] Finish paint bucket with selection support.
-- [ ] Finish gradient tool.
-- [ ] Finish clone stamp.
-- [ ] Finish healing brush.
-- [ ] Finish spot healing.
-- [ ] Finish dodge/burn.
-- [ ] Finish sponge.
-- [ ] Finish smudge.
-- [ ] Finish blur/sharpen brush.
-- [ ] Finish crop with aspect presets.
-- [ ] Add straighten crop.
-- [ ] Add perspective crop.
-- [ ] Finish free transform.
-- [ ] Finish perspective transform.
-- [ ] Finish warp transform.
-- [ ] Finish liquify.
-
-Tech:
-
-- Pointer Events
-- Pointer pressure/tilt
-- OffscreenCanvas
-- WebGPU/WASM raster edits
-- Command checkpoints for brush strokes
-
-## 9. Adjustment Layers And Filters
-
-- [ ] Convert destructive adjustment controls into nondestructive adjustment layers.
-- [ ] Add adjustment layer type.
-- [ ] Add adjustment stack ordering.
-- [ ] Add clipped adjustment layers.
-- [ ] Finish levels.
-- [ ] Finish curves.
-- [ ] Finish color balance.
-- [ ] Finish selective color.
-- [ ] Finish black and white.
-- [ ] Finish photo filter.
-- [ ] Finish channel mixer.
-- [ ] Finish gradient map.
-- [ ] Finish posterize.
-- [ ] Finish threshold.
-- [ ] Add LUT import.
-- [ ] Add filter presets.
-- [ ] Add nondestructive smart filters.
-
-Tech:
-
-- Adjustment layer renderer
-- WebGPU shaders
-- LUT parser
-- Preset JSON schema
-
-## 10. Text Engine
-
-- [ ] Move text layout to image core.
-- [ ] Add robust multiline text layout.
-- [ ] Add text boxes with overflow behavior.
-- [ ] Add auto-fit text.
-- [ ] Add vertical alignment.
-- [ ] Add paragraph spacing.
-- [ ] Add letter spacing.
-- [ ] Add text transform controls.
-- [ ] Add text-on-path.
-- [ ] Add editable text cursor/selection on canvas.
-- [ ] Add font loading and missing font fallback.
-- [ ] Add Google Fonts or curated font catalog.
-- [ ] Add text style presets.
-
-Tech:
-
-- FontFace API
-- Canvas text metrics
-- Optional HarfBuzz WASM later for advanced layout
-
-## 11. Vector And Shape Tools
-
-- [ ] Finish pen tool editing.
-- [ ] Add anchor point selection.
-- [ ] Add bezier handles.
-- [ ] Add boolean path operations.
-- [ ] Add compound paths.
-- [ ] Add SVG import normalization.
-- [ ] Add SVG export for vector layers.
-- [ ] Add shape-specific controls for polygon/star/arrow/line.
-- [ ] Add custom icon elements instead of disabled placeholders.
-- [ ] Add vector hit testing.
-
-Tech:
-
-- SVG path parser
-- Path boolean library or custom WASM later
-- Renderer support for vector paths
-
-## 12. Canva-Style Design Workflows
-
-- [ ] Build real template objects with editable layers.
-- [ ] Add template thumbnails.
-- [ ] Add template search.
-- [ ] Add template categories:
- - [ ] Instagram post
- - [ ] Instagram story
- - [ ] YouTube thumbnail
- - [ ] TikTok/Reels cover
- - [ ] Poster
- - [ ] Flyer
- - [ ] Presentation
- - [ ] Logo
- - [ ] Business card
- - [ ] Ad banners
-- [ ] Add brand kits.
-- [ ] Add reusable colors.
-- [ ] Add reusable fonts.
-- [ ] Add reusable logos.
-- [ ] Add style presets.
-- [ ] Add frames and image placeholders.
-- [ ] Add drag-to-replace image frames.
-- [ ] Add smart guides.
-- [ ] Add distribute/tidy layout.
-- [ ] Add magic resize across artboard sizes.
-- [ ] Add batch export for social formats.
-
-Tech:
-
-- Template JSON schema
-- Asset catalog
-- IndexedDB/R2 asset storage
-- Search indexing with Fuse.js or Minisearch
-
-## 13. Asset Library
-
-- [ ] Add local asset folders.
-- [ ] Add asset tagging.
-- [ ] Add asset search.
-- [ ] Add asset metadata extraction.
-- [ ] Add image thumbnail generation.
-- [ ] Add SVG thumbnail generation.
-- [ ] Add favorite assets.
-- [ ] Add recent assets.
-- [ ] Add stock asset integration later.
-- [ ] Add drag/drop from OS into canvas.
-- [ ] Add drag/drop from asset panel into canvas.
-
-Tech:
-
-- IndexedDB
-- OPFS
-- Web Workers
-- Optional Cloudflare R2 for synced assets
-
-## 14. AI Features
-
-- [ ] Keep local background removal working.
-- [ ] Add server-side AI gateway.
-- [ ] Add text-to-image generation.
-- [ ] Add image variations.
-- [ ] Add generative fill.
-- [ ] Add object removal.
-- [ ] Add background replacement.
-- [ ] Add product photo background generation.
-- [ ] Add prompt-to-template.
-- [ ] Add prompt-to-social-post.
-- [ ] Add smart crop/reframe.
-- [ ] Add image upscaling.
-- [ ] Add AI-generated layer metadata.
-- [ ] Add usage limits and error handling.
-
-Tech:
-
-- Cloudflare Workers
-- OpenAI Images API or selected provider
-- Cloudflare R2 for generated assets
-- Queues for long-running jobs
-- Rate limiting
-
-## 15. Export And Import
-
-- [ ] Finish PNG export.
-- [ ] Finish JPG export.
-- [ ] Finish WebP export.
-- [ ] Implement true SVG export.
-- [ ] Implement PDF export.
-- [ ] Implement multi-artboard PDF export.
-- [ ] Add transparent background export.
-- [ ] Add scale presets.
-- [ ] Add print bleed.
-- [ ] Add crop marks.
-- [ ] Add social export bundles.
-- [ ] Add zipped multi-file export.
-- [ ] Add SVG import.
-- [ ] Add PDF import as rasterized pages.
-- [ ] Investigate limited PSD import.
-
-Tech:
-
-- Canvas export
-- SVG serializer
-- pdf-lib or server-side Playwright/Skia
-- fflate/JSZip
-- PDF.js for import
-
-## 16. Cloud Product Layer
-
-- [ ] Add account system.
-- [ ] Add project dashboard.
-- [ ] Add cloud save.
-- [ ] Add project sync.
-- [ ] Add cloud asset library.
-- [ ] Add share links.
-- [ ] Add comments.
-- [ ] Add team folders.
-- [ ] Add permissions.
-- [ ] Add template publishing.
-- [ ] Add version history.
-- [ ] Add billing/usage tracking if AI or storage becomes paid.
-
-Tech:
-
-- Cloudflare Workers
-- Cloudflare Pages
-- Cloudflare R2
-- Cloudflare D1 or external Postgres
-- Auth.js, Clerk, Supabase Auth, or custom auth
-- Durable Objects for realtime sessions later
-
-## 17. Collaboration
-
-- [ ] Add presence model.
-- [ ] Add multiplayer cursors.
-- [ ] Add document-level comments.
-- [ ] Add layer comments.
-- [ ] Add conflict-safe command sync.
-- [ ] Add realtime coediting prototype.
-- [ ] Add offline edits and sync reconciliation.
-
-Tech:
-
-- Yjs or Automerge
-- Cloudflare Durable Objects
-- WebSockets
-- Command/event log
-
-## 18. Performance
-
-- [ ] Add performance benchmark suite.
-- [ ] Benchmark 10, 50, 100, and 200 layer projects.
-- [ ] Benchmark large 4K and print-size artboards.
-- [ ] Add thumbnail cache.
-- [ ] Add render cache invalidation.
-- [ ] Add memory budget tracking.
-- [ ] Add workerized export.
-- [ ] Add workerized thumbnail generation.
-- [ ] Add workerized image import.
-- [ ] Add image downsample strategy for viewport rendering.
-- [ ] Add full-resolution export path.
-
-Tech:
-
-- Playwright performance tests
-- Browser Performance API
-- OffscreenCanvas
-- Web Workers
-- WebGPU
-
-## 19. Quality And Release Gates
-
-- [ ] Add Playwright create/edit/export smoke test.
-- [ ] Add Playwright upload image test.
-- [ ] Add Playwright text editing test.
-- [ ] Add Playwright layer ordering test.
-- [ ] Add visual regression tests.
-- [ ] Add renderer pixel tests.
-- [ ] Add export pixel tests.
-- [ ] Add accessibility checks.
-- [ ] Add keyboard shortcut tests.
-- [ ] Add file migration tests.
-- [ ] Add crash recovery tests.
-- [ ] Add CI jobs for image app.
-
-Tech:
-
-- Vitest
-- Playwright
-- Pixelmatch
-- axe-core
-- GitHub Actions
-
-## Suggested Build Order
-
-- [x] Stabilize tests and project schema.
-- [x] Extract `packages/image-core`.
-- [x] Implement command-based undo/redo.
-- [ ] Move storage to IndexedDB/OPFS.
-- [ ] Extract renderer from React canvas.
-- [ ] Add renderer regression tests.
-- [ ] Finish masks and selections.
-- [ ] Finish adjustment layers.
-- [ ] Finish photo tools.
-- [ ] Build real template and asset library.
-- [ ] Add brand kits and magic resize.
-- [ ] Add AI image editing/generation.
-- [ ] Add cloud save and sharing.
-- [ ] Add collaboration.
-
diff --git a/apps/image/FEATURE_STATUS.md b/apps/image/FEATURE_STATUS.md
deleted file mode 100644
index b9eb0796..00000000
--- a/apps/image/FEATURE_STATUS.md
+++ /dev/null
@@ -1,151 +0,0 @@
-# OpenReel Image – Feature Status Matrix
-
-This document audits which tools, panels, and export formats in the
-`apps/image` editor are **Fully Implemented**, **Partially Wired**, or
-**UI-Only / Stub**.
-
-> **Legend**
->
-> | Symbol | Meaning |
-> |--------|---------|
-> | βœ… | Fully implemented – persists data, renders correctly, passes tests |
-> | πŸ”Ά | Partially wired – UI exists, some logic works but missing features |
-> | πŸ”² | UI-only / stub – panel rendered but no backing logic |
-
----
-
-## Toolbar Tools
-
-| Tool | Status | Notes |
-|------|--------|-------|
-| Select / Move | βœ… | Transform handles, multi-select, keyboard nudge |
-| Crop | πŸ”Ά | Basic crop rect; no aspect-lock presets or straighten |
-| Text | βœ… | Create text layers with full style panel |
-| Rectangle | βœ… | Shape layer, fill/stroke, corner radius |
-| Ellipse | βœ… | Shape layer |
-| Triangle | βœ… | Shape layer |
-| Polygon | βœ… | Shape layer, configurable sides |
-| Star | βœ… | Shape layer, inner radius |
-| Line / Arrow | βœ… | Shape layer with stroke |
-| Pen / Path | πŸ”Ά | Path drawing works; bezier handle editing absent |
-| Brush | πŸ”Ά | UI and settings panel exist; stroke not persisted |
-| Eraser | πŸ”Ά | Tool panel exists; raster edit not implemented |
-| Paint Bucket | πŸ”Ά | Tool panel exists; flood-fill not wired |
-| Gradient Fill | πŸ”Ά | Tool panel exists; gradient application incomplete |
-| Clone Stamp | πŸ”² | Panel rendered; no backing logic |
-| Healing Brush | πŸ”² | Panel rendered; no backing logic |
-| Spot Healing | πŸ”² | Panel rendered; no backing logic |
-| Dodge / Burn | πŸ”² | Panel rendered; no backing logic |
-| Sponge | πŸ”² | Panel rendered; no backing logic |
-| Smudge | πŸ”² | Panel rendered; no backing logic |
-| Blur / Sharpen Brush | πŸ”² | Panel rendered; no backing logic |
-| Rectangular Selection | πŸ”Ά | Selection state exists; fill/copy/cut not selection-aware |
-| Elliptical Selection | πŸ”² | Not implemented |
-| Lasso | πŸ”² | Not implemented |
-| Magic Wand | πŸ”² | Not implemented |
-| Liquify | πŸ”² | Panel rendered; no warp logic |
-| Hand / Pan | βœ… | Canvas pan with space-drag and middle-click |
-| Zoom | βœ… | Scroll wheel and Z-key shortcuts |
-| Color Picker | βœ… | Foreground / background colour wells |
-
----
-
-## Inspector Panels
-
-| Panel | Status | Notes |
-|-------|--------|-------|
-| Transform | βœ… | X/Y/W/H, rotation, flip, opacity |
-| Alignment | βœ… | Align/distribute relative to artboard or selection |
-| Appearance (Blend Mode + Opacity) | βœ… | Persists to layer |
-| Effects – Shadow | βœ… | Enabled, colour, blur, offset |
-| Effects – Inner Shadow | βœ… | Enabled, colour, blur, offset |
-| Effects – Stroke | βœ… | Enabled, colour, width, style |
-| Effects – Glow | βœ… | Enabled, colour, blur, intensity |
-| Text (font, size, style) | βœ… | All style options; no live canvas cursor |
-| Shape (fill, gradient, noise, stroke) | βœ… | Full shapeStyle controls |
-| Artboard (size, background) | βœ… | |
-| Image Controls (brightness etc.) | βœ… | Non-destructive filter object |
-| Levels | βœ… | Data model + UI; GPU render pending |
-| Curves | βœ… | Data model + UI; GPU render pending |
-| Color Balance | βœ… | Data model + UI; GPU render pending |
-| Selective Color | βœ… | Data model + UI; GPU render pending |
-| Black & White | βœ… | Data model + UI; GPU render pending |
-| Photo Filter | βœ… | Data model + UI; GPU render pending |
-| Channel Mixer | βœ… | Data model + UI; GPU render pending |
-| Gradient Map | βœ… | Data model + UI; GPU render pending |
-| Posterize | βœ… | Data model + UI; GPU render pending |
-| Threshold | βœ… | Data model + UI; GPU render pending |
-| Mask | πŸ”Ά | Data model exists; mask painting not wired |
-| Background Removal | βœ… | Uses @imgly/background-removal locally |
-| Selection Tools Panel | πŸ”Ά | Basic rect selection; no ellipse/lasso/wand |
-| Brush Settings | πŸ”Ά | UI wired; brush strokes not persisted to layer |
-| Eraser Settings | πŸ”² | UI only |
-| Paint Bucket Settings | πŸ”² | UI only |
-| Gradient Tool Settings | πŸ”Ά | UI partially wired |
-| Clone Stamp Settings | πŸ”² | UI only |
-| Healing Brush Settings | πŸ”² | UI only |
-| Spot Healing Settings | πŸ”² | UI only |
-| Dodge/Burn Settings | πŸ”² | UI only |
-| Sponge Settings | πŸ”² | UI only |
-| Smudge Settings | πŸ”² | UI only |
-| Blur/Sharpen Settings | πŸ”² | UI only |
-| Liquify Settings | πŸ”² | UI only |
-| Crop Settings | πŸ”Ά | No aspect preset or perspective crop |
-| Pen/Path Settings | πŸ”Ά | Path creation works; anchor editing missing |
-| Transform Tool Panel | βœ… | Free transform functional |
-| Filter Presets | πŸ”Ά | Preset list UI; save/load not persisted |
-| Color Harmony | πŸ”² | UI panel rendered; logic not wired |
-| History Panel | πŸ”Ά | Snapshot history works; no command names shown |
-
----
-
-## Left Panel Tabs
-
-| Tab | Status | Notes |
-|-----|--------|-------|
-| Layers | βœ… | Add/remove/reorder/group/visibility/lock |
-| Templates | πŸ”Ά | Hard-coded template placeholders; no real template data |
-| Assets / Uploads | πŸ”Ά | Upload and display works; no asset library categories |
-| Pages (Artboards) | βœ… | Add/remove/rename/reorder artboards |
-
----
-
-## Export Formats
-
-| Format | Status | Notes |
-|--------|--------|-------|
-| PNG | βœ… | Full artboard render with transparency |
-| JPEG | βœ… | Quality setting applied; transparent bg becomes white |
-| WebP | βœ… | Quality setting applied |
-| SVG | πŸ”² | Option present in UI; not implemented |
-| PDF | πŸ”² | Option present in UI; not implemented |
-
----
-
-## Data & Storage
-
-| Feature | Status | Notes |
-|---------|--------|-------|
-| Project create / load / close | βœ… | Via Zustand store |
-| Project schema validation (Zod) | βœ… | Added in baseline stabilisation |
-| Project migration (version field) | βœ… | v0 β†’ v1 migration added |
-| Auto-save (localStorage) | πŸ”Ά | Saves on dirty, no IndexedDB yet |
-| `.orimg` export (zip) | πŸ”² | Not implemented |
-| Asset deduplication | πŸ”² | Not implemented |
-| Blob URL lifecycle management | πŸ”² | Not implemented |
-
----
-
-## Test Coverage
-
-| Area | Status |
-|------|--------|
-| Project creation | βœ… |
-| Layer add / remove / duplicate / reorder | βœ… |
-| Artboard add / remove / update | βœ… |
-| Export service (PNG / JPG / WebP) | βœ… |
-| Project schema validation | βœ… |
-| Project migration | βœ… |
-| React component tests | πŸ”² |
-| Playwright E2E smoke tests | πŸ”² |
-| Visual regression tests | πŸ”² |
diff --git a/apps/image/PHOTOSHOP_FEATURE_PLAN.md b/apps/image/PHOTOSHOP_FEATURE_PLAN.md
deleted file mode 100644
index cbbf0e5b..00000000
--- a/apps/image/PHOTOSHOP_FEATURE_PLAN.md
+++ /dev/null
@@ -1,942 +0,0 @@
-# OpenReel Image - Photoshop Feature Implementation Plan
-
-## Executive Summary
-
-This document outlines a comprehensive plan to implement Photoshop-equivalent features in OpenReel Image. Based on detailed research of Photoshop's feature set and audit of current OpenReel capabilities, this plan prioritizes features by impact and complexity.
-
----
-
-## Current State vs Photoshop Comparison
-
-### Layer System
-
-| Feature | Photoshop | OpenReel | Gap |
-|---------|-----------|----------|-----|
-| Pixel Layers | βœ“ | βœ“ (image) | - |
-| Adjustment Layers | 16+ types | 11 types | 5+ missing |
-| Fill Layers | Solid, Gradient, Pattern | Partial | Pattern fill |
-| Shape Layers | βœ“ | βœ“ | - |
-| Text Layers | βœ“ | βœ“ | - |
-| Smart Objects | Full | Basic | Non-destructive editing |
-| 3D Layers | βœ“ | βœ— | Full feature |
-| Video Layers | βœ“ | βœ— | Full feature |
-
-### Blend Modes
-
-| Category | Photoshop | OpenReel | Missing |
-|----------|-----------|----------|---------|
-| Normal | Normal, Dissolve | Normal | Dissolve |
-| Darken | 5 modes | 3 modes | Linear Burn, Darker Color |
-| Lighten | 5 modes | 3 modes | Linear Dodge, Lighter Color |
-| Contrast | 8 modes | 3 modes | Vivid/Linear/Pin Light, Hard Mix |
-| Comparative | 4 modes | 3 modes | Divide |
-| Component | 4 modes | 4 modes | - |
-| **Total** | **27+** | **12** | **15+** |
-
-### Selection Tools
-
-| Tool | Photoshop | OpenReel | Priority |
-|------|-----------|----------|----------|
-| Rectangular Marquee | βœ“ | βœ“ (basic) | Enhance |
-| Elliptical Marquee | βœ“ | βœ— | High |
-| Lasso (Free) | βœ“ | βœ— | High |
-| Polygonal Lasso | βœ“ | βœ— | High |
-| Magnetic Lasso | βœ“ | βœ— | Medium |
-| Magic Wand | βœ“ | βœ— | High |
-| Quick Selection | βœ“ | βœ— | Medium |
-| Object Selection | βœ“ | βœ— | Medium |
-| Select Subject (AI) | βœ“ | βœ“ (BG removal) | Partial |
-| Color Range | βœ“ | βœ— | Medium |
-
-### Brush & Paint Tools
-
-| Tool | Photoshop | OpenReel | Priority |
-|------|-----------|----------|----------|
-| Brush Tool | Full dynamics | Basic pen | Enhance |
-| Pencil Tool | βœ“ | βœ— | Medium |
-| Eraser Tool | βœ“ | βœ— | High |
-| Clone Stamp | βœ“ | βœ— | High |
-| Healing Brush | βœ“ | βœ— | High |
-| Spot Healing | βœ“ | βœ— | High |
-| Patch Tool | βœ“ | βœ— | Medium |
-| Content-Aware Fill | βœ“ | βœ— | High (AI) |
-| Red Eye Tool | βœ“ | βœ— | Low |
-
-### Retouching Tools
-
-| Tool | Photoshop | OpenReel | Priority |
-|------|-----------|----------|----------|
-| Dodge (Lighten) | βœ“ | βœ— | High |
-| Burn (Darken) | βœ“ | βœ— | High |
-| Sponge (Saturation) | βœ“ | βœ— | Medium |
-| Blur Brush | βœ“ | βœ— | Medium |
-| Sharpen Brush | βœ“ | βœ— | Medium |
-| Smudge Tool | βœ“ | βœ— | Medium |
-
-### Transform Tools
-
-| Tool | Photoshop | OpenReel | Priority |
-|------|-----------|----------|----------|
-| Free Transform | βœ“ | βœ“ | - |
-| Warp | βœ“ | βœ— | High |
-| Perspective | βœ“ | βœ— | High |
-| Puppet Warp | βœ“ | βœ— | Low |
-| Content-Aware Scale | βœ“ | βœ— | Medium |
-| Liquify | βœ“ | βœ— | Medium |
-
-### Layer Effects/Styles
-
-| Effect | Photoshop | OpenReel | Priority |
-|--------|-----------|----------|----------|
-| Drop Shadow | Full | Basic | Enhance (spread, contour) |
-| Inner Shadow | Full | Basic | Enhance (contour) |
-| Outer Glow | Full | Basic | Enhance (contour, spread) |
-| Inner Glow | βœ“ | βœ— | High |
-| Bevel & Emboss | βœ“ | βœ— | High |
-| Satin | βœ“ | βœ— | Medium |
-| Color Overlay | βœ“ | βœ— | High |
-| Gradient Overlay | βœ“ | βœ— | High |
-| Pattern Overlay | βœ“ | βœ— | Medium |
-| Stroke | Full | Basic | Enhance (position, gradient) |
-
-### Filters
-
-| Category | Photoshop | OpenReel | Gap |
-|----------|-----------|----------|-----|
-| Blur | 14+ types | 3 types | 11+ |
-| Sharpen | 4 types | 1 type | 3 |
-| Noise | 5 types | 1 type | 4 |
-| Distort | 12+ types | 0 | All |
-| Stylize | 8+ types | 0 | All |
-| Render | 8+ types | 0 | All |
-| Neural/AI | 10+ types | 1 (BG remove) | 9+ |
-
-### Adjustments
-
-| Adjustment | Photoshop | OpenReel | Priority |
-|------------|-----------|----------|----------|
-| Brightness/Contrast | βœ“ | βœ“ | - |
-| Levels | βœ“ | βœ— | Critical |
-| Curves | βœ“ | βœ— | Critical |
-| Exposure | βœ“ | βœ“ | - |
-| Vibrance | βœ“ | βœ“ | - |
-| Hue/Saturation | βœ“ | βœ“ | - |
-| Color Balance | βœ“ | βœ— | High |
-| Black & White | βœ“ | βœ— | High |
-| Photo Filter | βœ“ | βœ— | Medium |
-| Channel Mixer | βœ“ | βœ— | Medium |
-| Color Lookup (LUT) | βœ“ | βœ— | High |
-| Invert | βœ“ | βœ“ | - |
-| Posterize | βœ“ | βœ— | Medium |
-| Threshold | βœ“ | βœ— | Medium |
-| Gradient Map | βœ“ | βœ— | Medium |
-| Selective Color | βœ“ | βœ— | High |
-
-### Masks
-
-| Mask Type | Photoshop | OpenReel | Priority |
-|-----------|-----------|----------|----------|
-| Pixel Masks | βœ“ | βœ— | Critical |
-| Vector Masks | βœ“ | βœ— | High |
-| Clipping Masks | βœ“ | βœ— | High |
-| Quick Mask | βœ“ | βœ— | Medium |
-
-### Text Features
-
-| Feature | Photoshop | OpenReel | Priority |
-|---------|-----------|----------|----------|
-| Basic Formatting | βœ“ | βœ“ | - |
-| Paragraph Styles | βœ“ | βœ“ | - |
-| OpenType Features | βœ“ | βœ— | Medium |
-| Variable Fonts | βœ“ | βœ— | Low |
-| Text on Path | βœ“ | βœ— | High |
-| Text in Shape | βœ“ | βœ— | Medium |
-| Warp Text | βœ“ | βœ— | High |
-
-### History & Actions
-
-| Feature | Photoshop | OpenReel | Priority |
-|---------|-----------|----------|----------|
-| History Panel | βœ“ | Basic undo | Enhance |
-| History Brush | βœ“ | βœ— | Medium |
-| Snapshots | βœ“ | βœ— | Medium |
-| Actions | βœ“ | βœ— | High |
-| Batch Processing | βœ“ | βœ— | Medium |
-
----
-
-## Implementation Phases
-
-### Phase 1: Critical Foundation (Core Editing)
-
-**Priority: CRITICAL | Effort: Large**
-
-#### 1.1 Selection System
-```typescript
-interface Selection {
- id: string;
- type: 'rectangular' | 'elliptical' | 'lasso' | 'polygonal' | 'magic-wand' | 'color-range';
- path: Path2D | null;
- bounds: BoundingBox;
- feather: number;
- antiAlias: boolean;
- marching: boolean; // marching ants animation
-}
-
-interface SelectionStore {
- activeSelection: Selection | null;
- savedSelections: Selection[];
- selectionMode: 'new' | 'add' | 'subtract' | 'intersect';
-}
-```
-
-**Tools to implement:**
-- Rectangular Marquee with feather, anti-alias
-- Elliptical Marquee
-- Lasso (freehand)
-- Polygonal Lasso
-- Magic Wand (tolerance-based color selection)
-
-#### 1.2 Layer Masks
-```typescript
-interface LayerMask {
- id: string;
- type: 'pixel' | 'vector';
- data: ImageData | Path2D;
- enabled: boolean;
- linked: boolean; // linked to layer transform
- density: number; // 0-100%
- feather: number;
-}
-
-interface Layer {
- // ... existing
- mask: LayerMask | null;
- clippingMask: boolean; // clips to layer below
-}
-```
-
-#### 1.3 Levels & Curves Adjustments
-```typescript
-interface LevelsAdjustment {
- channel: 'rgb' | 'red' | 'green' | 'blue';
- inputBlack: number; // 0-255
- inputWhite: number; // 0-255
- gamma: number; // 0.1-10
- outputBlack: number; // 0-255
- outputWhite: number; // 0-255
-}
-
-interface CurvesAdjustment {
- channel: 'rgb' | 'red' | 'green' | 'blue';
- points: Array<{ input: number; output: number }>; // up to 14 points
-}
-```
-
-#### 1.4 History System Enhancement
-```typescript
-interface HistoryState {
- id: string;
- name: string;
- timestamp: number;
- snapshot: ProjectSnapshot;
- thumbnail?: string;
-}
-
-interface HistoryStore {
- states: HistoryState[];
- currentIndex: number;
- maxStates: number; // default 50
- snapshots: Map<string, HistoryState>; // named snapshots
-}
-```
-
----
-
-### Phase 2: Essential Tools (Retouching & Paint)
-
-**Priority: HIGH | Effort: Large**
-
-#### 2.1 Brush Engine Enhancement
-```typescript
-interface BrushSettings {
- size: number;
- hardness: number; // 0-100%
- opacity: number; // 0-100%
- flow: number; // 0-100%
- spacing: number; // 1-1000%
- angle: number;
- roundness: number; // 0-100%
-
- // Dynamics
- sizeDynamics: BrushDynamics;
- opacityDynamics: BrushDynamics;
- flowDynamics: BrushDynamics;
-
- // Shape
- tip: 'round' | 'square' | 'custom';
- customTip?: ImageData;
-
- // Transfer
- buildUp: boolean;
- smoothing: number; // 0-100%
-}
-
-interface BrushDynamics {
- control: 'off' | 'fade' | 'pen-pressure' | 'pen-tilt' | 'rotation';
- minValue: number;
- jitter: number;
-}
-```
-
-#### 2.2 Clone Stamp & Healing
-```typescript
-interface CloneStampTool {
- sourcePoint: { x: number; y: number } | null;
- sourceLayer: string | null;
- aligned: boolean;
- sampleMode: 'current' | 'current-below' | 'all';
- blendMode: BlendMode;
- opacity: number;
-}
-
-interface HealingBrushTool extends CloneStampTool {
- healingMode: 'normal' | 'content-aware' | 'proximity';
- diffusion: number; // for high-frequency areas
-}
-
-interface SpotHealingTool {
- type: 'proximity-match' | 'content-aware' | 'create-texture';
- sampleAllLayers: boolean;
-}
-```
-
-#### 2.3 Eraser Tool
-```typescript
-interface EraserTool {
- mode: 'brush' | 'pencil' | 'block';
- size: number;
- hardness: number;
- opacity: number;
- flow: number;
- eraseToHistory: boolean; // restore from history state
-}
-```
-
-#### 2.4 Dodge, Burn, Sponge
-```typescript
-interface DodgeBurnTool {
- type: 'dodge' | 'burn';
- range: 'shadows' | 'midtones' | 'highlights';
- exposure: number; // 0-100%
- protectTones: boolean;
-}
-
-interface SpongeTool {
- mode: 'saturate' | 'desaturate';
- flow: number; // 0-100%
- vibrance: boolean; // protect skin tones
-}
-```
-
----
-
-### Phase 3: Advanced Effects & Filters
-
-**Priority: HIGH | Effort: Medium-Large**
-
-#### 3.1 Additional Blend Modes
-```typescript
-type BlendMode =
- // Existing
- | 'normal' | 'multiply' | 'screen' | 'overlay'
- | 'darken' | 'lighten' | 'color-dodge' | 'color-burn'
- | 'hard-light' | 'soft-light' | 'difference' | 'exclusion'
-
- // New - Darken Group
- | 'linear-burn' | 'darker-color'
-
- // New - Lighten Group
- | 'linear-dodge' | 'lighter-color'
-
- // New - Contrast Group
- | 'vivid-light' | 'linear-light' | 'pin-light' | 'hard-mix'
-
- // New - Other
- | 'dissolve' | 'divide';
-```
-
-#### 3.2 Layer Style Enhancements
-```typescript
-interface DropShadow {
- enabled: boolean;
- blendMode: BlendMode;
- color: string;
- opacity: number;
- angle: number;
- distance: number;
- spread: number; // NEW: 0-100%
- size: number;
- contour: ContourCurve; // NEW: custom curve
- antiAlias: boolean;
- noise: number;
- layerKnockout: boolean;
-}
-
-interface BevelEmboss {
- enabled: boolean;
- style: 'outer-bevel' | 'inner-bevel' | 'emboss' | 'pillow-emboss' | 'stroke-emboss';
- technique: 'smooth' | 'chisel-hard' | 'chisel-soft';
- depth: number;
- direction: 'up' | 'down';
- size: number;
- soften: number;
-
- // Shading
- angle: number;
- altitude: number;
- highlightMode: BlendMode;
- highlightColor: string;
- highlightOpacity: number;
- shadowMode: BlendMode;
- shadowColor: string;
- shadowOpacity: number;
-
- // Contour
- gloss: ContourCurve;
- contour: ContourCurve;
- antiAlias: boolean;
-}
-
-interface InnerGlow {
- enabled: boolean;
- blendMode: BlendMode;
- opacity: number;
- noise: number;
- color: string | GradientDef;
- technique: 'softer' | 'precise';
- source: 'center' | 'edge';
- choke: number;
- size: number;
- contour: ContourCurve;
- antiAlias: boolean;
- range: number;
- jitter: number;
-}
-
-interface ColorOverlay {
- enabled: boolean;
- blendMode: BlendMode;
- color: string;
- opacity: number;
-}
-
-interface GradientOverlay {
- enabled: boolean;
- blendMode: BlendMode;
- opacity: number;
- gradient: GradientDef;
- style: 'linear' | 'radial' | 'angle' | 'reflected' | 'diamond';
- alignWithLayer: boolean;
- angle: number;
- scale: number;
- reverse: boolean;
- dither: boolean;
-}
-
-interface PatternOverlay {
- enabled: boolean;
- blendMode: BlendMode;
- opacity: number;
- pattern: PatternDef;
- scale: number;
- linkWithLayer: boolean;
-}
-
-interface Satin {
- enabled: boolean;
- blendMode: BlendMode;
- color: string;
- opacity: number;
- angle: number;
- distance: number;
- size: number;
- contour: ContourCurve;
- antiAlias: boolean;
- invert: boolean;
-}
-```
-
-#### 3.3 Filter System
-```typescript
-// Blur Filters
-interface GaussianBlur { radius: number; }
-interface MotionBlur { angle: number; distance: number; }
-interface RadialBlur { amount: number; method: 'spin' | 'zoom'; quality: 'draft' | 'better' | 'best'; center: Point; }
-interface LensBlur { radius: number; irisShape: number; irisRotation: number; iriscurvature: number; highlight: { brightness: number; threshold: number; }; }
-interface SurfaceBlur { radius: number; threshold: number; }
-interface TiltShift { blur: number; focusLine: { start: Point; end: Point }; transition: number; }
-
-// Sharpen Filters
-interface UnsharpMask { amount: number; radius: number; threshold: number; }
-interface SmartSharpen { amount: number; radius: number; removeBlur: 'gaussian' | 'lens' | 'motion'; noiseReduction: number; }
-interface HighPass { radius: number; } // Applied with overlay blend mode
-
-// Distort Filters
-interface Spherize { amount: number; mode: 'normal' | 'horizontal' | 'vertical'; }
-interface Pinch { amount: number; }
-interface Twirl { angle: number; }
-interface Wave { generators: number; wavelength: { min: number; max: number }; amplitude: { min: number; max: number }; scale: { x: number; y: number }; type: 'sine' | 'triangle' | 'square'; }
-interface Ripple { amount: number; size: 'small' | 'medium' | 'large'; }
-interface ZigZag { amount: number; ridges: number; style: 'around-center' | 'out-from-center' | 'pond-ripples'; }
-interface PolarCoordinates { mode: 'rectangular-to-polar' | 'polar-to-rectangular'; }
-
-// Noise Filters
-interface AddNoise { amount: number; distribution: 'uniform' | 'gaussian'; monochromatic: boolean; }
-interface ReduceNoise { strength: number; preserveDetails: number; reduceColorNoise: number; sharpenDetails: number; }
-interface DustScratches { radius: number; threshold: number; }
-interface Median { radius: number; }
-
-// Stylize Filters
-interface OilPaint { stylization: number; cleanliness: number; scale: number; bristleDetail: number; angularDirection: number; }
-interface Emboss { angle: number; height: number; amount: number; }
-interface FindEdges { /* no params */ }
-interface Wind { method: 'wind' | 'blast' | 'stagger'; direction: 'left' | 'right'; }
-
-// Render Filters
-interface Clouds { /* uses foreground/background colors */ }
-interface DifferenceClouds { /* blends with existing content */ }
-interface Fibers { variance: number; strength: number; }
-interface LensFlare { brightness: number; flareCenter: Point; lensType: '50-300mm-zoom' | '35mm-prime' | '105mm-prime' | 'movie-prime'; }
-```
-
-#### 3.4 Liquify Tool
-```typescript
-interface LiquifySettings {
- brushSize: number;
- brushDensity: number;
- brushPressure: number;
- brushRate: number;
-
- // Face-Aware
- faceAware: boolean;
- faceControls?: {
- eyeSize: number;
- eyeHeight: number;
- eyeWidth: number;
- eyeTilt: number;
- eyeDistance: number;
- noseHeight: number;
- noseWidth: number;
- mouthSmile: number;
- mouthHeight: number;
- mouthWidth: number;
- jawline: number;
- faceWidth: number;
- forehead: number;
- chinHeight: number;
- };
-}
-
-type LiquifyTool =
- | 'warp' // Forward Warp
- | 'reconstruct' // Restore
- | 'smooth' // Smooth
- | 'twirl-cw' // Twirl Clockwise
- | 'twirl-ccw' // Twirl Counter-Clockwise
- | 'pucker' // Contract
- | 'bloat' // Expand
- | 'push-left' // Shift Pixels
- | 'freeze' // Protect area
- | 'thaw'; // Unprotect area
-```
-
----
-
-### Phase 4: Color & Adjustments
-
-**Priority: HIGH | Effort: Medium**
-
-#### 4.1 Advanced Adjustments
-```typescript
-interface ColorBalance {
- shadows: { cyan_red: number; magenta_green: number; yellow_blue: number };
- midtones: { cyan_red: number; magenta_green: number; yellow_blue: number };
- highlights: { cyan_red: number; magenta_green: number; yellow_blue: number };
- preserveLuminosity: boolean;
-}
-
-interface SelectiveColor {
- colors: 'reds' | 'yellows' | 'greens' | 'cyans' | 'blues' | 'magentas' | 'whites' | 'neutrals' | 'blacks';
- cyan: number; // -100 to +100
- magenta: number;
- yellow: number;
- black: number;
- method: 'relative' | 'absolute';
-}
-
-interface BlackWhite {
- reds: number;
- yellows: number;
- greens: number;
- cyans: number;
- blues: number;
- magentas: number;
- tint: { enabled: boolean; hue: number; saturation: number };
-}
-
-interface PhotoFilter {
- filter: 'warming-85' | 'warming-81' | 'cooling-80' | 'cooling-82' | 'custom';
- color: string;
- density: number;
- preserveLuminosity: boolean;
-}
-
-interface ChannelMixer {
- outputChannel: 'red' | 'green' | 'blue';
- red: number;
- green: number;
- blue: number;
- constant: number;
- monochrome: boolean;
-}
-
-interface ColorLookup {
- lutFile: string; // .cube, .3dl, .look file
- lutData: Float32Array; // 3D LUT data
- strength: number;
-}
-
-interface GradientMap {
- gradient: GradientDef;
- dither: boolean;
- reverse: boolean;
-}
-
-interface Posterize {
- levels: number; // 2-255
-}
-
-interface Threshold {
- level: number; // 0-255
-}
-```
-
-#### 4.2 Histogram & Info Panel
-```typescript
-interface Histogram {
- data: {
- red: Uint32Array;
- green: Uint32Array;
- blue: Uint32Array;
- luminosity: Uint32Array;
- };
- clipping: {
- shadowsClipped: number; // percentage
- highlightsClipped: number;
- };
- statistics: {
- mean: number;
- stdDev: number;
- median: number;
- pixelCount: number;
- };
-}
-
-interface ColorInfo {
- rgb: { r: number; g: number; b: number };
- hsb: { h: number; s: number; b: number };
- lab: { l: number; a: number; b: number };
- cmyk: { c: number; m: number; y: number; k: number };
- hex: string;
-}
-```
-
----
-
-### Phase 5: Text & Vector
-
-**Priority: MEDIUM | Effort: Medium**
-
-#### 5.1 Text on Path
-```typescript
-interface TextOnPath {
- path: Path2D | SVGPath;
- startOffset: number; // 0-100%
- alignment: 'left' | 'center' | 'right';
- orientation: 'upright' | 'tangent';
- flipText: boolean;
-}
-```
-
-#### 5.2 Warp Text
-```typescript
-type WarpStyle =
- | 'arc' | 'arc-lower' | 'arc-upper' | 'arch' | 'bulge'
- | 'shell-lower' | 'shell-upper' | 'flag' | 'wave' | 'fish'
- | 'rise' | 'fish-eye' | 'inflate' | 'squeeze' | 'twist';
-
-interface WarpText {
- style: WarpStyle;
- orientation: 'horizontal' | 'vertical';
- bend: number; // -100 to +100
- horizontalDistortion: number;
- verticalDistortion: number;
-}
-```
-
-#### 5.3 OpenType Features
-```typescript
-interface OpenTypeFeatures {
- ligatures: 'none' | 'standard' | 'discretionary' | 'historical';
- contextualAlternates: boolean;
- stylisticAlternates: boolean;
- swash: boolean;
- titlingAlternates: boolean;
- ordinals: boolean;
- fractions: boolean;
- slashedZero: boolean;
-}
-```
-
----
-
-### Phase 6: Automation & Workflow
-
-**Priority: MEDIUM | Effort: Large**
-
-#### 6.1 Actions System
-```typescript
-interface Action {
- id: string;
- name: string;
- steps: ActionStep[];
- shortcut?: string;
-}
-
-interface ActionStep {
- id: string;
- type: string; // tool/filter/adjustment type
- parameters: Record<string, unknown>;
- enabled: boolean;
- dialog: boolean; // show dialog on playback
-}
-
-interface ActionSet {
- id: string;
- name: string;
- actions: Action[];
-}
-
-interface ActionStore {
- sets: ActionSet[];
- recording: boolean;
- currentAction: Action | null;
-}
-```
-
-#### 6.2 Batch Processing
-```typescript
-interface BatchProcess {
- source: 'folder' | 'open-files';
- sourcePath?: string;
- includeSubfolders: boolean;
- action: string;
- destination: 'same' | 'folder' | 'save-close';
- destinationPath?: string;
- fileNaming: {
- template: string;
- startNumber: number;
- compatibility: 'windows' | 'mac' | 'unix';
- };
- errors: 'stop' | 'log' | 'skip';
-}
-```
-
-#### 6.3 Presets System
-```typescript
-interface PresetLibrary {
- brushes: BrushPreset[];
- gradients: GradientPreset[];
- patterns: PatternPreset[];
- layerStyles: LayerStylePreset[];
- filters: FilterPreset[];
- adjustments: AdjustmentPreset[];
- tools: ToolPreset[];
- exports: ExportPreset[];
-}
-```
-
----
-
-## Implementation Priority Matrix
-
-### Tier 1: Critical (Implement First)
-1. **Selection Tools** - Rectangular, Elliptical, Lasso, Magic Wand
-2. **Layer Masks** - Pixel masks with feather, density
-3. **Levels Adjustment** - Input/output levels, gamma
-4. **Curves Adjustment** - Multi-point curve editing
-5. **Eraser Tool** - Basic erasing with brush settings
-6. **Enhanced History** - Visual history panel, snapshots
-
-### Tier 2: High Priority
-1. **Clone Stamp** - Source point, aligned mode
-2. **Healing Brush** - Texture blending
-3. **Spot Healing** - Content-aware healing
-4. **Dodge/Burn** - Exposure-based lightening/darkening
-5. **Additional Blend Modes** - Complete the 27 modes
-6. **Layer Effects** - Bevel & Emboss, Inner Glow, Overlays
-7. **Color Balance** - Shadows/Midtones/Highlights
-8. **Selective Color** - CMYK-based color targeting
-9. **Warp Transform** - Mesh-based warping
-10. **Text on Path** - Path-following text
-
-### Tier 3: Medium Priority
-1. **Blur Filters** - Lens blur, surface blur, tilt-shift
-2. **Sharpen Filters** - Unsharp mask, smart sharpen
-3. **Distort Filters** - Spherize, pinch, twirl, wave
-4. **Liquify** - Face-aware warping
-5. **Noise Filters** - Add/reduce noise
-6. **Vector Masks** - Path-based masks
-7. **Clipping Masks** - Clip to layer below
-8. **Color Lookup (LUT)** - 3D LUT support
-9. **Gradient Map** - Tone-to-color mapping
-10. **Warp Text** - 15 warp styles
-
-### Tier 4: Lower Priority
-1. **Stylize Filters** - Oil paint, emboss, find edges
-2. **Render Filters** - Clouds, lens flare
-3. **Actions System** - Record and playback
-4. **Batch Processing** - Multi-file automation
-5. **Variable Fonts** - Axis controls
-6. **OpenType Features** - Ligatures, alternates
-7. **Content-Aware Fill** - AI-powered fill (requires ML)
-8. **Neural Filters** - AI-powered effects (requires ML)
-9. **Puppet Warp** - Pin-based warping
-10. **3D Layers** - Basic 3D support
-
----
-
-## Technical Architecture
-
-### Canvas Rendering Pipeline
-```
-Layer Stack
- ↓
-For each layer:
- Apply masks (pixel/vector)
- ↓
- Apply clipping mask (if enabled)
- ↓
- Render layer content
- ↓
- Apply layer effects (shadow, glow, etc.)
- ↓
- Apply blend mode with layer below
- ↓
-Composite to canvas
-```
-
-### Filter Processing Pipeline
-```
-Selection (optional)
- ↓
-Source pixels
- ↓
-Apply filter kernel/algorithm
- ↓
-Apply feather (if selection)
- ↓
-Blend with original (based on filter opacity)
- ↓
-Output pixels
-```
-
-### Recommended File Structure
-```
-apps/image/src/
-β”œβ”€β”€ tools/
-β”‚ β”œβ”€β”€ selection/
-β”‚ β”‚ β”œβ”€β”€ rectangular-marquee.ts
-β”‚ β”‚ β”œβ”€β”€ elliptical-marquee.ts
-β”‚ β”‚ β”œβ”€β”€ lasso.ts
-β”‚ β”‚ β”œβ”€β”€ polygonal-lasso.ts
-β”‚ β”‚ β”œβ”€β”€ magic-wand.ts
-β”‚ β”‚ └── color-range.ts
-β”‚ β”œβ”€β”€ paint/
-β”‚ β”‚ β”œβ”€β”€ brush.ts
-β”‚ β”‚ β”œβ”€β”€ eraser.ts
-β”‚ β”‚ β”œβ”€β”€ clone-stamp.ts
-β”‚ β”‚ β”œβ”€β”€ healing-brush.ts
-β”‚ β”‚ └── spot-healing.ts
-β”‚ β”œβ”€β”€ retouch/
-β”‚ β”‚ β”œβ”€β”€ dodge.ts
-β”‚ β”‚ β”œβ”€β”€ burn.ts
-β”‚ β”‚ β”œβ”€β”€ sponge.ts
-β”‚ β”‚ └── smudge.ts
-β”‚ └── transform/
-β”‚ β”œβ”€β”€ warp.ts
-β”‚ β”œβ”€β”€ perspective.ts
-β”‚ └── liquify.ts
-β”œβ”€β”€ filters/
-β”‚ β”œβ”€β”€ blur/
-β”‚ β”œβ”€β”€ sharpen/
-β”‚ β”œβ”€β”€ distort/
-β”‚ β”œβ”€β”€ noise/
-β”‚ β”œβ”€β”€ stylize/
-β”‚ └── render/
-β”œβ”€β”€ adjustments/
-β”‚ β”œβ”€β”€ levels.ts
-β”‚ β”œβ”€β”€ curves.ts
-β”‚ β”œβ”€β”€ color-balance.ts
-β”‚ β”œβ”€β”€ selective-color.ts
-β”‚ β”œβ”€β”€ channel-mixer.ts
-β”‚ └── color-lookup.ts
-β”œβ”€β”€ masks/
-β”‚ β”œβ”€β”€ pixel-mask.ts
-β”‚ β”œβ”€β”€ vector-mask.ts
-β”‚ └── clipping-mask.ts
-β”œβ”€β”€ effects/
-β”‚ β”œβ”€β”€ blend-modes.ts
-β”‚ β”œβ”€β”€ layer-styles.ts
-β”‚ └── contours.ts
-└── automation/
- β”œβ”€β”€ actions.ts
- β”œβ”€β”€ history.ts
- └── presets.ts
-```
-
----
-
-## Estimated Effort Summary
-
-| Phase | Features | Complexity | Files |
-|-------|----------|------------|-------|
-| Phase 1 | Selection, Masks, Levels, Curves, History | High | 15-20 |
-| Phase 2 | Paint Tools, Retouching | High | 12-15 |
-| Phase 3 | Blend Modes, Effects, Filters | Medium-High | 25-30 |
-| Phase 4 | Color Adjustments, Histogram | Medium | 10-12 |
-| Phase 5 | Text, Vector | Medium | 8-10 |
-| Phase 6 | Actions, Automation | Medium-High | 10-12 |
-
-**Total: 80-100 new/modified files**
-
----
-
-## Next Steps
-
-1. **Start with Phase 1** - Build foundation with selection system and masks
-2. **Create tool architecture** - Abstract base classes for tool types
-3. **Implement WebGL/WebGPU shaders** - For filter processing performance
-4. **Build UI components** - Inspector panels for new features
-5. **Add keyboard shortcuts** - Standard Photoshop shortcuts where possible
-6. **Write tests** - Unit tests for algorithms, integration tests for tools
-
----
-
-## Resources
-
-- [Adobe Photoshop User Guide](https://helpx.adobe.com/photoshop/user-guide.html)
-- [Photoshop Blend Mode Math](https://www.w3.org/TR/compositing-1/#blending)
-- [Image Processing Algorithms](https://homepages.inf.ed.ac.uk/rbf/HIPR2/)
-- [WebGL Fundamentals](https://webglfundamentals.org/)
diff --git a/apps/web/DEPLOY_CHECKLIST.md b/apps/web/DEPLOY_CHECKLIST.md
deleted file mode 100644
index 992f0e05..00000000
--- a/apps/web/DEPLOY_CHECKLIST.md
+++ /dev/null
@@ -1,151 +0,0 @@
-# Deployment Checklist for app.openreel.video
-
-## Pre-Deployment
-
-- [ ] Build passes successfully: `pnpm build`
-- [ ] All tests pass: `pnpm test:run`
-- [ ] TypeScript checks pass: `pnpm typecheck`
-- [ ] Git repository is clean or changes are committed
-
-## Cloudflare Setup (First Time Only)
-
-### 1. Install and Authenticate Wrangler
-
-```bash
-cd apps/web
-npx wrangler login
-```
-
-### 2. Create Cloudflare Pages Project
-
-```bash
-npx wrangler pages project create openreel
-```
-
-### 3. Configure Custom Domain
-
-In Cloudflare Dashboard:
-1. Go to **Pages** β†’ **openreel** β†’ **Custom domains**
-2. Click **Set up a custom domain**
-3. Enter: `app.openreel.video`
-4. Cloudflare will automatically configure DNS
-
-**Important**: Ensure your `openreel.video` domain is already added to Cloudflare.
-
-## Deployment Steps
-
-### Option 1: Quick Deploy (from root)
-
-```bash
-pnpm deploy
-```
-
-### Option 2: Manual Deploy (from apps/web)
-
-```bash
-pnpm build
-pnpm deploy
-```
-
-### Option 3: Preview Deploy
-
-```bash
-pnpm deploy:preview
-```
-
-## Post-Deployment Verification
-
-### 1. Check Deployment Status
-
-```bash
-npx wrangler pages deployment list --project-name=openreel
-```
-
-### 2. Verify Site Access
-
-- [ ] Visit https://app.openreel.video
-- [ ] Site loads without errors
-- [ ] No console errors in browser DevTools
-
-### 3. Verify Headers
-
-Open DevTools β†’ Network β†’ Select any request β†’ Check Response Headers:
-- [ ] `Cross-Origin-Opener-Policy: same-origin`
-- [ ] `Cross-Origin-Embedder-Policy: require-corp`
-
-### 4. Test Core Features
-
-- [ ] Import media file
-- [ ] Add emoji to timeline
-- [ ] Apply transform (move, scale, rotate)
-- [ ] Apply entry/exit transitions
-- [ ] Export video (this tests WebCodecs and FFmpeg.wasm)
-- [ ] Download exported video
-
-### 5. Test Routing
-
-- [ ] Direct URL access works (not just homepage)
-- [ ] Browser back/forward buttons work
-
-## Troubleshooting
-
-### Deployment Failed
-
-```bash
-# Check authentication
-npx wrangler whoami
-
-# Re-authenticate if needed
-npx wrangler logout
-npx wrangler login
-
-# Try again
-pnpm deploy
-```
-
-### SharedArrayBuffer Issues
-
-If you see "SharedArrayBuffer is not defined":
-1. Check headers in Network tab
-2. Hard reload browser (Cmd+Shift+R / Ctrl+Shift+F5)
-3. Clear site data in DevTools β†’ Application β†’ Clear storage
-
-### 404 on Routes
-
-If direct URLs show 404:
-1. Verify `_redirects` file exists in `dist/`
-2. Check Cloudflare Pages β†’ Functions tab
-3. Redeploy if needed
-
-## Rollback
-
-If deployment has issues:
-
-```bash
-# List deployments
-npx wrangler pages deployment list --project-name=openreel
-
-# The previous deployment is still accessible at its unique URL
-# You can promote it back in Cloudflare Dashboard
-```
-
-Go to Cloudflare Dashboard β†’ Pages β†’ openreel β†’ Deployments β†’ Select previous deployment β†’ Rollback
-
-## Environment-Specific Notes
-
-### Production
-- Deployed to: `app.openreel.video`
-- Branch: `main`
-- Command: `pnpm deploy`
-
-### Preview
-- Deployed to: `[unique-id].openreel.pages.dev`
-- Branch: `preview`
-- Command: `pnpm deploy:preview`
-
-## Support
-
-For deployment issues:
-- Check logs: Cloudflare Pages β†’ openreel β†’ Deployments β†’ [Latest] β†’ View logs
-- Wrangler docs: https://developers.cloudflare.com/pages/
-- OpenReel issues: https://github.com/Augani/openreel-video/issues