用于 Meta Ray-Ban 显示屏的开源 React UI 和方向键焦点引擎
Open-source React UI and D-pad focus engine for Meta Ray-Ban Display

原始链接: https://glasskit.app/ui

01 / 组件 44 个 HUD 作业:读取信息、列表、计时器、通讯和启动界面,外加 WatchKit 无法实现的各类空间锚定元素(指向箭头、指南针、图钉)。高级视觉效果专为 600×600 镜头调优,确保画面清晰,绝无模糊失真。 02 / 输入 空间焦点引擎:通过方向键和神经束(Neural Band)将焦点环移动至最近的目标,这是对 Meta 原生 `.focusable` 的功能扩展,专为 600×600 镜头调优。同一套代码可在桌面端与眼镜端无缝运行。 03 / 归你所有 代码入库,拒绝锁定:使用单条命令 `@glasskit-ui/cli add` 即可将源码植入你的项目中,完全由你掌控。SDK 通过 npm 提供底层钩子(hooks)、视口(viewport)和焦点引擎。

Hacker News最新 | 过往 | 评论 | 提问 | 展示 | 招聘 | 提交登录面向 Meta Ray-Ban 显示屏的开源 React UI 和 D-pad 焦点引擎 (glasskit.app)由 Jeries 于 1 小时前发布,6 点 | 隐藏 | 过往 | 收藏 | 讨论帮助 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

01 / Components

44, every HUD job

Readouts, lists, timers, comms and launch screens, plus the world-anchored set (DirectionArrow, Compass, Pin) a watch kit can't do. Premium surfaces tuned for a 600×600 lens, never washed-out blur.

02 / Input

Spatial focus engine

Arrow keys and the Neural Band move a focus ring to the nearest target, a superset of Meta's .focusable, tuned for a 600×600 lens. The same code runs on your desk and on the glasses.

03 / Yours to own

Copy in, no lock-in

Vendor the source with one command, @glasskit-ui/cli add, straight into your project, yours to edit. The SDK ships the hooks, viewport and focus engine from npm.

联系我们 contact @ memedata.com