Draw each far-zoom fire as a marker-sized heat spot

The heat raster was 2048 px wide with a 3 px blur, so every fire spread
over ~200 km and the far-zoom map read as clouds next to the markers.
Double the grid to ~10 km per pixel and blur by one pixel: a lone fire
is now a spot about as wide as its marker at the 3,000 km hand-off.
This commit is contained in:
German Khokhlov committed 2026-11-02 22:43:51 +04:00
1 parent 314292a006
commit ad171f2854
4 files changed
+37 -8

No files matched your search

+8 -5
View File
@@ -49,14 +49,17 @@ export const LOD_LEVELS = [
];
/**
* Global heat raster for the `heat` bands: ≈0.18° per pixel, Gaussian σ in
* pixels. Built once per data refresh or filter change, never per camera move.
* Global heat raster for the `heat` bands: ≈0.09° (≈10 km) per pixel and a
* one-pixel Gaussian σ, so a lone fire is a spot about as wide as its marker
* at the 3,000 km hand-off and neighbours merge only when they really touch
* (2048 px with σ 3 smeared each fire over ~200 km). Built once per data
* refresh or filter change, never per camera move.
*/
export const HEAT_RASTER = Object.freeze({
width: 2048,
height: 1024,
sigmaPx: 3,
width: 4096,
height: 2048,
sigmaPx: 1,
});
/**