DreamCode
Examples
Copy-paste houses, from a studio to a two-storey family home.
Every example compiles as-is — paste it into DreamCode and press ⌘ S.
Studio with bathroom#
house.dream
home "Studio"room Studio 6x4.5door southwindows west, northlights 2plugs 3bed, sofa, tableroom Bath 2x2.5 right of Studiowindow eastlighttoilet, sink
Three-bedroom family home#
house.dream
home "Family Home"roof pyramidroom Living 6x5door southwindows west, southlights 2fanplugs 2sofa, tableroom Kitchen 4x5 right of Livingwindow eastlightplugs 2 x 15Acabinet, sinkroom Bedroom 5x3.5 above Livingwindow northlightfanplugs 2bed, wardroberoom Kids 3.5x3.5 right of Bedroomwindow northlightplugs 1bedroom Bath 2.5x3.5 right of Kidswindow eastlighttoilet, sink
L-shaped house#
Rooms are rectangles, but arranging them makes any footprint.
house.dream
# An L-shaped house is just rooms arranged in an Lhome "L House"roof gableroom Living 7x4door southwindows west, southlights 2room Dining 4x4 right of Livingwindow eastlighttable, chairroom Bedroom 4x4 above Livingwindows west, northlightbed, wardrobe
Two storeys with stairs#
See the full program in the Quickstart, and the rules in Floors, stairs & roofs.