Skip to content

Instantly share code, notes, and snippets.

@vampjaz
Last active August 29, 2015 14:01
Show Gist options
  • Save vampjaz/821fc90cb2f0a770d353 to your computer and use it in GitHub Desktop.
Save vampjaz/821fc90cb2f0a770d353 to your computer and use it in GitHub Desktop.
r=Math.random;w=$(window);setInterval("$('<b>★</b>').css({color:'gold',position:'fixed',top:r()*w.height(),left:r()*w.width()}).appendTo('body').animate({fontSize:0},3e3)",9)
r=Math.random;w=$(window);setInterval("$('<b>♦</b>').css({color:'blue',position:'fixed',top:r()*w.height(),left:r()*w.width()}).appendTo('body').animate({fontSize:0},3e3)",9)
r=Math.random;w=$(window);setInterval("$('<b>★</b>').css({color:'gold',position:'fixed',top:r()*w.height(),left:r()*w.width()}).appendTo('body')",9)
@vampjaz
Copy link
Author

vampjaz commented May 5, 2014

@vampjaz
Copy link
Author

vampjaz commented Jul 22, 2014

r=Math.random;w=$(window);setInterval("a=$('').css({color:'gold',position:'fixed',top:r()_w.height(),left:r()_w.width()}).appendTo('body').animate({fontSize:0},3e3);setTimeout(function(){a.remove()},3e3)",9)

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