Code editor, Paramashayika mandala
81 Pada devta grid
The 9 by 9 Vastu Purusha Mandala, worked out on your plot by plain JavaScript. Change the bhumi lines, the compass spans or the zone shift on the left and the grid on the right redraws as you type.
- Bhumi lines at 3/9, 5/9 and 7/9
- Middle spans of 54° and 18°
- Outer zones turned 5.65°
- 45 devtas
- Runs in your browser
Running the code...
Devta areas
Totals appear here once the code has run.
Hover a row to find that devta on the drawing. Bhumi groups: Brahm Bhumi, Dev Bhumi, Manushya Bhumi, Pishach Bhumi.
Plot corners
x runs to the right and y runs down the page.
Set north from a wall
Stand facing out through a wall, read the compass, and enter that bearing. The drawing turns so the grid matches.
Current setting: the top of the drawing faces 0°.
- Drag a corner on the drawing to move it. Hold Alt for fine steps.
- Drag the small orange dot on a wall to add a corner there.
- Double-click a corner to remove it, or select it and press Delete.
- Drag the centre to place it by hand. Double-click it to go back to the automatic centre.
The method
How the 81 Pada grid is worked out
The Paramashayika mandala is a square of 9 by 9 padas: Brahma in the middle 3 by 3, twelve devtas around it and 32 on the outside. The code keeps those proportions on any plot by measuring from the centre outwards.
- 1
Find the centre
Mass gravity uses the centre of mass of the outline. Square uses the middle of the bounding rectangle, where its diagonals cross. You can also drag the centre by hand. - 2
Read every direction as a bearing
Each point gets a compass bearing from the centre. The "Top of drawing faces" setting turns the drawing, so 0° means North is straight up the page. - 3
Draw the four bhumis
A 9 by 9 square has 4.5 padas from its centre to its edge, so the bhumi lines sit at 1.5, 2.5 and 3.5 of 4.5: shares of 0.3333, 0.5555 and 0.7777 of the way out. - 4
Fill the centre
Brahma takes the whole of Brahm Bhumi, the middle 3 by 3 padas of the square. - 5
Split the middle ring by angle
Devtas 2 to 13 fill Dev and Manushya Bhumi together. The four main devtas get 54° each and the eight corner devtas 18° each, the same 3 to 1 ratio as their 6 and 2 padas. - 6
Turn the outer zones
The 32 outer devtas get one 11.25° zone each, turned back by 5.65° (about half a zone) so Soma (42) is centred on North, like the middle pada of each side.
The four bhumis
Middle ring spans
Outer zones
Each zone is 11.25° wide, starting 5.65° earlier than the plain 32-zone layout.