-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresearch-prompt.txt
More file actions
93 lines (74 loc) · 4.15 KB
/
research-prompt.txt
File metadata and controls
93 lines (74 loc) · 4.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
🔍 **RESEARCH PROMPT: Dynamic AI-Controlled Map Interface**
**Context & Vision:**
I'm building an AI-powered map interface inspired by Mission Impossible-style command centers. The AI will control a map to highlight locations, search for targets, and provide real-time analysis. I need to determine the optimal technical architecture for creating a cinematic, dynamic map experience.
**Current Implementation:**
- **Mapbox GL JS** with custom viewfinder corners (L-shaped markers)
- **10km square viewfinder** with proper coordinate scaling
- **White corner strokes** that can be styled and positioned
- **Map layers** for data visualization (circles, lines, polygons)
**Desired User Experience:**
1. **Searching Phase**: Crosshair moves randomly across map like Mission Impossible
2. **Targeting Phase**: Crosshair stops and "locks onto" a location
3. **Analysis Phase**: Viewfinder appears at target location with data overlay
4. **Results Phase**: Show AI analysis with animated transitions
**Technical Research Questions:**
**1. Architecture Decision:**
- **Option A**: Keep viewfinder as map layers + add HTML overlay crosshair
- **Option B**: Move everything to HTML/CSS overlay system
- **Option C**: Hybrid approach with both systems
- **Which provides better performance, flexibility, and cinematic effects?**
**2. Animation & Performance:**
- **What's the best way to create smooth, cinematic map animations?**
- **Should animations be CSS-based, JavaScript-based, or WebGL-based?**
- **How to handle 60fps smooth movement across large map areas?**
- **What are the performance implications of each approach?**
**3. Coordinate Synchronization:**
- **How to perfectly sync overlay elements with map coordinates?**
- **What's the best way to convert between screen pixels and map coordinates?**
- **How to handle map zoom/pan while maintaining overlay positioning?**
**4. Cinematic Effects:**
- **What techniques do movie interfaces use for "scanning" effects?**
- **How to create the "radar sweep" or "crosshair search" effect?**
- **What are the best practices for creating military/command center aesthetics?**
**5. AI Integration:**
- **How to structure the system for AI control?**
- **What's the best way to queue and sequence AI commands?**
- **How to handle real-time updates from AI analysis?**
**6. Technical Implementation:**
- **Mapbox GL JS vs other mapping libraries for this use case?**
- **Canvas vs SVG vs HTML for overlay elements?**
- **WebGL shaders for advanced effects?**
- **React/Vue integration considerations?**
**Specific Research Areas:**
**A. Movie Interface Analysis:**
- Study Mission Impossible, Bourne Identity, and similar films
- Analyze the visual patterns and interaction flows
- Identify the key UI elements and their behaviors
**B. Technical Solutions:**
- Research existing map overlay libraries
- Analyze performance benchmarks for different approaches
- Study coordinate transformation techniques
**C. Animation Libraries:**
- Compare GSAP, Framer Motion, and custom solutions
- Research WebGL-based animation techniques
- Study smooth interpolation algorithms
**D. Real-world Examples:**
- Analyze military command center interfaces
- Study air traffic control systems
- Research gaming interfaces with similar functionality
**Expected Deliverables:**
1. **Architecture recommendation** with pros/cons
2. **Technical implementation plan** with code examples
3. **Performance analysis** and optimization strategies
4. **Animation framework** recommendations
5. **AI integration patterns** for dynamic control
6. **Visual design guidelines** for cinematic effects
**Success Criteria:**
- Smooth 60fps animations across the map
- Perfect coordinate synchronization
- Cinematic visual effects
- Easy AI integration
- Scalable and maintainable code
**Research Focus:**
Prioritize solutions that provide the most **cinematic, Mission Impossible-style experience** while maintaining **technical feasibility** and **performance**. The goal is to create an interface that feels like it belongs in a high-tech action movie.
**Please conduct comprehensive research on these topics and provide detailed recommendations with code examples, performance analysis, and implementation strategies.**