For a while I’ve been wanting to build out a little web page that “types” out text to the screen and decided to do this in tandem with some thoughts on the General Data Protection Regulation (GDPR) that the EU is enforcing later this month.

One fun part of this was to make sure that the text doesn’t print out in a perfectly linear manner, since humans don’t type that way. Think of this as the moral equivalent of the hems and haws in the Google Duplex assistant.

The whole page resides in a single index.html file so feel free to poke around and look at how I built it. The callbacks in the JavaScript got pretty nested but I wanted to keep this as simple as possible and make it compatible in as many browsers as possible without having to resort to a polyfill for async/await.1


  1. Internet Explorer, I’m looking at you. ↩︎