add terrain to map

This commit is contained in:
evanpelle
2024-08-30 22:01:08 -07:00
parent 6aacffc27d
commit 8b2c2a13c0
8 changed files with 133 additions and 6 deletions
+5 -1
View File
@@ -90,7 +90,11 @@ export const pastelTheme = new class implements Theme {
if (tile.isShore()) {
return this.shore
}
return this.land;
return colord({
r: 174 + 5 * tile.magnitude(),
g: 163 + 5 * tile.magnitude(),
b: 128 + 5 * tile.magnitude()
})
} else {
const w = this.water.rgba
if (tile.isShorelineWater()) {