From a171b45168c34ee8e2bbd6bd80bea9117aba1313 Mon Sep 17 00:00:00 2001 From: "Elliott R. Lewandowski" Date: Mon, 17 Aug 2026 10:18:03 -0800 Subject: [PATCH 1/2] feat: switched colormap to viridis --- src/canvas/shaders/colormap.wgsl | 2 +- src/canvas/texture.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/canvas/shaders/colormap.wgsl b/src/canvas/shaders/colormap.wgsl index 68b4c60..27953d9 100644 --- a/src/canvas/shaders/colormap.wgsl +++ b/src/canvas/shaders/colormap.wgsl @@ -46,7 +46,7 @@ fn fs_main(in: VertexOutput) -> @location(0) vec4 { var color = textureLoad(colormap_tex, u32(map_coord), 0); - color.a = clamp(pow(f32(weight), 2.0)/(max_weight.x*4), 0.1, 1.0); + color.a = clamp(pow(f32(weight), 2.0)/(max_weight.x*4), 0.3, 1.0); return vec4(color); } diff --git a/src/canvas/texture.rs b/src/canvas/texture.rs index 9f221d0..3a1eef9 100644 --- a/src/canvas/texture.rs +++ b/src/canvas/texture.rs @@ -90,7 +90,7 @@ pub fn generate_blend_texture( /// Generates 2 1D texture with the colormaps the heatmap will use pub fn generate_colormaps(device: &wgpu::Device, queue: &wgpu::Queue) -> TextureContext { - let display_colormap_bytes: &[u8; _] = include_bytes!("../../assets/plasma.png"); + let display_colormap_bytes: &[u8; _] = include_bytes!("../../assets/viridis.png"); generate_colormap_texture(device, queue, display_colormap_bytes) } From aaf87fe86d64b33ee417ad27f023de501d38c788 Mon Sep 17 00:00:00 2001 From: "Elliott R. Lewandowski" Date: Mon, 17 Aug 2026 10:19:06 -0800 Subject: [PATCH 2/2] fix: readme typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2f484dc..30a6974 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ The goal of this project is to rewrite and consolidate the existing codebases fo ## Attribution -World Continent data comes from hub.arcgis.com/datasets/esri::world-continents/explore +World Continent data comes from hub.arcgis.com/datasets/esri::world-continents/explore Sentinel-1 Data is provided by the Alaska Satellite Facility ## Contributers