implements a randomized ppu scanline rendering for testing.