Get Shine Install using Bower: bower install shine Fork on GitHub Download as ZIP Make it Shine Instantiate shine.js: var shine = new Shine(document.getElementById('my-shine-object')); Change the light position: window.addEventListener('mousemove', function(event) { shine.light.position.x = event.
source
No hay comentarios:
Publicar un comentario