1
0

seed can be specified to reproduce output

This commit is contained in:
2022-05-02 20:29:22 +02:00
parent 67274a5699
commit 12dd4e7512
3 changed files with 12 additions and 2 deletions

View File

@ -5,6 +5,7 @@ import (
_ "image/png"
"io/ioutil"
"log"
"math/rand"
)
func main() {
@ -16,6 +17,10 @@ func main() {
}
// init RNG
rand.Seed(ConfigRegister.Seed)
log.Println("Seed :", ConfigRegister.Seed)
// pool of workers unionizing, ready to blend a new picture using the power of friendship
var pool blendWorkerPool