Painting might be the last thing you'd expect computers to excel at. It's abstract, expressive, and tied to cultures, psychology, and subjectivity, whereas computers are objective, precise, and governed by the rules of mathematics. Painting, with its emotional reasoning and unclear meanings, appears to be the antithesis of a feeling, logical computer. But they aren't so far apart as they seem. Painting and other forms of visual art owe much to areas of mathematics such as geometry and perspective, and the algorithms that computers adhere to can in fact be made to generate images as varied and subtle as a human painter.