Another series of articles I wrote ~4 years ago about the same topic, but perhaps more detailed and with a live demo: http://www.gabrielgambetta.com/fpm1.html
The title of this article sounds vaguely familiar ;)
The title of this article sounds vaguely familiar ;)