TuringType
A naïve human typing simulation effect
Dan Motzenbecker, MIT License
Written quickly to scratch an itch; not intended to be an accurate algorithm.
Watch the demo to see what it does.
Usage:
domElement 'Just some text.';
With some options:
domElement 'Terrible but fast typist.' accuracy: 03 interval: 20 callback: allDone;
You can also clear the input in a natural manner with .clear()
:
var typer = element "let's season their broth" {};
clear()
is automatically bound to instances and accepts an optional integer
indicating the number of characters to remove.
Have fun.