From 637d93241c770a805e2f54c657c403575fb767df Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Tue, 21 Aug 2018 21:29:52 -0600 Subject: [PATCH] Wow that's a lot of iterations --- render.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/render.go b/render.go index 25f6094..4930e3c 100644 --- a/render.go +++ b/render.go @@ -18,7 +18,7 @@ import ( const ( Size = 128 - Iterations = (1<<16 - 1) / 128 + Iterations = 1<<16 - 1 ) var ( @@ -47,7 +47,7 @@ func main() { colorStep := float64(Iterations) // colors = interpolateColors("Plan9", colorStep) - colors = interpolateColors("Vivid", colorStep) + colors = interpolateColors("Solarized", colorStep) log.Fatal(http.ListenAndServe(":6161", nil)) } @@ -166,7 +166,6 @@ func renderTile(w http.ResponseWriter, r *http.Request) { queue <- pixel{img, x, y, tileX - int64(1<