There are rules concerning the number of tatami mats and their layout in a room. In the
Edo period, and tatami arrangements were distinctly differentiated, with tatami rearranged depending on the occasion. In modern practice, the "auspicious" layout is normally used. In this arrangement, the junctions of the tatami form a "T" shape; in the "inauspicious" arrangement, the tatami are in a grid pattern wherein the junctions form a "+" shape. It is
NP-complete to determine whether a large room has an auspicious arrangement using only full mats. An inauspicious layout was used to avoid bad fortune at inauspicious events such as funerals. Now it is widely associated with bad luck and itself avoided. File:JapanHomes101 ARRANGEMENT OF MATS IN DIFFERENT-SIZED ROOMS.jpg|Some auspicious layouts from the early 1800s (
Edo Period) Image:Tatami layout 1.svg|One possible auspicious layout of a mat room Image:Tearoom layout.svg|Typical layout of a mat tea room in the cold season, when the hearth built into the floor is in use. The room has a
tokonoma and
mizuya dōko Image:Youkoukan06n4592.jpg|Room with tatami flooring in an inauspicious layout and paper doors (
shōji) File:Anforet 3F 2017-06-02 ac (2).jpg|An auspicious layout File:ITatami (8465411258).jpg|"T" shape File:Tatami (51687126569).jpg|Ryūkyū
tatami are square shaped without borders ==See also==