diff --git a/README.md b/README.md deleted file mode 100644 index 7b6fa12..0000000 --- a/README.md +++ /dev/null @@ -1 +0,0 @@ -# mroose.github.io \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..dde31f8 --- /dev/null +++ b/index.html @@ -0,0 +1,12 @@ + + + + MRoose + + + + + + + + diff --git a/js/matrix.js b/js/matrix.js new file mode 100644 index 0000000..9ac4044 --- /dev/null +++ b/js/matrix.js @@ -0,0 +1,21 @@ +let q = document.getElementById('q'); +q.width = window.screen.width; +q.height = window.screen.height; + +let p = Array(256).join(1).split(''); +let c = q.getContext('2d'); + +setInterval(() => { + + c.fillStyle = 'rgba(0,0,0,0.05)'; + c.fillRect(0, 0, q.width, q.height); + c.fillStyle = 'rgba(0,255,0,1)'; + + p = p + .map((v, i) => { + r = Math.random(); + c.fillText(String.fromCharCode(Math.floor(2720 + r * 33)), i * 10, v); + v += 10; + return v > 768 + r * 1e4 ? 0 : v + }) +}, 33);