// WholeGame func (o IFS) WholeGame(src *canvas.Canvas, n int) *canvas.Canvas { t1 := src.Dup() t2 := canvas.NewCanvas(src.Width, src.Height) for i := 0; i < n; i++ { canvas.Say("WholeStep", i) o.WholeStep(t1, t2) t1, t2 = t2, t1 t2.Fill(0, 0, t2.Width, t2.Height, canvas.Black) } return t1 }