simplify random img function
This commit is contained in:
5
main.go
5
main.go
@ -13,9 +13,8 @@ func main() {
|
||||
flag.Parse()
|
||||
|
||||
// get two random images and load them
|
||||
imgs := getRandomImages(2)
|
||||
img1 := loadImage(imgs[0])
|
||||
img2 := loadImage(imgs[1])
|
||||
img1 := loadImage(getRandomImage())
|
||||
img2 := loadImage(getRandomImage())
|
||||
|
||||
// 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