var palette = []color.Color{color.Black, color.RGBA{0x00,0xff,0x00,0xff}}
const ( blackIndex = 0// first color in palette greenIndex = 1// next color in palette )
funcmain() { //!-main // The sequence of images is deterministic unless we seed // the pseudo-random number generator using the current time. // Thanks to Randall McPherson for pointing out the omission. rand.Seed(time.Now().UTC().UnixNano())