Flapjax Demo Code (Follow the Mouse)
- 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
- 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
- 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