Skip to content

Instantly share code, notes, and snippets.

@lulu-berlin
Created November 11, 2017 23:30
Show Gist options
  • Save lulu-berlin/ed8f82dd7100a7ea2603c42efa201633 to your computer and use it in GitHub Desktop.
Save lulu-berlin/ed8f82dd7100a7ea2603c42efa201633 to your computer and use it in GitHub Desktop.
Cheese Cake 3.0
license: cc-by-4.0
border: no
height: 800
<!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