Patent attributes
In one embodiment, a computing system may determine that a target grayscale value for a frame falls within a predetermined grayscale range. The system may compute, based on the target grayscale value, barycentric weights for a predetermined barycentric coordinate system associated with vertices that each represents a subframe combination of zero or more subframe identifiers. The system select, using the barycentric weights and threshold values associated with respective dots in a dithering mask, a set of non-overlapping dot patterns from the dithering mask corresponding to the vertices of the barycentric coordinate system. The dots in the dithering mask may satisfy a spatial stacking constraint. The system may generate subframes to represent the frame based on the set of non-overlapping dot patterns and the subframe combination represented by each of the vertices.