devilyouwei commited on
Commit
ef00fbb
·
verified ·
1 Parent(s): fab155d

Compact organization card and trim game demos

Browse files
index.html CHANGED
@@ -3,67 +3,83 @@
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:20px; grid-template-columns:repeat(3,minmax(0,1fr)); }
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:20px 22px 24px; }
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(24px,2.4vw,34px); 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:900px) { .demos { grid-template-columns:1fr; } }
32
- @media (max-width:640px) { header { padding-top:44px; } header,main,footer { width:calc(100% - 24px); } .copy { padding:20px; } article { border-radius:18px; } }
33
  </style>
34
  </head>
35
  <body>
36
  <header>
37
- <div class="eyebrow">Hugging Mac · Apple Silicon</div>
38
- <h1>Play with<br>local intelligence.</h1>
39
- <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>
 
 
40
  <nav aria-label="Project links">
41
  <a href="https://github.com/devilyouwei/hugging-mac">View on GitHub</a>
42
  <a href="https://huggingface.co/hugging-mac">Explore models</a>
43
  </nav>
44
  </header>
45
 
46
- <main class="demos">
 
 
47
  <article id="pose-follow">
48
  <video controls playsinline preload="metadata" poster="https://hugging-mac-readme.static.hf.space/posters/pose-follow.png">
49
  <source src="https://hugging-mac-readme.static.hf.space/videos/pose-follow.mp4" type="video/mp4">
50
  </video>
51
- <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>
52
  </article>
53
 
54
  <article id="fruit-slice">
55
  <video controls playsinline preload="metadata" poster="https://hugging-mac-readme.static.hf.space/posters/fruit-slice.png">
56
  <source src="https://hugging-mac-readme.static.hf.space/videos/fruit-slice.mp4" type="video/mp4">
57
  </video>
58
- <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>
59
  </article>
60
 
61
  <article id="palm-thunder">
62
  <video controls playsinline preload="metadata" poster="https://hugging-mac-readme.static.hf.space/posters/palm-thunder.png">
63
  <source src="https://hugging-mac-readme.static.hf.space/videos/palm-thunder.mp4" type="video/mp4">
64
  </video>
65
- <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>
66
  </article>
 
 
 
 
 
 
67
  </main>
68
 
69
  <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>
 
3
  <head>
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <meta name="description" content="Run AI models and build local applications on Apple Silicon with Hugging Mac.">
7
+ <title>Hugging Mac · Local AI on Apple Silicon</title>
8
  <style>
