This function creates a repeatable pattern from an image. You can use this to create a background image for the internet.