devilyouwei commited on
Commit
7d160e1
·
verified ·
1 Parent(s): a407800

Add neural game demo gallery

Browse files
.gitattributes CHANGED
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
37
+ posters/fruit-slice.png filter=lfs diff=lfs merge=lfs -text
38
+ posters/palm-thunder.png filter=lfs diff=lfs merge=lfs -text
39
+ posters/pose-follow.png filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -24,6 +24,22 @@ Explore models for:
24
 
25
  Want to see what these models can build? Download and run [Hugging Mac on GitHub](https://github.com/devilyouwei/hugging-mac) to experience local AI applications powered by Apple Silicon.
26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  **Run models locally. Keep data private. Create more with your Mac.**
28
 
29
- > You will need a Mac with Apple Silicon. A Mac mini or MacBook powered by an M-series chip is recommended.
 
24
 
25
  Want to see what these models can build? Download and run [Hugging Mac on GitHub](https://github.com/devilyouwei/hugging-mac) to experience local AI applications powered by Apple Silicon.
26
 
27
+ ## Neural game demos
28
+
29
+ No controller and no cloud video upload. These experiments turn local vision
30
+ model output into real-time game input on Apple Silicon.
31
+
32
+ | Yolo Pose Follow | Yolo Fruit Slice | Palm Thunder |
33
+ | :---: | :---: | :---: |
34
+ | [![Yolo Pose Follow](posters/pose-follow.png)](https://hugging-mac-readme.hf.space/#pose-follow) | [![Yolo Fruit Slice](posters/fruit-slice.png)](https://hugging-mac-readme.hf.space/#fruit-slice) | [![Palm Thunder](posters/palm-thunder.png)](https://hugging-mac-readme.hf.space/#palm-thunder) |
35
+ | Match poses and gestures with YOLOv8 Pose. | Turn your forearms into blades and slice fruit. | Steer a live fighter with local hand tracking. |
36
+
37
+ **[Watch all game demos →](https://hugging-mac-readme.hf.space/)**
38
+
39
+ Have an idea for an AI-native game? Contributions are welcome across game
40
+ concepts, visual and audio assets, code, interaction design, stories, levels,
41
+ and scripts. Let us build playful games for the AI era together.
42
+
43
  **Run models locally. Keep data private. Create more with your Mac.**
44
 
45
+ > You will need a Mac with Apple Silicon. A Mac mini or MacBook powered by an M-series chip is recommended.
index.html ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <meta name="description" content="Camera-controlled neural games running locally on Apple Silicon with Hugging Mac.">
7
+ <title>Hugging Mac · Neural Game Demos</title>
8
+ <style>
9
+ :root { color-scheme: dark; --bg:#07090d; --panel:#111722; --line:#283142; --text:#f5f7fb; --muted:#9ba6b8; --blue:#39a7ff; }
10
+ * { box-sizing:border-box; }
11
+ html { scroll-behavior:smooth; }
12
+ body { background:radial-gradient(circle at 80% 0,#142640 0,transparent 32rem),var(--bg); color:var(--text); font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; margin:0; }
13
+ a { color:inherit; }
14
+ header,main,footer { margin:auto; max-width:1180px; width:calc(100% - 40px); }
15
+ header { padding:72px 0 44px; }
16
+ .eyebrow { color:var(--blue); font:700 12px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.16em; text-transform:uppercase; }
17
+ h1 { font-size:clamp(48px,8vw,96px); letter-spacing:-.07em; line-height:.9; margin:18px 0 24px; }
18
+ header p { color:var(--muted); font-size:clamp(17px,2vw,22px); line-height:1.6; max-width:760px; }
19
+ nav { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
20
+ nav a { border:1px solid var(--line); border-radius:999px; padding:10px 16px; text-decoration:none; }
21
+ nav a:first-child { background:var(--text); color:var(--bg); }
22
+ .demos { display:grid; gap:32px; }
23
+ article { background:color-mix(in srgb,var(--panel) 92%,transparent); border:1px solid var(--line); border-radius:24px; overflow:hidden; scroll-margin-top:24px; }
24
+ video { aspect-ratio:16/9; background:#000; display:block; object-fit:contain; width:100%; }
25
+ .copy { padding:24px 28px 30px; }
26
+ .copy span { color:var(--blue); font:700 11px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.12em; text-transform:uppercase; }
27
+ h2 { font-size:clamp(28px,4vw,44px); letter-spacing:-.045em; margin:8px 0 10px; }
28
+ .copy p { color:var(--muted); line-height:1.65; margin:0; max-width:760px; }
29
+ footer { color:var(--muted); display:flex; flex-wrap:wrap; gap:16px; justify-content:space-between; padding:44px 0 64px; }
30
+ footer a { color:var(--text); }
31
+ @media (max-width:640px) { header { padding-top:44px; } header,main,footer { width:calc(100% - 24px); } .copy { padding:20px; } article { border-radius:18px; } }
32
+ </style>
33
+ </head>
34
+ <body>
35
+ <header>
36
+ <div class="eyebrow">Hugging Mac · Apple Silicon</div>
37
+ <h1>Play with<br>local intelligence.</h1>
38
+ <p>No controller. No cloud video upload. These games turn live model output into real-time input, with the complete interaction loop running locally on a Mac.</p>
39
+ <nav aria-label="Project links">
40
+ <a href="https://github.com/devilyouwei/hugging-mac">View on GitHub</a>
41
+ <a href="https://huggingface.co/hugging-mac">Explore models</a>
42
+ </nav>
43
+ </header>
44
+
45
+ <main class="demos">
46
+ <article id="pose-follow">
47
+ <video controls playsinline preload="metadata" poster="posters/pose-follow.png">
48
+ <source src="videos/pose-follow.mp4" type="video/mp4">
49
+ </video>
50
+ <div class="copy"><span>YOLOv8 Pose · Body and gesture control</span><h2>Yolo Pose Follow</h2><p>Match body poses and hand gestures before the clock runs out. YOLOv8 Pose tracks your skeleton locally and scores every target in real time.</p></div>
51
+ </article>
52
+
53
+ <article id="fruit-slice">
54
+ <video controls playsinline preload="metadata" poster="posters/fruit-slice.png">
55
+ <source src="videos/fruit-slice.mp4" type="video/mp4">
56
+ </video>
57
+ <div class="copy"><span>YOLOv8 Pose · Motion control</span><h2>Yolo Fruit Slice</h2><p>Turn both forearms into blades, slice fruit, avoid bombs, and build combos using a live camera and local pose estimation.</p></div>
58
+ </article>
59
+
60
+ <article id="palm-thunder">
61
+ <video controls playsinline preload="metadata" poster="posters/palm-thunder.png">
62
+ <source src="videos/palm-thunder.mp4" type="video/mp4">
63
+ </video>
64
+ <div class="copy"><span>MediaPipe · Hand tracking</span><h2>Palm Thunder</h2><p>Steer a vertical shooter with your palm, close your fist to bomb the screen, and play solo or co-op with local hand tracking.</p></div>
65
+ </article>
66
+ </main>
67
+
68
+ <footer><span>Built with Hugging Mac. Your data stays on your machine.</span><a href="https://github.com/devilyouwei/hugging-mac">Contribute on GitHub →</a></footer>
69
+ </body>
70
+ </html>
posters/fruit-slice.png ADDED

Git LFS Details

  • SHA256: a9851228e7830fa0bc5408881ce39665237cd73000a5229c198b10a2e9a055d5
  • Pointer size: 131 Bytes
  • Size of remote file: 271 kB
posters/palm-thunder.png ADDED

Git LFS Details

  • SHA256: 8417c63845f58b47d03e01a735496617794a9e29e3ae150c6cd7575cf01dee6f
  • Pointer size: 131 Bytes
  • Size of remote file: 375 kB
posters/pose-follow.png ADDED

Git LFS Details

  • SHA256: a1a7248bc21d126fdcfce50f4cb09a1521195300a82d6edd7591c822961841da
  • Pointer size: 131 Bytes
  • Size of remote file: 334 kB
videos/fruit-slice.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ebeb26f97d1bf2f7b34fbee3282e0c1141089f1a7d4b5f993ae1782aa18eac6
3
+ size 16982265
videos/palm-thunder.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d82ba0f87d4461ccfa82fa9390a146f5316b5e87c6f5fc0b6bb4fedce1675a08
3
+ size 38946429
videos/pose-follow.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92b89362ca59f1906eaa73f02d5f0148d5ef0e86fe1fb5462c27b7ae904108a7
3
+ size 13638594