seed can be specified to reproduce output
This commit is contained in:
5
main.go
5
main.go
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user