9
+ :root { color-scheme:dark; --bg:#090d14; --panel:#111722; --line:#273142; --text:#f5f7fb; --muted:#9ba6b8; --blue:#51adff; }
10
  * { box-sizing:border-box; }
11
  html { scroll-behavior:smooth; }
12
+ body { background:radial-gradient(circle at 85% 0,#142640 0,transparent 25rem),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% - 36px); }
15
+ header { align-items:end; display:grid; gap:20px; grid-template-columns:1fr auto; padding:34px 0 24px; }
16
+ .eyebrow { color:var(--blue); font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.14em; text-transform:uppercase; }
17
+ h1 { font-size:clamp(34px,5vw,58px); letter-spacing:-.055em; line-height:1; margin:9px 0 12px; }
18
+ header p { color:var(--muted); font-size:15px; line-height:1.55; margin:0; max-width:720px; }
19
+ nav { display:flex; flex-wrap:wrap; gap:8px; }
20
+ nav a { border:1px solid var(--line); border-radius:999px; font-size:13px; padding:8px 13px; text-decoration:none; white-space:nowrap; }
21
  nav a:first-child { background:var(--text); color:var(--bg); }
22
+ .section-label { color:var(--muted); font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.14em; margin:0 0 10px; text-transform:uppercase; }
23
+ .demos { display:grid; gap:14px; grid-template-columns:repeat(3,minmax(0,1fr)); }
24
+ article { background:color-mix(in srgb,var(--panel) 92%,transparent); border:1px solid var(--line); border-radius:16px; overflow:hidden; scroll-margin-top:24px; }
25
  video { aspect-ratio:16/9; background:#000; display:block; object-fit:contain; width:100%; }
26
+ .copy { padding:13px 15px 15px; }
27
+ .copy span { color:var(--blue); font:700 9px ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing:.1em; text-transform:uppercase; }
28
+ h2 { font-size:20px; letter-spacing:-.035em; margin:5px 0 5px; }
29
+ .copy p { color:var(--muted); font-size:12px; line-height:1.5; margin:0; }
30
+ .about { align-items:start; border-bottom:1px solid var(--line); border-top:1px solid var(--line); display:grid; gap:24px; grid-template-columns:1.35fr 1fr; margin-top:24px; padding:22px 0; }
31
+ .about h2 { font-size:24px; margin:0 0 7px; }
32
+ .about p { color:var(--muted); font-size:13px; line-height:1.6; margin:0; }
33
+ .capabilities { display:flex; flex-wrap:wrap; gap:7px; }
34
+ .capabilities span { background:var(--panel); border:1px solid var(--line); border-radius:999px; color:var(--muted); font-size:11px; padding:6px 9px; }
35
+ footer { color:var(--muted); display:flex; flex-wrap:wrap; font-size:12px; gap:16px; justify-content:space-between; padding:18px 0 28px; }
36
  footer a { color:var(--text); }
37
+ @media (max-width:760px) { header { align-items:start; grid-template-columns:1fr; } .demos { grid-template-columns:1fr; } .about { grid-template-columns:1fr; } }
38
+ @media (max-width:640px) { header { padding-top:26px; } header,main,footer { width:calc(100% - 24px); } }
39
  </style>
40
  </head>
41
  <body>
42
  <header>
43
+ <div>
44
+ <div class="eyebrow">Hugging Mac · Apple Silicon</div>
45
+ <h1>Local AI, built on your Mac.</h1>
46
+ <p>Run optimized models across CPU, GPU, and the Apple Neural Engine—then combine their capabilities into private, responsive applications, games, services, and agents.</p>
47
+ </div>
48
  <nav aria-label="Project links">
49
  <a href="https://github.com/devilyouwei/hugging-mac">View on GitHub</a>
50
  <a href="https://huggingface.co/hugging-mac">Explore models</a>
51
  </nav>
52
  </header>
53
 
54
+ <main>
55
+ <div class="section-label">Neural game demos · No controller · No cloud</div>
56
+ <section class="demos">
57
  <article id="pose-follow">
58
  <video controls playsinline preload="metadata" poster="https://hugging-mac-readme.static.hf.space/posters/pose-follow.png">
59
  <source src="https://hugging-mac-readme.static.hf.space/videos/pose-follow.mp4" type="video/mp4">
60
  </video>
61
+ <div class="copy"><span>YOLOv8 Pose</span><h2>Pose Follow</h2><p>Match body poses and gestures in real time.</p></div>
62
  </article>
63
 
64
  <article id="fruit-slice">
65
  <video controls playsinline preload="metadata" poster="https://hugging-mac-readme.static.hf.space/posters/fruit-slice.png">
66
  <source src="https://hugging-mac-readme.static.hf.space/videos/fruit-slice.mp4" type="video/mp4">
67
  </video>
68
+ <div class="copy"><span>YOLOv8 Pose</span><h2>Fruit Slice</h2><p>Turn your arms into blades and build combos.</p></div>
69
  </article>
70
 
71
  <article id="palm-thunder">
72
  <video controls playsinline preload="metadata" poster="https://hugging-mac-readme.static.hf.space/posters/palm-thunder.png">
73
  <source src="https://hugging-mac-readme.static.hf.space/videos/palm-thunder.mp4" type="video/mp4">
74
  </video>
75
+ <div class="copy"><span>MediaPipe Hand</span><h2>Palm Thunder</h2><p>Fly, fire, and trigger bombs with your hands.</p></div>
76
  </article>
77
+ </section>
78
+
79
+ <section class="about">
80
+ <div><h2>Models ready to build with.</h2><p>Hugging Mac provides ready-to-use and optimized local models for Apple Silicon, removing conversion and integration work so developers can focus on what they want to create.</p></div>
81
+ <div class="capabilities" aria-label="Supported AI capabilities"><span>LLM &amp; Multimodal</span><span>Speech Recognition</span><span>Text-to-Speech</span><span>Object Detection</span><span>Pose &amp; Segmentation</span><span>Face &amp; Hand</span></div>
82
+ </section>
83
  </main>
84
 
85
  <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>
videos/fruit-slice.mp4 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:729899e09826da40c23bb8ace01e179719f49c4a1780d72fb846f2f5716c0471
3
- size 4402967
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6fd49641bc3203403ca4fd138dd6d6d138a8776e4f0b21722dbfeb3ffc417ad
3
+ size 3919611
videos/palm-thunder.mp4 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:39c66e41810024a8927c22fe27493a2df85c0eb158f046ce4428617933a0a870
3
- size 9346477
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53e41b2163c535c67969cb9ee27c6fc10b7c6c8ad677f63fa0de910794e9eb3a
3
+ size 2292372
videos/pose-follow.mp4 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2d41bf9b6c67cfda0d303ecee8a8492b76bbcfd9139248424ba12db4b7f57049
3
- size 2721162
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da4ed356f0387b590c50c8b21880fc8edc11e6dedf06b28ca2e2022db01c4007
3
+ size 2249913