1. A method for generating a superpattern made up of a composition of elements, wherein the the method comprises: receiving data that defines a first halftone pattern representing a first gray level and a second halftone pattern representing a second gray level; constructing the composition of elements having a first quantity of elements representing the first halftone pattern and a second quantity of elements representing the second halftone pattern, wherein the first quantity and the second quantity are determined based on a distance value representing a distance from the first gray level to a desired gray level intermediate to the first gray level and the second gray level; and transmitting or storing data representing the superpattern for use in presentation of an image.