How this amazing effect in Battletoads on the NES was created:
The Battletoads cartridge has a special memory that lets the game change the graphics of individual tiles while you’re playing. For the purple vertical stripes, it only needs a few simple tiles. Every frame (or every other frame), the game shifts the pixels inside those tiles a little and writes the new versions back into video memory.
Because the tiles themselves are changing, the stripes look like they’re flowing or scrolling on their own, even though the background layer isn’t actually moving. This creates the sense of speed or depth without needing extra background layers, which the NES doesn’t have.