Anagram generator

by Ricardo “Rudxain” Fernández Serrata

Version 1 (September 26, 2023)

Download (50 downloads)

Write any string, and this flow will shuffle it. Keep pressing "OK" to re-shuffle the same text, or to shuffle a new string.

This shuffles individual characters (Unicode code-points). The "(?u)" flag ensures Unicode-Awareness, so surrogate pairs are treated as such, instead of individual code-units.

There's an 1/n! probability of reversing the string, because the reverse string is just 1 permutation of all n! permutations (where "n" is the length of the string). The same probability applies to No-Op, so the string can remain unchanged.

("n!" is "factorial function of n")

Rudxain profile: llamalab.com/automate/community/flows/42921

LICENSE: https://unlicense.org

4.5 average rating from 2 reviews

5 stars
1
4 stars
1
3 stars
0
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.