Created
November 11, 2017 23:30
-
-
Save lulu-berlin/ed8f82dd7100a7ea2603c42efa201633 to your computer and use it in GitHub Desktop.
Cheese Cake 3.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: cc-by-4.0 | |
border: no | |
height: 800 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Cheesie Cake V3.0</title> | |
<meta name="description" content="A Cheesie Website for a Cheesie Mood"> | |
<meta name="author" content="Ya'ar Hever"> | |
<style type="text/css"> | |
body { | |
background-color: crimson; | |
} | |
#cheese { | |
white-space: pre-wrap; | |
word-break: break-all; | |
width: 100%; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="cheese"></div> | |
<script type="text/javascript" src="https://twemoji.maxcdn.com/2/twemoji.min.js?2.3.1"></script> | |
<script type="text/javascript"> | |
window.onload = function() { | |
setInterval( | |
function() { | |
var charCodeArray = []; | |
for (var i = 0; i < 1000; i++) { | |
charCodeArray.push(i % 2 === 0 ? 55357 : 56459 + ~~(Math.random() * 21)); | |
} | |
document.querySelector("#cheese").innerHTML = twemoji.parse( | |
String.fromCharCode.apply(null, charCodeArray) | |
); | |
}, | |
300 | |
); | |
}; | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment