Likewise, during first year of university, a friend and I had a blast doing a combined art + software project to generate mondrians. We wrote a bunch of processing.js scripts to emulate his various "modes" and tried to make a web application that gradually "honed-in" on a viewer's tastes across Mondrian parameter-space (using some admittedly naive stats):
I consider it worked very well.