A simple Javascript code to compute the finite time Lyapunov exponent (FTLE) field for a time-dependent double gyre velocity field. The code interfaces with an HTML5 canvas element to provide a real time visualization of the running code and to plot the results.