pixelweaver/main.go

25 lines
355 B
Go
Raw Normal View History

2022-04-24 14:24:54 +02:00
package main
import (
2022-05-01 21:30:35 +02:00
"io/ioutil"
"log"
"math/rand"
2022-04-24 14:24:54 +02:00
)
func main() {
2022-05-01 21:30:35 +02:00
// store command line arguments into the register
initConfigRegister()
2022-05-01 21:30:35 +02:00
if ConfigRegister.Quiet {
log.SetOutput(ioutil.Discard)
}
// init RNG
rand.Seed(ConfigRegister.Seed)
log.Println("Seed :", ConfigRegister.Seed)
2022-05-01 21:30:35 +02:00
// launch main blending routine
2022-05-04 09:31:21 +02:00
BlendImagesMain()
2022-04-24 14:24:54 +02:00
}