From 7c410ab7dde499220f1d2e6e8ca2a5bb1b23d303 Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Tue, 31 Jul 2018 20:18:31 -0600 Subject: [PATCH] Increase iterations x4 --- mandelmapper/render.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mandelmapper/render.go b/mandelmapper/render.go index b59f7c9..13a0ada 100644 --- a/mandelmapper/render.go +++ b/mandelmapper/render.go @@ -19,8 +19,7 @@ import ( const ( Size = 256 - Iterations = (1<<16 - 1) / Brighten - Brighten = 1024 + Iterations = (1<<16 - 1) / 256 ) var ( @@ -71,11 +70,11 @@ func main() { go computeThread() } - colorStep := float64(256) + colorStep := float64(Iterations) colors = interpolateColors("Plan9", colorStep) fmt.Println(len(colors)) - log.Fatal(http.ListenAndServe(":80", nil)) + log.Fatal(http.ListenAndServe(":6161", nil)) } func renderTile(w http.ResponseWriter, r *http.Request) {