mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
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:
1 parent
314292a006
commit
ad171f2854
4 files changed
+37
-8
No files matched your search
@@ -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,
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user