代码仓库美术馆
Git Gallery,William Welsh (usr-wwelsh),2026 年

正在布展…
它是怎么做的
- 第 1 步通过 GitHub API 拉取用户仓库列表与贡献数据
- 第 2 步按仓库程序化生成房间与门户,进入时再懒加载 README 面板
- 第 3 步PointerLockControls + WASD 第一人称移动,手机用虚拟摇杆
- 第 4 步URL hash(#room/xxx)与相机位置双向同步
复刻配方
一段技术配方,可以直接交给 AI 编程助手,也可以自己照着写。想指定技术栈、位置和性能预算,就把它加入实现方案。
Fetch a list of items (repos, projects) from an API and lay them out as rooms along a corridor, computing room positions procedurally from the index. Render each item's text onto a CanvasTexture and map it onto a wall plane, loading it lazily when the player enters the room's bounding box. Use pointer-lock first-person controls with simple AABB wall collision. Sync the current room to location.hash so rooms are deep-linkable, and teleport the camera when the hash changes.


