Manduka, 8 by 8
64 Pada devta grid
32 compass zones, each cut at 1/4, 1/2 and 3/4 of the way from the centre to the plot edge.
- Zone table you can edit band by band
- Devta areas and shares of the plot
- Shown here on a 40 by 50 ft plot
Three editors
Each editor holds one complete JavaScript file. It runs in your browser every time you change the code or the plot, so you always see what the maths really does.
Manduka, 8 by 8
32 compass zones, each cut at 1/4, 1/2 and 3/4 of the way from the centre to the plot edge.
Paramashayika, 9 by 9
Four bhumis at 3/9, 5/9 and 7/9, fixed compass spans in the middle ring and 32 turned zones outside.
// aay-vastu.js
const product = Math.trunc(L * W)
const aay = product % 8 || 8
Size check
Length times width in square inches, divided by 8. The remainder names the Aay, with an extra check for whole properties.
The method
Both grids start from the classic square mandala and keep its proportions on a real plot. The code finds the centre of the plot, reads every direction as a compass bearing, and cuts the way from the centre to each wall into the same shares as the padas of the square.
// One cell is a compass slice of the plot shrunk to its outer line,// minus the same slice of the plot shrunk to its inner line.const outer = sectorEdge(scaleAbout(plot, center, spec.outer), center, from, span)const inner = sectorEdge(scaleAbout(plot, center, spec.inner), center, from, span)outline = outer.points.concat(inner.points.slice().reverse())area = Math.abs(outer.area - inner.area)
Reference
Positions read from the original tables in both editors. Shares are measured from the centre of the plot (0) to its edge (1), and bearings are compass degrees with North at 0°.
Aay at a glance
Aay rates a room or plot size by what is left over when its area in square inches is divided by 8. A whole plot or house also gets a second check: the area mod 8 has to be greater than three times the area mod 8.
Convert
Length and width into inches. 1 ft is 12 in, 1 m is 100 / 2.54 in.
Multiply
Length times width, keeping whole square inches only.
Divide by 8
The remainder is the Aay. A remainder of 0 means Aay 8.
1Dhwajaya
ध्वजायThe most auspicious Aay. Good for homes, main doors, shops and offices, temples, puja rooms and yajna areas.
2Dromaya
द्रुमायLinked to fire. Good for kitchens, havan kunds and other places where fire is used.
3Simhaya
सिंहायLinked to power. Good for the main entrance, seats of authority and the homes of leaders.
4Sunakaya
श्वानायGood for service areas such as staff rooms, toilets and bathrooms.
5Vrushabhaya
वृषभायLinked to trade and food. Good for shops, factories, dining rooms and cattle sheds.
6Karayashaya
खरायशायGood for labour quarters and sheds for working animals.
7Gajashaya
गजाशयLinked to rest. Good for bedrooms, dressing rooms, garages, beds and pillows.
8Vayasaya
वायसायGood for artist studios, yoga and meditation rooms, and rooms for monks or sages.
Try 0.3 instead of 0.3333 for Brahm Bhumi, or turn the outer zones by a full 11.25°, and the grid redraws on the spot.