pull/1/head
chai2010 2016-01-27 17:13:06 +08:00
parent 131d5511c0
commit 71c31300a1
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ func lissajous(out io.Writer) {
x := math.Sin(t) x := math.Sin(t)
y := math.Sin(t*freq + phase) y := math.Sin(t*freq + phase)
img.SetColorIndex(size+int(x*size+0.5), size+int(y*size+0.5), img.SetColorIndex(size+int(x*size+0.5), size+int(y*size+0.5),
bla kIndex) blackIndex)
} }
phase += 0.1 phase += 0.1
anim.Delay = append(anim.Delay, delay) anim.Delay = append(anim.Delay, delay)