Golang, Performance, Programming.
time. . . 52:func createSeq(width, height int) image.Image { . . 53: m := image.NewGray(image.Rect(0, 0, width, height)) . . 54: for i := 0; i < width; i++ { . . 55: for j := 0; j < height; j++ { . 3.89s 56: m.Set(i, j, pixel(i, j, width, height)) . . 57: } . . 58: } . . 59: return m . . 60:} . .