implements a randomized ppu scanline rendering for test.