Created
February 15, 2017 18:59
-
-
Save zelon88/0a459ac30fdb64c7b9724eab9baf8e55 to your computer and use it in GitHub Desktop.
Simple HTML page that displays "The Matrix" in a browser.
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> | |
<!-- This code was tweaked from https://github.com/MinhasKamal/CreepyCodeCollection to be a standalone file. --> | |
<head></head> | |
<body style="margin:0"> | |
<canvas id="q" width="1920" height="1080"> | |
<script> | |
var q=document.getElementById('q'),s=window.screen,w=q.width=s.width,h=q.height=s.height,p=Array(256).join(1).split(''),c=q.getContext('2d'),m=Math;setInterval(function(){c.fillStyle='rgba(0,0,0,0.05)';c.fillRect(0,0,w,h);c.fillStyle='rgba(0,255,0,1)';p=p.map(function(v,i){r=m.random();c.fillText(String.fromCharCode(m.floor(2720+r*33)),i*10,v);v+=10; return v>768+r*1e4?0:v})},33) | |
</script> | |
</canvas> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment