Production and control of visual pattern variability by computer