Sample project for clipping images with wave shapes Read the blogpost here. All the related source code is located in the /lib folder.