From 1a71905da9e98ae11f3b7bae694a06a3ae3cc635 Mon Sep 17 00:00:00 2001 From: Grimsace Date: Fri, 30 Jan 2026 14:22:34 -0600 Subject: [PATCH] polished roughned river edges --- terrain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terrain.go b/terrain.go index 273ab48..d50026b 100644 --- a/terrain.go +++ b/terrain.go @@ -433,7 +433,7 @@ func bresenham(path []image.Point) []image.Point { func drawCircle(img *image.RGBA, center image.Point, radius float64, c color.Color, pixels *[]image.Point, isWater map[image.Point]bool, heightmap image.Image) { bounds := img.Bounds() r2 := radius * radius - innerRadius := radius * 0.75 // The inner 75% of the river is smooth + innerRadius := radius * 0.875 // The inner 75% of the river is smooth innerR2 := innerRadius * innerRadius for y := int(math.Floor(float64(center.Y) - radius)); y <= int(math.Ceil(float64(center.Y)+radius)); y++ {