A Pen by Edwin Jaquez
How do I make an a pen by edwin jaquez?
What is a a pen by edwin jaquez? How do you make a a pen by edwin jaquez? This script and codes were developed by Edwin Jaquez on 01 October 2022, Saturday.
A Pen by Edwin Jaquez - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>A Pen by Edwin Jaquez</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <canvas id="c"></canvas> <script src="js/index.js"></script>
</body>
</html>
A Pen by Edwin Jaquez - Script Codes CSS Codes
body { margin: 0; }
canvas { background: #CFF09E; display: block; }
A Pen by Edwin Jaquez - Script Codes JS Codes
(function(){ var c = document.getElementById("c"), ctx = c.getContext("2d"); c.width = innerWidth; c.height = innerHeight; var lines = [], maxSpeed = 5, spacing = 5, xSpacing = 0, n = innerWidth / spacing, colors = ["#3B8686", "#79BD9A", "#A8DBA8", "#0B486B"], i; for (i = 0; i < n; i++){ xSpacing += spacing; lines.push({ x: xSpacing, y: Math.round(Math.random()*c.height), width: 2, height: Math.round(Math.random()*(innerHeight/10)), speed: Math.random()*maxSpeed + 1, color: colors[Math.floor(Math.random() * colors.length)] }); } function draw(){ var i; ctx.clearRect(0,0,c.width,c.height); for (i = 0; i < n; i++){ ctx.fillStyle = lines[i].color; ctx.fillRect(lines[i].x, lines[i].y, lines[i].width, lines[i].height); lines[i].y += lines[i].speed; if (lines[i].y > c.height) lines[i].y = 0 - lines[i].height; } requestAnimationFrame(draw); } draw();
}());
Developer | Edwin Jaquez |
Username | ejbronze |
Uploaded | October 01, 2022 |
Rating | 3 |
Size | 1,973 Kb |
Views | 28,336 |
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 |
Home Page Demo | 1,513 Kb |
Eunice A | 2,203 Kb |
Discussion Page | 1,495 Kb |
Home Page | 1,536 Kb |
Donut Shop- FAQ | 2,262 Kb |
Donut Shop- Contact Us | 2,139 Kb |
Donut Shop-Story | 2,701 Kb |
Table | 1,662 Kb |
Favorite Places | 1,572 Kb |
Donut Shop- Locations | 2,134 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 |
Sketchy Box | Mnicpt | 3,033 Kb |
BSP Dungeon Generation | Xgundam05 | 5,326 Kb |
Sticky Navbar | Phantomesse | 5,106 Kb |
Popover Example | Seanboom | 2,429 Kb |
Airbnb Homepage | SindhujaD | 2,480 Kb |
Modal Dialog | Gigaleet | 2,251 Kb |
A Pen by Alex Edwards | Exards | 8,218 Kb |
CSS3 Snow Animation | NickyCDK | 1,695 Kb |
Box-sizing | Elad2412 | 1,572 Kb |
Css Rotating 3d cubes different speed | Dghez | 2,364 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!