Increase iterations x4
This commit is contained in:
parent
1ba61f095d
commit
7c410ab7dd
@ -19,8 +19,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
Size = 256
|
Size = 256
|
||||||
Iterations = (1<<16 - 1) / Brighten
|
Iterations = (1<<16 - 1) / 256
|
||||||
Brighten = 1024
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -71,11 +70,11 @@ func main() {
|
|||||||
go computeThread()
|
go computeThread()
|
||||||
}
|
}
|
||||||
|
|
||||||
colorStep := float64(256)
|
colorStep := float64(Iterations)
|
||||||
colors = interpolateColors("Plan9", colorStep)
|
colors = interpolateColors("Plan9", colorStep)
|
||||||
fmt.Println(len(colors))
|
fmt.Println(len(colors))
|
||||||
|
|
||||||
log.Fatal(http.ListenAndServe(":80", nil))
|
log.Fatal(http.ListenAndServe(":6161", nil))
|
||||||
}
|
}
|
||||||
|
|
||||||
func renderTile(w http.ResponseWriter, r *http.Request) {
|
func renderTile(w http.ResponseWriter, r *http.Request) {
|
||||||
|
Loading…
Reference in New Issue
Block a user