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);
![Matrix - Script Codes](http://shots.codepen.io/stathisnikolaidis/pen/AejEf-512.jpg)
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 Change Text Selection Colour | 1,902 Kb |
Right Sidebar List | 2,164 Kb |
CSS3 Rising Sun | 2,200 Kb |
CSS3 Bottle Lifts Up on Hover | 2,993 Kb |
CSS3 Rounded Corners | 1,726 Kb |
Simple CSS3 Social Icons | 1,928 Kb |
CSS Pseudo-Elements | 2,245 Kb |
CSS3 Simple Moving Background | 1,910 Kb |
CSS3 8bit Cristiano Ronaldo | 4,860 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 |
CSS background-size - GSAP | Jonathan | 2,209 Kb |
V.35 The Monolith Update - Hero Release Notes | Jordan | 12,045 Kb |
Part 19 Bootstrap split button dropdown | Venkatesha | 1,601 Kb |
Midterm dry run | Jds317 | 1,649 Kb |
Donald Trump - The New Yorker | Agbales | 2,502 Kb |
A Pen by Theun | Tjoen | 6,152 Kb |
NeeilTimer | Neeilan | 2,836 Kb |
Out of the blue | Giaco | 2,537 Kb |
React Vote Component | Souporserious | 5,465 Kb |
CSS Patterns | Alyda | 3,953 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!