I'm looking for a way to do this:
Show text where the letters are positioned randomly across the screen.
Then gradually move the letters towards their correct position, to show
the original, readable text...
IIR: next position := current position * 0.95 + 0.05 * target position
(will never reach target exactly)
FIR: current position := start position * (1-t) + t * target position
(with t in 0 .. 1)
You need one of the above for each coordinate of each letter, so I
suggest storing the information in arrays (or data structures) and
looping through them.