Making multiple houses using simple geometric shape

This is one of the ways to create a simple house using geometric shapes like triangle and square.

How about adding slight modification to the code base and re-use it to create houses?

Also, it possible to parameterise the distance between the houses? Can you also attempt to fill these houses using different colors?

Does it look similar to the house? This is one of the interesting shape which was generated while tinkering with the above procedure.