Look at this:
Strnagely tihs mesasge is stlil raedable eevn tohugh the lteters hvae been jumbeld up. The fisrt and lsat letters of ecah wrod hvae been lfet unchanegd.
Let’s play with this a bit. I’ve written a python script you can try out here:
https://www.handmadescience.co.uk/blog/2021/02/05/wordblur.html
Tweet your favourite message to me @drjameslambert and I’ll do my best to decode it. Be kind!
This isn’t really a programming post (those are coming on my February Python course.) More a silly Friday post but if you want to look at the code in more detail look at the image above first. The script
fixes the first and last letters of each word
chooses a pair of letters next to each other
swaps those letters
repeats steps 1-3 depending on the difficulty setting.
There’s a good write up of this odd phenomena below. Try the difficult ones at the bottom of the article, they’re hard!
https://www.dictionary.com/e/typoglycemia/
Leave a comment or tweet @drjameslambert to let me know what you think.
See you soon
James