Tired of boring old webpages that do not roll? Well, you've come to the right place!
Rotates the page 360 degrees like Google's "do a barrel roll".
##Installation To install via npm:
npm install barrel-roll.js --save
or simply copy the javascript file from the dist
folder.
##Usage
- Include the javascript file in your document:
<script src="barrel-roll.js"></script>
- Call
doBarrelRoll()
to perform a barrel roll! (duh)
Example 1:
if(doge) {
doBarrelRoll();
}
Example 2:
<button onclick="doBarrelRoll()">Click me</button>
##License barrel-roll.js is licensed under the MIT license. (http://opensource.org/licenses/MIT)
##Contributing You're more than welcome to contribute to this project. Pull requests are the way to go here~