Skip to content

Commit f14bd32

Browse files
unhappychoiceclaude
andcommitted
fix(weather): thicken fog sprite bands for half-block readability
The original SPRITE_FOG used 1-pixel-row bands; under media_pixel's half-block packing each cell ended up as `fg=fog / bg=transparent`, so the sprite read as a faint pinstripe instead of fog. Bands are now two pixel rows thick so each one packs into a single solid cell, with varied horizontal indents giving a drifting feel. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
1 parent 792cdbd commit f14bd32

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

‎src/fetcher/weather/sprites.rs‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -246,23 +246,25 @@ const SPRITE_OVERCAST: &[&str] = &[
246246
"................",
247247
];
248248

249+
// Bands are two pixel rows thick so each one packs into a single half-block cell as solid
250+
// fog rather than a fg/bg pinstripe. Horizontal indent varies per band for a drifting feel.
249251
const SPRITE_FOG: &[&str] = &[
250252
"................",
251253
"................",
252-
"..ffffffffffff..",
254+
"..fffffffffff...",
255+
"..fffffffffff...",
253256
"................",
254-
".fffffffffffff..",
255-
"................",
256-
"..ffffffffffff..",
257257
"................",
258258
".fffffffffffff..",
259+
".fffffffffffff..",
259260
"................",
260-
"..ffffffffffff..",
261261
"................",
262-
".fffffffffffff..",
262+
"...fffffffffff..",
263+
"...fffffffffff..",
263264
"................",
264-
"..ffffffffffff..",
265265
"................",
266+
".fffffffffffff..",
267+
".fffffffffffff..",
266268
];
267269

268270
const SPRITE_RAIN: &[&str] = &[

0 commit comments

Comments
 (0)