Skip to content

Instantly share code, notes, and snippets.

@supercaracal
Last active February 5, 2022 00:10
Show Gist options
  • Save supercaracal/e7622fea440638db8fc57defec3480cb to your computer and use it in GitHub Desktop.
Save supercaracal/e7622fea440638db8fc57defec3480cb to your computer and use it in GitHub Desktop.
Do a barrel roll
(function(){var deg=0;var set=function(val){document.body.style.webkitTransform=val;document.body.style.MozTransform=val;document.body.style.msTransform=val;document.body.style.OTransform=val;document.body.style.transform=val;};var pid=window.setInterval(function(){deg+=6;if(deg>359){window.clearInterval(pid);set(null);}set('rotate('+deg+'deg)');},16);}());void 0;
@supercaracal
Copy link
Author

supercaracal commented Feb 10, 2017

Paste your browser address bar with javascript: or run the snippet on browser console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment