Skip to content

Code editor, Manduka mandala

64 Pada devta grid

The 8 by 8 Vastu Purusha Mandala, worked out on your plot by plain JavaScript. Change a table or a formula on the left and the grid on the right redraws as you type. Drag the plot corners to try other shapes.

  • 32 zones of 11.25°
  • Rings at 1/4, 1/2 and 3/4 of the way out
  • North on the N4 and N5 line
  • 45 devtas
  • Runs in your browser
pada-64.js
Starting

Nothing logged yet. Add console.log(value) anywhere in the code to print it here.

Plot shape
°
Centre
Drag to add a corner hereDrag to add a corner hereDrag to add a corner hereDrag to add a corner here

Running the code...

20 ft
Image

Devta areas

Totals appear here once the code has run.

Show
Area of every devta in the 64 pada grid
No.DevtaBhumiWhereAreaShare
Waiting for the first run of the code.

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.

Corner positions of the plot
Cornerx (ft)y (ft)Remove
1
2
3
4

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 64 Pada grid is worked out

The Manduka mandala is a square of 8 by 8 padas. To lay it on a plot of any shape, the code measures everything from the centre of the plot, so the same proportions hold on a rectangle, a cut corner or an L-shaped plot.

  1. 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. 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. 3

    Cut the circle into 32 zones

    Every zone is 11.25° wide. Zone N4 runs from 348.75° to 360°, so true North is the line between N4 and N5.
  4. 4

    Cut each zone into bands

    The way from the centre to the plot edge is cut at 1/4, 1/2 and 3/4. With 4 padas from the centre to the edge of an 8 by 8 square, these are its first three pada rings.
  5. 5

    Give every band a devta

    Corner zones (1, 2, 7 and 8 on each side) use four bands. Middle zones (3 to 6) use three, and their outer devta runs from 1/2 all the way to the edge.
  6. 6

    Follow the plot shape

    Ring lines are the plot outline shrunk towards the centre, and each cell is clipped to its zone wedge. On any shape the cells add up to the whole plot.

Devta in each zone and band

Read each row from the centre outwards. In the middle zones the last devta covers both outer bands.

64 Pada devta for every zone and band
ZoneBearing0 to 1/41/4 to 1/21/2 to 3/43/4 to 1
N1315° to 326.25°1Brahma2Budhar13Rajayakshma38Roga
N2326.25° to 337.5°1Brahma2Budhar13Rajayakshma39Naga
N3337.5° to 348.75°1Brahma2Budhar40Mukhya
N4348.75° to 0°1Brahma2Budhar41Bhallat
N50° to 11.25°1Brahma2Budhar42Soma
N611.25° to 22.5°1Brahma2Budhar43Bhujang
N722.5° to 33.75°1Brahma2Budhar6Apaha44Aditi
N833.75° to 45°1Brahma2Budhar6Apaha45Diti
E145° to 56.25°1Brahma3Aryama7Apahavatsa14Shikhi
E256.25° to 67.5°1Brahma3Aryama7Apahavatsa15Prajanya
E367.5° to 78.75°1Brahma3Aryama16Jayant
E478.75° to 90°1Brahma3Aryama17Mahendra
E590° to 101.25°1Brahma3Aryama18Surya
E6101.25° to 112.5°1Brahma3Aryama19Satya
E7112.5° to 123.75°1Brahma3Aryama8Savita20Brisha
E8123.75° to 135°1Brahma3Aryama8Savita21Akash
S1135° to 146.25°1Brahma4Viviswan9Savitra22Anil
S2146.25° to 157.5°1Brahma4Viviswan9Savitra23Pusha
S3157.5° to 168.75°1Brahma4Viviswan24Vithatha
S4168.75° to 180°1Brahma4Viviswan25Grihaspatya
S5180° to 191.25°1Brahma4Viviswan26Yama
S6191.25° to 202.5°1Brahma4Viviswan27Gandharva
S7202.5° to 213.75°1Brahma4Viviswan10Indra28Bhringraj
S8213.75° to 225°1Brahma4Viviswan10Indra29Mriga
W1225° to 236.25°1Brahma5Mitra11Jaya30Pitra
W2236.25° to 247.5°1Brahma5Mitra11Jaya31Duawarik
W3247.5° to 258.75°1Brahma5Mitra32Sugreev
W4258.75° to 270°1Brahma5Mitra33Puspadanta
W5270° to 281.25°1Brahma5Mitra34Varun
W6281.25° to 292.5°1Brahma5Mitra35Asur
W7292.5° to 303.75°1Brahma5Mitra12Rudra36Shosha
W8303.75° to 315°1Brahma5Mitra12Rudra37Papyakshama