Commit Graph

4 Commits

Author SHA1 Message Date
Schuwi
ac9f9da3c4 Fix green bar at bottom of map caused by off-by-one in map height
map_h was subtracting MARGIN twice but the map_area only has a single
bottom margin, leaving the last 8 rows of the land background unrendered.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-06 22:57:05 +01:00
Schuwi
ee9b039d56 Improve rendering: barycentric interpolation, Gaussian blur, white-cloud palette
Replace nearest-neighbour BFS flood fill with Delaunay triangulation
(spade) + barycentric interpolation for smooth cloud boundaries.
Add NaN-aware separable Gaussian blur (σ=8 px, rayon-parallelised) to
remove triangulation facets. Switch colour scheme from blue bands to a
continuous green-to-white opacity blend matching the DWD app style.
Pixel interpolation loop is also parallelised with rayon.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-06 22:19:46 +01:00
Schuwi
4ee33a882d Flood fill to improve performance 2026-03-06 21:41:16 +01:00
Schuwi
6c9a20bf59 Initial commit 2026-03-03 23:26:05 +01:00