Poems that are also diagrams and algorithms.

Sanskrit poets encoded knight's tours, magic squares and palindromic surfaces into verse, about a thousand years before Euler. This archive reads those compositions as computational objects: one text that is a poem, a figure and a program at once.

Rebuilt from the project originally hosted by the Computational Sciences Laboratory at IIIT-Bangalore. Link-checked and Flash-free.

1स्थि
30रा
9ग
20सां
3स
24दा
11रा
26ध्या
16वि
19ह
2ता
29क
10त
27ता
4म
23ता
31स
8त्पा
17दु
14के
21स
6र
25सा
12मा
18रं
15ग
32रा
7ज
28प
13दं
22न
5य
0 / 32

Pādukāsahasra 30.40. Step through the tour that turns verse 929 into verse 930.

Computation is specifying a structure precisely enough that someone else can reproduce it.

By that definition a chitrakāvya verse is a program. It survives only when read both as sound and as shape. The shapes include wheels, lotuses, drums, swords and chessboards. The readings trace petals, spokes, palindromic symmetry, or the L-shaped jumps of a knight.

A bandha is built to be three things at once: a sound, a shape and a rule. The composer trades execution speed for descriptive density, and Sanskrit's stable word order and single-glyph akṣara make the trade possible.

Three families
In the archive
Machine

https://emergence.live/md/chitrakavya.mdOpen the file

Loading /md/chitrakavya.md…