I had been seeing this effect since on so many social media posts and i thought "I can do that" but after fiddling I couldn't quite get it right until I found a plugin that helps me create and adjust grid expressions in after effects. Now I think I'm gonna use this effect more often.