Make sure that your whole face is visible below.
Your recording is being converted to a GIF.
Your GIF is being uploaded to Imgur.com
getUserMedia is a HTML5 API that allows web apps to access user's camera and microphone. Read more on HTML5 Rocks.
tracking.js was used to detect and track user's face, but that's just one of the things that this amazing library is capable of.
gif.js converted array of images to a GIF. It's very fast because it splits up the work between multiple web workers.
Imgur.com offers free and extremely easy to use API that allows to upload and browse images.
I've made a short video about this project that demonstrates how it works.
This demo is open source, and is hosted on GitHub. Feel free to fork it, report issues and share your ideas for improvements.