Harmonious graphics generating based on the 1/f function theory