light saber that follows cursor for html documents that uses Javascript and CSS.
<script type="text/javascript" src="https://github.com/FranPR9/light_saber/raw/master/js/light_saber.js"></script>
<script type="text/javascript"> LightSaber_setAudio(false) </script>
To stop playing audio.(true for playing it).
<script type="text/javascript"> LightSaber_setSrc("your_image_path") </script>
to set image.
<script type="text/javascript"> LightSaber_setAudioSRC("your_audio_path") </script>
to change lightsaber sound.
<script type="text/javascript"> LightSaber_setzIndex(-2) </script>
change z-index of the image, default = -1
<script type="text/javascript"> LightSaber_setBlue() </script>
<script type="text/javascript"> LightSaber_setGreen() </script>