-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirebender.html
More file actions
398 lines (339 loc) · 11.1 KB
/
firebender.html
File metadata and controls
398 lines (339 loc) · 11.1 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
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Firebender | Peter He</title>
<meta name="description" content="Punch-activated Flamethrower">
<meta name="author" content="Peter He">
<meta property="og:url" content="https://peterhe.dev/firebender" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Firebender | Peter He" />
<meta property="og:description" content="Punch-activated Flamethrower" />
<!-- Favicon -->
<link rel="icon" type="image/x-icon" href="favicon/favicon.ico">
<link rel="icon" type="image/svg+xml" href="favicon/favicon.svg">
<link rel="apple-touch-icon" sizes="180x180" href="favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="192x192" href="favicon/web-app-manifest-192x192.png">
<link rel="icon" type="image/png" sizes="512x512" href="favicon/web-app-manifest-512x512.png">
<link rel="manifest" href="favicon/site.webmanifest">
<script src="https://cdn.tailwindcss.com"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap"
rel="stylesheet">
<style>
body {
font-family: 'Inter', sans-serif;
margin: 0;
padding: 0;
background-color: #ffffff;
color: #000000;
line-height: 1.6;
}
.container {
display: flex;
min-height: 100vh;
max-width: 1400px;
margin: 0 auto;
padding: 0 2rem;
}
.left-section {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 2rem;
}
.right-section {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
padding: 2rem;
}
.left-section img {
max-width: 100%;
height: auto;
border-radius: 10px;
}
.project-label {
color: #666666;
font-size: 2.5rem;
font-weight: 400;
}
.project-name {
color: #000000;
font-size: 2.5rem;
font-weight: 700;
}
h1 {
margin: 0 0 1rem 0;
}
h2 {
font-size: 1.5rem;
color: #333333;
margin: 0 0 1rem 0;
font-weight: 500;
}
p {
margin: 0.5rem 0;
color: #555555;
}
small {
color: #888888;
font-style: italic;
}
.signup-form {
margin-top: 2rem;
padding: 2rem;
background-color: #f8f9fa;
border-radius: 10px;
}
.signup-form h3 {
margin: 0 0 1rem 0;
color: #000000;
}
.signup-form form {
display: flex;
gap: 1rem;
margin-bottom: 1rem;
}
.signup-form input {
flex: 1;
padding: 0.75rem;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 1rem;
}
.signup-form button {
padding: 0.75rem 1.5rem;
background-color: #000000;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 1rem;
}
.signup-form button:hover {
background-color: #333333;
}
.learn-more-btn-wrapper {
text-align: center;
}
.learn-more-btn {
display: inline-block;
padding: 1rem 2rem;
background-color: #000000;
color: white;
text-decoration: none;
border-radius: 5px;
font-weight: 500;
transition: background-color 0.3s ease;
}
.learn-more-btn:hover {
background-color: #333333;
}
.learn-more-section {
padding: 4rem 2rem;
background-color: #f8f9fa;
}
.learn-more-section h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
color: #000000;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
}
.feature {
background-color: white;
padding: 2rem;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.feature h3 {
font-size: 1.5rem;
margin: 0 0 1rem 0;
color: #000000;
}
.feature p {
margin: 1rem 0;
color: #555555;
}
.feature img {
width: 100%;
height: auto;
border-radius: 5px;
margin: 1rem 0;
}
.video-section {
padding: 4rem 2rem;
text-align: center;
}
.video-section h2 {
font-size: 2.5rem;
margin-bottom: 2rem;
color: #000000;
}
.alt-bg {
background-color: #f8f9fa;
}
footer {
text-align: center;
padding: 2rem 0;
color: #666666;
border-top: 1px solid #e5e5e5;
margin-top: 4rem;
}
@media (max-width: 768px) {
.container {
flex-direction: column;
padding: 0 1rem;
}
.left-section,
.right-section {
padding: 1rem;
}
.project-name {
font-size: 2rem;
}
.signup-form form {
flex-direction: column;
}
.features-grid {
grid-template-columns: 1fr;
gap: 1rem;
}
}
</style>
</head>
<body class="bg-white text-gray-900 font-sans">
<!-- Navigation -->
<nav class="border-b border-gray-200 py-4">
<div class="max-w-6xl mx-auto px-6">
<div class="flex space-x-8">
<a href="index.html" class="text-gray-500 hover:text-gray-700 transition-colors">home</a>
<a href="projects.html" class="text-black font-medium border-b-2 border-black pb-1">projects</a>
<a href="research.html" class="text-gray-500 hover:text-gray-700 transition-colors">research</a>
<a href="creative.html" class="text-gray-500 hover:text-gray-700 transition-colors">creative</a>
<a href="fun.html" class="text-gray-500 hover:text-gray-700 transition-colors">fun</a>
</div>
</div>
</nav>
<div class="container">
<div class="left-section">
<img id="productImage" src="assets/firebender.gif" alt="firebender">
</div>
<div class="right-section">
<h1><span class="project-label">Halo | </span> <span class="project-name">Firebender</span></h1>
<h2 class="text-xl font-semibold">Punch-activated flamethrower.</h2>
<h2 class="text-orange-600 font-semibold">Inspired by Avatar: The Last Airbender.</h2>
<p>Publicity stunt for the startup Halo where I worked Summer 2025</p>
<p><small>*Disclaimer: this was sold as a consumer device in a limited run.</small></p>
<!-- <div class="signup-form">
<h3>Get Project Updates</h3>
<form name="submit-to-google-sheet">
<input type="email" name="email" placeholder="Enter your email" required>
<button type="submit">Sign Up</button>
</form>
<div class="learn-more-btn-wrapper">
<a href="#learn-more" class="learn-more-btn">Learn More</a>
</div>
</div> -->
</div>
</div>
<div class="learn-more-section" id="learn-more">
<h2>Features</h2>
<div class="features-grid">
<div class="feature">
<h3>Industrial Design</h3>
<p>The 3D-printed PETG parts were designed mainly by in Fusion 360. Inspired by the Portal Gun aesthetic from
Valve.</p>
<video src="assets/firebender.mp4" autoplay muted loop playsinline webkit-playsinline preload="metadata"
class="w-full h-auto rounded-lg object-cover" style="aspect-ratio: 4/3;">
Your browser does not support the video tag.
</video>
<p>Render made by me in Light Tracer.</p>
<p> While similar to prior attempts by people to make something similar (eg. Allen Pan), this version
was intended to have a limited consumer run and was therefore designed more user-friendly and safe.
<br>
<br>
This was done through multiple safety mechanisms including a pressure sensors, redundant solenoids, and butane
release valves.
</p>
</div>
<div class="feature">
<h3>Is it a flamethrower?</h3>
<p>Technically, yes it's a punch-activated flamethrower aiming to give one a sense of firebending.</p>
<video src="assets/firebenderwill.mp4" autoplay muted loop playsinline webkit-playsinline preload="metadata"
class="w-full h-auto rounded-lg object-cover" style="aspect-ratio: 4/3;">
Your browser does not support the video tag.
</video>
<p>Legally though, because the flames are less than 10ft, it's an arm-mounted extendable camping
stove.</strong>.</p>
<img src="assets/fireboard.png" alt="fire whiteboard">
</div>
<div class="feature">
<h3>Electrical System</h3>
<p>The system ran off of a XIAO NRF52840 BLE Sense, Relays, Arc Lighter, Solenoids, and Butane.</p>
<p>Shoutout also to <a class="font-semibold text-orange-600" href="https://www.linkedin.com/in/cael-fitch"
target="_blank" rel="noopener noreferrer">Cael</a>, my fellow intern and collaborator in this project.</p>
<img src="assets/firecael.png" alt="cael fitch the goat">
<img src="assets/firepcb.png" alt="fire electronics">
</div>
</div>
</div>
<div class="video-section alt-bg">
<h2>Video</h2>
<div style="display: flex; justify-content: center; margin: 2rem 0;">
<blockquote class="twitter-tweet" data-media-max-width="560">
<p lang="en" dir="ltr">firebender by <a href="https://twitter.com/HaloInSF?ref_src=twsrc%5Etfw">@HaloInSF</a>
<br><br>tag your favorite x user, to win one for free.<br><br>3 for sale. 1 free. <a
href="https://t.co/cZnHhOhXDH">pic.twitter.com/cZnHhOhXDH</a>
</p>— AnhPhu Nguyen (@AnhPhuNguyen1) <a
href="https://twitter.com/AnhPhuNguyen1/status/1950644225126826370?ref_src=twsrc%5Etfw">July 30, 2025</a>
</blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
</div>
<footer>
<p>© 2026 Peter He. All rights reserved.</p>
</footer>
<script>
var prevScrollpos = window.pageYOffset;
window.onscroll = function () {
var currentScrollPos = window.pageYOffset;
var navbar = document.getElementById("navbar");
if (prevScrollpos > currentScrollPos) {
navbar.style.top = "0px";
} else {
if (currentScrollPos > 0) {
navbar.style.top = "-70px";
}
}
prevScrollpos = currentScrollPos;
};
const scriptURL = 'https://script.google.com/macros/s/AKfycbyzlpNLFMZq1zfFDMHJgLPikyZ9DGgqpLeJQ90CcehYQYancpuzLTBxkJM7x4MfsAzNcg/exec';
const form = document.forms['submit-to-google-sheet'];
form.addEventListener('submit', e => {
e.preventDefault();
fetch(scriptURL, { method: 'POST', body: new FormData(form) })
.then(response => {
alert('Thank you for signing up for my project updates!');
form.reset();
})
.catch(error => {
alert('There was an error. Please try again.');
console.error('Error!', error.message);
});
});
</script>
</body>
</html>