Buckets:
| <html lang="hu"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Mátrix Kód - Vidák József Kornél</title> | |
| <style> | |
| body { | |
| margin: 0; | |
| padding: 0; | |
| background: black; | |
| overflow: hidden; | |
| color: #0F0; | |
| font-family: 'Courier New', Courier, monospace; | |
| } | |
| canvas { | |
| display: block; | |
| } | |
| #overlay { | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%); | |
| text-align: center; | |
| background: rgba(0, 0, 0, 0.7); | |
| padding: 20px; | |
| border: 2px solid #0F0; | |
| box-shadow: 0 0 20px #0F0; | |
| pointer-events: none; | |
| } | |
| h1 { | |
| font-size: 3em; | |
| margin: 0; | |
| text-transform: uppercase; | |
| letter-spacing: 5px; | |
| } | |
| p { | |
| font-size: 1.5em; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div id="overlay"> | |
| <h1>VIDÁK JÓZSEF KORNÉL</h1> | |
| <p>GLOBÁLIS DIGITÁLIS KIRÁLY</p> | |
| </div> | |
| <canvas id="matrix"></canvas> | |
| <script> | |
| const canvas = document.getElementById('matrix'); | |
| const ctx = canvas.getContext('2d'); | |
| canvas.width = window.innerWidth; | |
| canvas.height = window.innerHeight; | |
| const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789$+-*/=%\"\'#&_(),.;:?!\\|{}<>[]^~'; | |
| const fontSize = 16; | |
| const columns = canvas.width / fontSize; | |
| const drops = []; | |
| for (let x = 0; x < columns; x++) { | |
| drops[x] = 1; | |
| } | |
| function draw() { | |
| ctx.fillStyle = 'rgba(0, 0, 0, 0.05)'; | |
| ctx.fillRect(0, 0, canvas.width, canvas.height); | |
| ctx.fillStyle = '#0F0'; | |
| ctx.font = fontSize + 'px arial'; | |
| for (let i = 0; i < drops.length; i++) { | |
| const text = characters.charAt(Math.floor(Math.random() * characters.length)); | |
| ctx.fillText(text, i * fontSize, drops[i] * fontSize); | |
| if (drops[i] * fontSize > canvas.height && Math.random() > 0.975) { | |
| drops[i] = 0; | |
| } | |
| drops[i]++; | |
| } | |
| } | |
| setInterval(draw, 33); | |
| window.addEventListener('resize', () => { | |
| canvas.width = window.innerWidth; | |
| canvas.height = window.innerHeight; | |
| }); | |
| </script> | |
| </body> | |
| </html> | |
Xet Storage Details
- Size:
- 2.49 kB
- Xet hash:
- ffb78611a2f8bcd0923926471fdda3fa80900a1480f0da2b2b138904a110eacb
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.