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 |
CSS Pseudo-Elements | 2,245 Kb |
Simple CSS3 Social Icons | 1,928 Kb |
CSS3 Bottle Lifts Up on Hover | 2,993 Kb |
CSS3 Change Text Selection Colour | 1,902 Kb |
CSS3 8bit Cristiano Ronaldo | 4,860 Kb |
Matrix | 1,922 Kb |
CSS3 Simple Moving Background | 1,910 Kb |
Right Sidebar List | 2,164 Kb |
CSS3 Rising Sun | 2,200 Kb |
CSS3 Rounded Corners | 1,726 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 |
Faces SVG animation | ScavengerFrontend | 2,957 Kb |
RPG Style Text Dialogue | Odylic | 2,635 Kb |
Process Accordion | Devilskitchen | 31,432 Kb |
Hmmm... | Rk007 | 4,848 Kb |
Very Simple Slider | Doodlemarks | 2,682 Kb |
Ripples in water | Nobitagit | 2,704 Kb |
Tail rose iris lined | Kbrtrm | 1,846 Kb |
Toggling Divs with jQuery | Yying6 | 1,967 Kb |
Button shaking | SusanneLundblad | 2,227 Kb |
Filtering with shuffle.js | Deyand | 2,712 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!