Color Squares by KHS shows 16*14 squares of 12 different colors (plus black). On each frame, two adjacent squares are swapped. Assembler source code is available.

http://nesdev.parodius.com/bbs/viewtopic.php?t=8492