From 4cc85e59d7b3f53f4eec897f022bc4bcb643f185 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 15 Oct 2026 11:03:48 +0200 Subject: feat(window-switcher): gravity pulls the scatter toward the centre On screen the spiral alone read as loose: separation keeps the spiral's gaps, and the previews filled 24 to 30% of the screen. Thirty rounds now pull every window 15% closer to the centre and push them apart again, which fills 35 to 55% and makes each preview up to 1.5x larger. Twenty windows lay out in about 4ms. Co-Authored-By: Claude Opus 5.5 --- docs/superpowers/specs/2026-10-15-expose-design.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs/superpowers/specs/2026-10-15-expose-design.md') diff --git a/docs/superpowers/specs/2026-10-15-expose-design.md b/docs/superpowers/specs/2026-10-15-expose-design.md index cc4eac9..488ab6a 100644 --- a/docs/superpowers/specs/2026-10-15-expose-design.md +++ b/docs/superpowers/specs/2026-10-15-expose-design.md @@ -78,7 +78,10 @@ pointer stops there. width or height. Compared in raw pixels, wide windows always separate vertically and stack into a column. Stops when a pass moves nothing, or after 300 passes. -3. **Fit.** One uniform scale fits the bounding box into 92% of W by H, +3. **Gravity.** Added after the first look on screen, where the scatter read + as loose: thirty rounds each pull every rect 15% closer to the centre and + separate again. Fill went from 24-30% of the screen to 35-55%. +4. **Fit.** One uniform scale fits the bounding box into 92% of W by H, capped at 0.5 so a lone window is not a full-screen mirror, and the result is centred. A uniform scale keeps rects apart and keeps their sizes relative to each other. -- cgit v1.2.3