Layogen | Building Floor Plan Generation Application

This article shows initial findings of an applied research project conducted by Dr Minh Nguyen, from the School of Construction and Engineering and Chalinor Baliuag. from the School of Information Technology at Whitireira and WelTec. Previously, there are many approaches to generative architecture. Most of these require advanced coding and programming skills and therefore they are mostly not accessible for designers.

In contrast, in this research project, we have demonstrated that simple coding skills in javascript could be able to generate multiple design options in no time. We used treemap algorithms and P5js library as the main instruments for this project. The prototype application is below.

About the building: Houe dimensions 9 x 7.2 m (65 m2). The building shall have the followings: Living room = 22 m2; Kitchen area = 12 m2; Bedroom1 = 15 m2; Laundry and Toilet = 10m2 (variable 1); and hall or storage = 6 m2 (variable 2).

Click on the floor plan and type key “h” for horizontal, “v” for vertical arrangement; and “r” for variations.


(type key “h” for horizontal, “v” for vertical arrangement; and “r” for variation)

The app allows you to have 100 variations within one or two minutes, if you are happy with the result, hit “s” to save it and simply use tracing papers to add furniture to each room.

This project was presented in an academic symposium in 2019 with highly positive feedback. If you want to use this app for your design work, please email Dr Minh Nguyen for more information at

Minh Nguyen