Quick question

I just came across this effect on my threads timeline and thought it would it was very simple and cool. Any ideas on how it was achieved!