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
 
 
 
 
 
 
 
757e972
 
089fd06
 
 
 
 
 
757e972
089fd06
 
 
 
 
757e972
 
089fd06
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4cbb336
089fd06
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46d5d48
089fd06
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46d5d48
 
 
089fd06
 
 
af5b8e0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
089fd06
af5b8e0
 
 
 
 
 
 
 
 
089fd06
af5b8e0
 
 
 
089fd06
 
 
af5b8e0
089fd06
 
 
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
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Feeling Machine - Expressive emotions for Reachy Mini</title>
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
  <style>
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --background: hsl(220, 13%, 8%);
      --foreground: hsl(210, 40%, 98%);
      --card: hsl(220, 13%, 12%);
      --card-foreground: hsl(210, 40%, 98%);
      --primary: hsl(36, 100%, 50%);
      --primary-foreground: hsl(0, 0%, 100%);
      --muted: hsl(220, 13%, 18%);
      --muted-foreground: hsl(215, 16%, 60%);
      --border: hsl(220, 13%, 20%);
      --radius: 0.5rem;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background-color: var(--background);
      color: var(--foreground);
      line-height: 1.6;
      min-height: 100vh;
    }

    .container {
      max-width: 72rem;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    /* Hero Section */
    .hero {
      padding: 4rem 0;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 3rem;
      align-items: center;
    }

    @media (min-width: 768px) {
      .hero-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    .hero-visual {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 2rem;
    }

    .pad-cube {
      width: 280px;
      height: 280px;
      background: linear-gradient(135deg, #9B59B6 0%, #3498DB 100%);
      border-radius: 1rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      color: white;
      box-shadow: 0 25px 50px -12px rgba(155, 89, 182, 0.4);
    }

    .pad-cube .emoji {
      font-size: 5rem;
      margin-bottom: 1rem;
    }

    .pad-cube .axes {
      font-size: 0.9rem;
      opacity: 0.9;
      text-align: center;
    }

    .hero-content {
      text-align: left;
    }

    .hero-title-wrapper {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      margin-bottom: 1.5rem;
    }

    .hero-emoji {
      font-size: 3.75rem;
    }

    .hero-title {
      font-size: 3rem;
      font-weight: 700;
      color: var(--foreground);
    }

    .tags {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.5rem;
      margin-bottom: 1.5rem;
    }

    .tag {
      display: inline-flex;
      align-items: center;
      padding: 0.25rem 0.75rem;
      font-size: 0.75rem;
      font-weight: 500;
      border-radius: 9999px;
      background-color: rgba(155, 89, 182, 0.15);
      color: var(--primary);
    }

    .hero-description {
      font-size: 1.125rem;
      color: var(--muted-foreground);
      max-width: 600px;
      margin: 0 auto;
    }

    .hero-description strong {
      color: var(--foreground);
    }

    /* Technical Section */
    .technical {
      padding: 4rem 0;
      background-color: var(--card);
    }

    .technical-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 4rem;
      align-items: flex-start;
    }

    @media (min-width: 768px) {
      .technical-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    .technical h2 {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--foreground);
      margin-bottom: 1rem;
      margin-top: 2rem;
    }

    .technical h2:first-child {
      margin-top: 0;
    }

    .steps {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .step {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      color: var(--muted-foreground);
    }

    .step-number {
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 1.75rem;
      height: 1.75rem;
      border-radius: 9999px;
      background-color: var(--primary);
      color: white;
      font-size: 0.875rem;
      font-weight: 600;
    }

    .step-content {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
    }

    .step-title {
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--foreground);
    }

    .step-body {
      font-size: 0.875rem;
      color: var(--muted-foreground);
    }

    .step-body a {
      color: var(--muted-foreground);
      text-decoration: underline;
      transition: color 0.2s;
    }

    .step-body a:hover {
      color: var(--primary);
    }

    .pad-explanation {
      background: linear-gradient(135deg, rgba(155, 89, 182, 0.1) 0%, rgba(52, 152, 219, 0.1) 100%);
      border-radius: 0.75rem;
      padding: 1.5rem;
    }

    .pad-explanation h3 {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 1rem;
      color: var(--foreground);
    }

    .pad-axis {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 0.75rem;
      font-size: 0.9rem;
    }

    .pad-axis:last-child {
      margin-bottom: 0;
    }

    .axis-label {
      font-weight: 600;
      color: var(--primary);
      min-width: 100px;
    }

    .axis-desc {
      color: var(--muted-foreground);
    }

    /* Footer */
    footer {
      border-top: 1px solid var(--border);
      padding: 3rem 0;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
      margin-bottom: 2rem;
    }
    @media (min-width: 768px) {
      .footer-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }
    .footer-column {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .author-section {
      display: flex;
      align-items: center;
      gap: 1.25rem;
    }
    .author-link {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      text-decoration: none;
      color: inherit;
    }
    .author-link:hover .author-name {
      color: var(--primary);
    }
    .author-link:hover .author-avatar {
      border-color: var(--primary);
    }
    .author-avatar {
      width: 3.5rem;
      height: 3.5rem;
      border-radius: 9999px;
      border: 2px solid white;
      transition: border-color 0.2s;
    }
    .author-intro {
      font-size: 0.875rem;
      color: var(--muted-foreground);
    }
    .author-name {
      font-size: 1.125rem;
      font-weight: 600;
      transition: color 0.2s;
    }
    .follow-btn {
      display: inline-flex;
      align-items: center;
      padding: 0.375rem 0.75rem;
      font-size: 0.75rem;
      font-weight: 500;
      border-radius: 9999px;
      border: 1px solid var(--border);
      background-color: var(--card);
      color: var(--foreground);
      text-decoration: none;
      transition: background-color 0.2s;
    }
    .follow-btn:hover {
      background-color: var(--muted);
    }
    .social-links {
      display: flex;
      gap: 0.75rem;
    }
    .social-link {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 2.25rem;
      height: 2.25rem;
      border-radius: 9999px;
      background-color: var(--muted);
      color: var(--muted-foreground);
      text-decoration: none;
      transition: all 0.2s;
    }
    .social-link:hover {
      background-color: var(--primary);
      color: var(--primary-foreground);
    }
    .social-link svg {
      width: 1.25rem;
      height: 1.25rem;
    }
    .footer-title {
      font-size: 0.875rem;
      font-weight: 600;
    }
    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
    .footer-link {
      font-size: 0.875rem;
      color: var(--muted-foreground);
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-link:hover {
      color: var(--primary);
    }
    .credits-text {
      font-size: 0.875rem;
      color: var(--muted-foreground);
    }
    .credits-text a {
      color: var(--muted-foreground);
      text-decoration: none;
      transition: color 0.2s;
    }
    .credits-text a:hover {
      color: var(--primary);
    }
  </style>
</head>
<body>

  <!-- Hero Section -->
  <section class="hero">
    <div class="container">
      <div class="hero-grid">
        <div class="hero-visual">
          <div class="pad-cube">
            <span class="emoji">🎭</span>
            <div class="axes">
              P · A · D<br>
              Pleasure · Arousal · Dominance
            </div>
          </div>
        </div>

        <div class="hero-content">
          <div class="hero-title-wrapper">
            <h1 class="hero-title">Feeling Machine</h1>
          </div>

          <div class="tags">
            <span class="tag">emotions</span>
            <span class="tag">procedural</span>
            <span class="tag">PAD model</span>
            <span class="tag">no speech</span>
          </div>

          <p class="hero-description">
            <strong>Expressive robot that communicates through emotions only.</strong><br>
            Reachy Mini listens to you and responds with procedurally-generated motion and sound based on the PAD emotional model. No speech, just pure expression.
          </p>
        </div>
      </div>
    </div>
  </section>

  <!-- Technical Section -->
  <section class="technical">
    <div class="container">
      <div class="technical-grid">
        <div>
          <h2>How it works</h2>
          <ol class="steps">
            <li class="step">
              <span class="step-number">1</span>
              <div class="step-content">
                <div class="step-title">Connect & Launch</div>
                <div class="step-body">
                  Connect to your Reachy Mini, navigate to "Applications", find "Feeling Machine" and click "Launch" (make sure you have the <a href="https://hf.co/reachy-mini/#download" target="_blank" rel="noreferrer">dashboard</a> installed).
                </div>
              </div>
            </li>
            <li class="step">
              <span class="step-number">2</span>
              <div class="step-content">
                <div class="step-title">Talk naturally</div>
                <div class="step-body">Speak to the robot like you would to a friend. Tell jokes, share good or bad news, ask questions, or just say hello. <strong>The robot won't talk back</strong> - it only expresses emotions.</div>
              </div>
            </li>
            <li class="step">
              <span class="step-number">3</span>
              <div class="step-content">
                <div class="step-title">Watch it react</div>
                <div class="step-body">The AI interprets what you say and responds with expressive body language and procedurally-generated sounds. Each reaction is unique!</div>
              </div>
            </li>
            <li class="step">
              <span class="step-number">4</span>
              <div class="step-content">
                <div class="step-title">Try classic emotions</div>
                <div class="step-body">Say <strong>"play classic emotion"</strong> or <strong>"show me classic joy"</strong> to use pre-recorded animations from the Pollen library instead of procedural ones.</div>
              </div>
            </li>
          </ol>

          <h2>Installation (local)</h2>
          <ol class="steps">
            <li class="step">
              <span class="step-number">1</span>
              <div class="step-content">
                <div class="step-title">Clone & install</div>
                <div class="step-body">
                  <code>git clone https://huggingface.co/spaces/RemiFabre/feeling_machine</code><br>
                  <code>cd feeling_machine && uv sync</code>
                </div>
              </div>
            </li>
            <li class="step">
              <span class="step-number">2</span>
              <div class="step-content">
                <div class="step-title">Run the app</div>
                <div class="step-body">
                  <code>cd src/feeling_machine && python main.py --gradio</code><br>
                  Then open <strong>http://127.0.0.1:7860/</strong> or <strong>http://127.0.0.1:7861/</strong>
                </div>
              </div>
            </li>
          </ol>
        </div>

        <div>
          <h2>The PAD Model</h2>
          <p style="color: var(--muted-foreground); margin-bottom: 1rem; font-size: 0.9rem;">
            Instead of playing pre-recorded animations, Feeling Machine generates unique expressive movements on-the-fly using the <strong>PAD emotional model</strong> - a psychological framework that represents emotions in a 3D space.
          </p>

          <div class="pad-explanation">
            <h3>Three dimensions of emotion</h3>
            <div class="pad-axis">
              <span class="axis-label">Pleasure</span>
              <span class="axis-desc">Positive (+1) ↔ Negative (-1)</span>
            </div>
            <div class="pad-axis">
              <span class="axis-label">Arousal</span>
              <span class="axis-desc">Excited (+1) ↔ Calm (-1)</span>
            </div>
            <div class="pad-axis">
              <span class="axis-label">Dominance</span>
              <span class="axis-desc">In control (+1) ↔ Submissive (-1)</span>
            </div>
          </div>

          <h2>Why procedural generation?</h2>
          <p style="color: var(--muted-foreground); margin-bottom: 1rem; font-size: 0.9rem;">
            Pre-recorded emotions look the same every time. Procedural generation creates <strong>infinite variations</strong> - each expression is unique while staying emotionally consistent.
          </p>
          <p style="color: var(--muted-foreground); font-size: 0.9rem;">
            The PAD values control head movement amplitude, speed, antenna positions, and sound characteristics. Joy produces quick, bouncy movements with high-pitched sounds. Sadness creates slow, drooping motions with lower tones.
          </p>

          <h2>Named emotions available</h2>
          <p style="color: var(--muted-foreground); font-size: 0.9rem;">
            <strong>joy</strong>, <strong>happiness</strong>, <strong>anger</strong>, <strong>fear</strong>, <strong>sadness</strong>, <strong>surprise</strong>, <strong>boredom</strong>, <strong>uncertainty</strong>, <strong>disgust</strong>, <strong>neutral</strong>
          </p>
          <p style="color: var(--muted-foreground); margin-top: 0.5rem; font-size: 0.85rem;">
            Or the AI can specify custom P/A/D values for nuanced emotional expressions.
          </p>
        </div>
      </div>
    </div>
  </section>

  <!-- Footer -->
    <footer>
      <div class="container">
        <div class="footer-grid">
          <!-- Author -->
          <div class="footer-column">
            <div class="author-section">
              <a href="https://huggingface.co/RemiFabre" target="_blank" rel="noopener noreferrer" class="author-link">
                <img src="https://cdn-avatars.huggingface.co/v1/production/uploads/noauth/AkX9RbZqzzQlz797iJeqL.jpeg" alt="RemiFabre" class="author-avatar">
                <div>
                  <p class="author-intro">Hey, I'm</p>
                  <p class="author-name">RemiFabre</p>
                </div>
              </a>
              <a href="https://huggingface.co/RemiFabre" target="_blank" rel="noopener noreferrer" class="follow-btn">Follow</a>
            </div>
            <div class="social-links">
              <a href="https://twitter.com/RemiFabreRobot" target="_blank" rel="noopener noreferrer" aria-label="Twitter" class="social-link">
                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z"></path></svg>
              </a>
              <a href="https://github.com/RemiFabre" target="_blank" rel="noopener noreferrer" aria-label="GitHub" class="social-link">
                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"></path><path d="M9 18c-4.51 2-5-2-7-2"></path></svg>
              </a>
              <a href="https://www.linkedin.com/in/remifabre" target="_blank" rel="noopener noreferrer" aria-label="LinkedIn" class="social-link">
                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"></path><rect width="4" height="12" x="2" y="9"></rect><circle cx="4" cy="4" r="2"></circle></svg>
              </a>
            </div>
          </div>

          <!-- Resources -->
          <div class="footer-column">
            <h4 class="footer-title">Resources</h4>
            <ul class="footer-links">
              <li><a href="https://huggingface.co/docs/reachy_mini/index" target="_blank" rel="noopener noreferrer" class="footer-link">Read the documentation & FAQ</a></li>
              <li><a href="https://hf.co/reachy-mini/#apps" target="_blank" rel="noopener noreferrer" class="footer-link">Browse other apps</a></li>
              <li><a href="https://huggingface.co/blog/pollen-robotics/make-and-publish-your-reachy-mini-apps" target="_blank" rel="noopener noreferrer" class="footer-link">Make your own app</a></li>
            </ul>
          </div>

          <!-- Credits -->
          <div class="footer-column">
            <h4 class="footer-title">Credits</h4>
            <p class="credits-text">PAD-based motion and sound generation by <strong>Anaelle Jaffré</strong>, from the <a href="https://github.com/InTheSnow31/reachy-mini-I3R/blob/main/src/movement_sound_generation/README.md" target="_blank" rel="noopener noreferrer"><u>I3R student project</u></a>.</p>
          </div>
        </div>
      </div>
    </footer>

</body>
</html>