fix code
parent
131d5511c0
commit
71c31300a1
|
@ -55,7 +55,7 @@ func lissajous(out io.Writer) {
|
|||
x := math.Sin(t)
|
||||
y := math.Sin(t*freq + phase)
|
||||
img.SetColorIndex(size+int(x*size+0.5), size+int(y*size+0.5),
|
||||
bla kIndex)
|
||||
blackIndex)
|
||||
}
|
||||
phase += 0.1
|
||||
anim.Delay = append(anim.Delay, delay)
|
||||
|
|
Loading…
Reference in New Issue