This code generates a border for a standard letter size document. I only coded one pattern. The pattern was obtained from "The Border Workbook." The pattern is coded is the ninja star. The PIL library is imported for this code.
I want to make my photo copies visually richer. Adding a border is one way to do that. Having customized borders was just something fun to learn. This code is an application of Python Imaging Library and iterative graphing (digital sewing).