This script I wrote visualizes swapping characters in a table to form different anagrams. Hover over the table to see the swap in slow-mo!

You can also change the table size at runtime, to support different screen sizes. Check it out: