Room packing

Xmas has been about sketching up a setup for generation of house interiors. Based on this but exterior being fixed. With pseudo code fleshed down, it's broken down to two parts, placement and growing.

Picture is one closing in on completion. Sphere's are location inputs on which rooms are placed (here all 3x3). The algorithm then distributes while respecting constraints like -"room need at least one square of outer wall".

Phase two is a kind of "pressure solving"- expanding the rooms to divide the space by need, described as rooms "pressure".

Comments

Popular posts from this blog

connectivity graph v2

370 final