update code

pull/1/head
Akagi201 2016-04-03 20:26:27 +08:00
parent 2f1470dad2
commit e6a5cd63e6
1 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,10 @@ const (
)
func 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())
lissajous(os.Stdout)
}