Vastu shastra 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 India, and Vishvakarman in North India.The doctrine of Vastu Shastra is concerned primarily with architecture – building houses, forts, temples, apartments and other buildings.
The Sanskrit word vastu means a dwelling or house with a corresponding plot of land. The vrddhi, vāstu, takes the meaning of "the site or foundation of a house, site, ground, building or dwelling-place, habitation, homestead, house". The underlying root is vas "to dwell, live, stay, abide". The term shastra may loosely be translated as "science, doctrine, teaching".
There are many principles in Vaastu Shastra. To mention a few which involve certain mathematical calculations, Maana is used for proportional relationships in a building and Aayaadi specifies conditions for maximum well being and benefits for the residents of a building.