frameGenerator NikolaV5 limit = do
    gen <- MN5.mandelbrotImageGenerator
    return $ f gen
  where
    f gen _ (G.View lowx lowy highx highy) (sizeX, sizeY) = do
        pbo <- gen lowx lowy highx highy sizeX sizeY limit
        return $ G.PBO sizeX sizeY pbo
frameGenerator NikolaV5 limit = do
    gen <- MN5.mandelbrotImageGenerator
    return $ f gen
  where
    f gen _ (G.View lowx lowy highx highy) (sizeX, sizeY) = do
        pbo <- gen lowx lowy highx highy sizeX sizeY limit
        return $ G.PBO sizeX sizeY pbo
frameGenerator NikolaV5 limit = do
    gen <- MN5.mandelbrotImageGenerator
    return $ f gen
  where
    f gen _ (G.View lowx lowy highx highy) (sizeX, sizeY) = do
        pbo <- gen lowx lowy highx highy sizeX sizeY limit
        return $ G.PBO sizeX sizeY pbo