Image Transition

Hey guys wondering if anyone knows any tutorials or has code to create a similar image transition, where the images are masked and tile in, here is an example Example 1