Viennot
Size of Permutation:
Viennot's Geometric Construction
Viennot's construction, named for Xavier GĂ©rard Viennot, is a method of finding the ordered pair \((P, Q)\) of standard tableaux that correspond to a permutation, as predicted by the Robinson-Schensted correspondence.

Given a permutation \(\sigma\) on \(n\) letters, the process begins by plotting the points \( (i, \sigma(i))\) for \(1 \leq i \leq n\). Next, imagine a light shining from the origin towards the first quadrant of a plane, resulting in each point casting a shadow towards the north east. The boundaries of these shadows reveal the first row of the tableaux. Before removing the first set of shadows, draw new points at the new vertices of the shadow lines, and repeat the process to find the successive rows of the tableaux. The process is complete when no shadow lines have any remaining vertices.

Notable properties of the correspondence include:
Using the Applet
Begin by choosing the size of the permutation you would like to enter (no larger than 20 recommended). The applet will default to the identity permutation. Change the permutation by clicking or tapping directly on the graph; this will map the associated \(x\) value to the associated \(y\) value. The applet will automatically change other values as necessary to maintain a bijective mapping.

As the permutation is updated, the associated pair of standard tableaux are displayed on the right, along with some information about the permutation. The cycles are returned in canonical form.
About the Applet
This applet was created using JavaScript and the Konva graphics library.