This social post for the 4th of July was created in Photoshop and uses compositing and masking as the main techniques.