Matrix
How do I make an matrix?
What is a matrix? How do you make a matrix? This script and codes were developed by Stathis Nikolaidis on 30 August 2022, Tuesday.
Matrix - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Matrix</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <canvas id="matrix"></canvas> <script src="js/index.js"></script>
</body>
</html>
Matrix - Script Codes CSS Codes
body{ background:black;
}
canvas{ display:block;
}
* { margin:0; padding:0;
}
Matrix - Script Codes JS Codes
var c = document.getElementById("matrix");
var ctx = c.getContext("2d");
c.height = window.innerHeight;
c.width = window.innerWidth;
var theString = "Stathis Nikolaidis";
theString = theString.split("");
var font_size = 12;
var columns = c.width/font_size;
var drops = [];
for(var x = 0; x < columns; x++) drops[x] = 1;
function draw(){ ctx.fillStyle = "rgba(0, 0, 0, 0.05)"; ctx.fillRect(0, 0, c.width, c.height); ctx.fillStyle = "#0F0"; ctx.font = font_size + "px arial"; for(var i = 0; i < drops.length; i++){ var text = theString[Math.floor(Math.random()*theString.length)]; ctx.fillText(text, i*font_size, drops[i]*font_size); if(drops[i]*font_size > c.height && Math.random() > 0.975) drops[i] = 0; drops[i]++; }
}
setInterval(draw, 30);
Developer | Stathis Nikolaidis |
Username | stathisnikolaidis |
Uploaded | August 30, 2022 |
Rating | 3 |
Size | 1,922 Kb |
Views | 30,360 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
CSS3 Rising Sun | 2,200 Kb |
CSS3 8bit Cristiano Ronaldo | 4,860 Kb |
CSS3 Bottle Lifts Up on Hover | 2,993 Kb |
CSS3 Rounded Corners | 1,726 Kb |
CSS3 Simple Moving Background | 1,910 Kb |
Simple CSS3 Social Icons | 1,928 Kb |
CSS3 Change Text Selection Colour | 1,902 Kb |
CSS Pseudo-Elements | 2,245 Kb |
Right Sidebar List | 2,164 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
A Pen by Alex Bergin | Abergin | 3,347 Kb |
A Pen by Anoop | Anoopjohn | 330,760 Kb |
Flower expansion | Sreucherand | 3,425 Kb |
Underlined form fields | Mitchdot | 2,323 Kb |
LDE old privacy page | Jasonangle | 2,339 Kb |
Canvas Fireworks | Jackrugile | 6,200 Kb |
Print element on a page | Mrs_snow | 2,081 Kb |
A Pen by Oliver Schafeld | Schafeld | 1,720 Kb |
A Pen by Bryan Rojas | Bryanrojas | 1,873 Kb |
React Recipe Box | Krokodill | 5,347 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!