high res is cool and all, it's really killing perf
continuous-integration/drone/push Build is passing Details

This commit is contained in:
MashPotato 2023-02-22 13:10:59 -07:00
parent 60050187f8
commit b2515749ae
1 changed files with 3 additions and 3 deletions

View File

@ -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{}