Vastushastra
Vastu shastra (vāstu śāstra, also vastu veda and vastuvidya, "science of construction", "architecture") is an ancient doctrine which consists of precepts born out of a traditional view on how the laws of nature affect human dwellings. The designs are based on directional alignments. It used to be applied in Hindu architecture, especially for Hindu temples, and covers other domains, including vehicles, vessels, furniture, sculpture, paintings, etc. The foundation of Vastu is traditionally ascribed to the sage Maamuni Mayan (Mahaa-muni Maya, a daanava/demon reformed by tapasyaa/austerities) in South and Vishvakarman in North India.
Read more about Vastushastra.