-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
245 lines (214 loc) · 5.44 KB
/
index.html
File metadata and controls
245 lines (214 loc) · 5.44 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Browser-based projection mapping tool with WebGL. Map videos, images, and camera feeds onto any surface with real-time perspective correction.">
<title>Projection Mapping Web - Free Online Video Mapping Tool</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
color: #eee;
font-family: system-ui, -apple-system, sans-serif;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
}
.container {
max-width: 900px;
width: 100%;
}
header {
text-align: center;
margin-bottom: 60px;
}
h1 {
font-size: 3.5rem;
color: #0f9;
margin-bottom: 16px;
text-shadow: 0 0 20px rgba(0, 255, 153, 0.3);
}
.tagline {
font-size: 1.25rem;
color: #aaa;
font-weight: 300;
}
.hero {
background: rgba(22, 33, 62, 0.6);
backdrop-filter: blur(10px);
border: 1px solid rgba(0, 255, 153, 0.2);
border-radius: 12px;
padding: 48px;
margin-bottom: 48px;
text-align: center;
}
.hero p {
font-size: 1.1rem;
line-height: 1.8;
color: #ccc;
margin-bottom: 32px;
}
.cta-button {
display: inline-block;
padding: 16px 48px;
background: #0f9;
color: #000;
text-decoration: none;
font-size: 1.25rem;
font-weight: 600;
border-radius: 8px;
transition: all 0.3s ease;
box-shadow: 0 4px 20px rgba(0, 255, 153, 0.3);
}
.cta-button:hover {
background: #0da;
transform: translateY(-2px);
box-shadow: 0 6px 30px rgba(0, 255, 153, 0.4);
}
.features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 24px;
margin-bottom: 48px;
}
.feature {
background: rgba(22, 33, 62, 0.4);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
padding: 24px;
transition: all 0.3s ease;
}
.feature:hover {
border-color: rgba(0, 255, 153, 0.3);
transform: translateY(-4px);
}
.feature-icon {
font-size: 2rem;
margin-bottom: 12px;
}
.feature h3 {
color: #0f9;
font-size: 1.1rem;
margin-bottom: 8px;
}
.feature p {
color: #aaa;
font-size: 0.95rem;
line-height: 1.6;
}
.tech-stack {
background: rgba(22, 33, 62, 0.3);
border-radius: 8px;
padding: 32px;
text-align: center;
}
.tech-stack h2 {
color: #0f9;
font-size: 1.5rem;
margin-bottom: 16px;
}
.tech-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 16px;
margin-top: 20px;
}
.tech-badge {
background: rgba(0, 255, 153, 0.1);
border: 1px solid rgba(0, 255, 153, 0.3);
padding: 8px 16px;
border-radius: 20px;
font-size: 0.9rem;
color: #0f9;
}
footer {
text-align: center;
margin-top: 48px;
padding-top: 24px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: #666;
font-size: 0.9rem;
}
footer a {
color: #0f9;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
@media (max-width: 768px) {
h1 { font-size: 2.5rem; }
.tagline { font-size: 1rem; }
.hero { padding: 32px 24px; }
.cta-button { padding: 14px 32px; font-size: 1.1rem; }
}
</style>
</head>
<body>
<div class="container">
<header>
<h1>🎥 Projection Mapping Web</h1>
<p class="tagline">Transform any surface into a dynamic canvas</p>
</header>
<div class="hero">
<p>
A powerful, browser-based projection mapping tool built with WebGL.
Map videos, images, or live camera feeds onto any surface with precise
4-corner perspective correction. No installation required—just open and create.
</p>
<a href="app.html" class="cta-button">Launch App →</a>
<br><br>
<img src="demo.gif" />
</div>
<div class="features">
<div class="feature">
<div class="feature-icon">🎬</div>
<h3>Multi-Layer Support</h3>
<p>Work with multiple layers simultaneously for complex visual compositions</p>
</div>
<div class="feature">
<div class="feature-icon">📁</div>
<h3>Multiple Sources</h3>
<p>Use videos, images, live camera feeds, or solid colors as your content</p>
</div>
<div class="feature">
<div class="feature-icon">🎯</div>
<h3>Real-Time Warping</h3>
<p>Drag corner points to precisely map content onto any surface shape</p>
</div>
<div class="feature">
<div class="feature-icon">⚡</div>
<h3>Hardware Accelerated</h3>
<p>Smooth performance powered by WebGL with real-time video playback</p>
</div>
<div class="feature">
<div class="feature-icon">⌨️</div>
<h3>Keyboard Shortcuts</h3>
<p>Fast workflow with hotkeys for common operations and layer switching</p>
</div>
<div class="feature">
<div class="feature-icon">🌐</div>
<h3>No Installation</h3>
<p>Runs entirely in your browser—works on any device with WebGL support</p>
</div>
</div>
<div class="tech-stack">
<h2>Built With Modern Web Technologies</h2>
<div class="tech-list">
<span class="tech-badge">WebGL</span>
<span class="tech-badge">JavaScript ES6+</span>
<span class="tech-badge">MediaDevices API</span>
<span class="tech-badge">GLSL Shaders</span>
<span class="tech-badge">Vanilla JS</span>
</div>
</div>
<footer>
<p>Open source project • <a href="https://github.com/vitalyu/ProjectorVideoMappingWeb" target="_blank">View on GitHub</a></p>
</footer>
</div>
</body>
</html>