Roger Alsing (Johansson) did this in 2008: https://rogerjohansson.blog/2008/12/07/genetic-programming-e...
Indeed. I mentioned that in the README: https://github.com/fogleman/primitive#inspiration
The comparison is interesting since your rectangle version has superior image quality compared to Alsings. If I squint my eyes it is hard to tell a difference to the original picture. It looks blurred the "right way" somehow.