high res is cool and all, it's really killing perf
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
60050187f8
commit
b2515749ae
@ -22,9 +22,9 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
Size = 512
|
||||
Size = 128
|
||||
//Iterations = (1<<16 - 1) / 256
|
||||
Iterations = (1<<16 - 1) / 128
|
||||
Iterations = (1<<16 - 1) / 64
|
||||
)
|
||||
|
||||
var (
|
||||
@ -71,7 +71,7 @@ func computeThread() {
|
||||
}
|
||||
}
|
||||
|
||||
//interpolateColors accepts a color palette and number of desired colors and builds a slice of colors by interpolating the gaps
|
||||
// interpolateColors accepts a color palette and number of desired colors and builds a slice of colors by interpolating the gaps
|
||||
func interpolateColors(paletteCode string, numberOfColors float64) []color.RGBA {
|
||||
var factor float64
|
||||
steps := []float64{}
|
||||
|
Loading…
x
Reference in New Issue
Block a user