Paul Graham has a background in computer science and art. He wrote on the connection between the two in the essay Hackers and painters. It begins:
When I finished grad school in computer science I went to art school to study painting. A lot of people seemed surprised that someone interested in computers would also be interested in painting. They seemed to think that hacking and painting were very different kinds of work– that hacking was cold, precise, and methodical, and that painting was the frenzied expression of some primal urge.
Both of these images are wrong. Hacking and painting have a lot in common. In fact, of all the different types of people I’ve known, hackers and painters are among the most alike.
Here is where you will find it in its entirety, I urge you to read the whole thing.