Generative Mondrain Masterpiece
In this lesson we will have a look at the coding concept of recursion - a function that calls itself, to generate images that look like famous artwork by Piet Mondrian using p5.js. Recursion is notorious for being a difficult concept for new coders to master, and I think that having a visual representation can go a long way in helping wrap your head around how it works. Mondrian's beautiful art is a perfect example to explore the concept!
-- Refresh the page to see a new design!