How I put a physics-simulated cloth rug on my Mac desktop
说明与用途
Desk Rug 在 macOS 桌面上叠加物理模拟的布料地毯,隐藏图标但保持可访问性,支持热键控制,具有逼真的动态效果和低 CPU 占用。
问题
The author’s desktop was cluttered and wanted a way to cover icons without hiding them, providing a visual and interactive solution.
结果
Desk Rug provides a realistic, low‑CPU physics‑based cloth overlay that hides desktop icons while keeping them accessible, with hotkey control, scheduling, and per‑Space profiles.
工作流
- Install Desk Rug from the provided download link.
- Open the app (right‑click → Open if not notarized).
- Use the global hotkey (⌃⌥⌘R) to sweep icons under the rug or restore them.
- Configure per‑Space profiles or schedules if desired.
- Adjust cloth parameters via environment variables for fine‑tuning.
- Use the app’s UI to select different rugs or floors.
证据
Desk Rug is a small native macOS app that puts a live, physics-simulated cloth rug on your desktop.
The rug is a grid of vertices simulated with XPBD (substepped, in the style of Ten Minute Physics' cloth), not a pre-baked animation.
All shaders are MSL compiled at runtime from a source string — no Metal toolchain or precompiled bundle needed, which keeps the app a single thin binary.
No accounts, no analytics, no network calls, no screen-recording permission. The app moves files through Finder on your machine and never sends anything anywhere.
- 记录日期: 2026-10-10T19:11:01.610Z