See the puzzle 1 on ARC AGI See the puzzle 2 on ARC AGI See the puzzle 3 on ARC AGI

Test input with animation:

Examples: