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) {