To start, you can enter an affine permutation in the textbox labelled "Permutation". Please see the first page, AMBC Algorithm, for more information about the input to this algorithm. Enter the 1,...,n window for the permutation. The numbers should be separated by commas, with or without spaces between the numbers, with or without square braces. That is, you can enter 0,2,4 or 0, 2, 4 or [0,2,4] or [0, 2, 4]. Then, click the Run button to the right of the Permutation textbox, or press Enter while in the textbox. The result of running the AMBC algorithm will appear in the three multiline textboxes below.
You can alter the entries in any of the textboxes, and then run AMBC in reverse. To do that, click the button labeled Reverse. Alternatively, you can press Alt+C or Alt+Enter when in any one of the textboxes. The result of running AMBC in reverse will appear in the Permutation textbox.
Instead of starting with an affine permutation, you can enter data directly into the three textboxes. Use the numbers 1,...,n for some n. The numbers don't have to be in any order. The two tableaux should have the same shape, and the column on the right should have the same length as the tableaux.
This is a port to JavaScript of Mike Chmutov's Java code for the Affine Matrix Ball Construction algorithm. The original code can be found here: https://github.com/mchmutov/AMBC. The drawing code and the code to run the webpages are borrowed from the pages on my site: https://devragj.github.io/. Two papers describing the Affine Matrix Ball Construction can be found at these links: Matrix-Ball Construction of affine Robinson-Schensted correspondence, Monodromy in Kazhdan-Lusztig cells in affine type A. The second paper has a more condensed description of the algorithm.
Please contact me at devra.johnson at verizon.net.