While looking at some of Piet Mondrian’s works in preparation for this assignment, I noticed that the most famous of his works were just made of varying sized rectangles. So I sought out to develop a small program, which with a bit of manual work could recreate a scalable Mondrian painting. Here is my recreation of the assigned piece:


Here is my code, it contains a scalable rectangle class which can properly recreate and rectangule based drawing of any size with pixel data:

Comments are closed.