Skip to content

jQuery plugin that causes any element to rotate following the mouse (cursor location)

License

Notifications You must be signed in to change notification settings

pstrinkle/jquery-follow-cursor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jquery-follow-cursor

jQuery plugin that causes any element to rotate following the mouse (cursor location)

Latest release npm

Usage

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="/libs/jquery-follow-cursor/follow-cursor.js"></script>

<canvas id='eye' height="220" width="220"></canvas>

<script>
    $('#eye').followCursor();
</script>

About

jQuery plugin that causes any element to rotate following the mouse (cursor location)

Resources

License

Stars

Watchers

Forks

Packages

No packages published