JingkaiTang/dsh-client-ui-slingshot

JingkaiTang★ 0JavaScriptLast synced: 2026-08-14

Open on GitHub

Interactive slingshot toy for the dsh web GUI: shatter UI elements, watch them tumble off screen, then recover. dsh.client plugin, zero deps.

README excerpt

弹弓玩具 · dsh slingshot toy 🪀 A playful, purely-visual toy for the dsh web GUI. A wooden slingshot lives in the bottom-right corner of the page (drag it anywhere!): 1. 拖拽瞄准 — press and hold the leather pouch, drag it backwards (Angry-Birds style). A dotted arc previews where the stone will fly. 2. 松手发射 — release to fire the stone. 3. 打碎元素 — the stone shatters the first UI element it hits: the element is cloned into shards that burst apart, and the whole wreckage tumbles off the screen under gravity. 4. 自动恢复 — once it has fallen out of the viewport, the original element pops back with a small animation. Nothing in the GUI is ever permanently damaged — html / body and the toy itself are never targeted, and the layout is preserved the whole time (the original is only visibility:hidden while its clone flies). Extra features: - 🪵 手柄拖动 — the slingshot has a leather grip handle at the bottom of the trunk (orange-brown, with grip ridges and a grab cursor). Press and drag it to move the slingshot anywhere on the screen (clamped to the viewport) — no mode toggles. The position is persisted in localStorage and restored after reload; the collapsed launcher button follows the gun. - 🔊/🔇 sound …

View full README on GitHub →
Terminal / TUIcordisdeepseek-harnessdshdsh-plugin

Category