Flapjax Demo Code (Follow the Mouse)
  1. Create a box whose position is the same as that of the mouse.
    • View code for the unobtrusive JavaScript version with Flapjax library
    • View code for the unobtrusive Flapjax version
    • View code for the templated Flapjax version
    • Run the demo
  2. Add a second box whose position is that of the mouse, with a slight delay.
    • View code for the unobtrusive JavaScript version with Flapjax library
    • View code for the unobtrusive Flapjax version
    • View code for the templated Flapjax version
    • Run the demo
  3. Add a third box that trails the second with a delay and a jitter.
    • View code for the unobtrusive JavaScript version with Flapjax library
    • View code for the unobtrusive Flapjax version
    • View code for the templated Flapjax version
    • Run the demo