Processing Month, Day 21 - Fitting Rectangles

Posted on 2011-05-21 by Jan Vantomme
Tags: processing, tutorial

Today I'm going to share an algorithm I wrote to create a digital artwork based on a drawing from one of my sketchbooks. I'm not going to discuss the algorithm in detail, I'll let you learn from the code. This algorithm might be useful for architects, urban planners or graphic designer looking for a new approach to grids. Below are the original drawing and the output of the algorithm.

A drawing from one of my Moleskine sketchbooks

The output of the rectangle fitting algorithm

Download

Download the sketch for Processing Month day 21 - Fitting Rectangles.

Tweet this article