Anagram generator (1block)

by Ricardo Fernández Serrata

Version 1 (April 18, 2022)

Download (8 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), not syllables. 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")

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.