Geometric
How do I make an geometric?
What is a geometric? How do you make a geometric? This script and codes were developed by Elliot Geno on 11 September 2022, Sunday.
Geometric - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Geometric</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 500 500"> <defs> <rect id="shape" stroke="cyan" stroke-width="2" fill="none" width="100" height="100"/> </defs> <g class="container"> </g>
</svg> <script src='https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/TweenMax.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Geometric - Script Codes CSS Codes
body{ margin:0; background:black;
}
svg{ width:100%; height:100%; position:fixed; top:0; left:0;
}
Geometric - Script Codes JS Codes
var container = document.querySelector(".container");
var template = document.querySelector(".template");
var shape = document.querySelector("#shape");
var numShapes = 12;
var radius = 100;
var centerX = 200;
var centerY = 200;
var increment =(Math.PI*2)/numShapes;
var angleIncrement = 360/numShapes;
for(var i = 0; i< numShapes; i++){ var shape = shape.cloneNode(true); container.appendChild(shape); var angle = increment*i; TweenMax.set(shape,{x:(Math.cos(angle)*radius)+centerX,y:(Math.sin(angle)*radius)+centerY,rotation:45});
}
Developer | Elliot Geno |
Username | pyrografix |
Uploaded | September 11, 2022 |
Rating | 3 |
Size | 1,977 Kb |
Views | 34,408 |
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 |
Prism | 2,843 Kb |
Coaster SVG | 2,133 Kb |
Gravitational Wave IS DARTH VADER | 6,134 Kb |
Cat Silhouette | 4,447 Kb |
Crash Loader | 2,615 Kb |
One Percent | 2,919 Kb |
Gnat Attack | 4,914 Kb |
Clock | 1,978 Kb |
Purple Nurple | 5,008 Kb |
Stained Glass | 2,127 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 |
Flat buttons for Eliassen.com | Kdooley89 | 1,737 Kb |
SVG email test v2.0 | M_J_Robbins | 2,090 Kb |
Dribbble Template | ExtremelyGinger | 2,204 Kb |
Freecodecamp - Tribute Page | Samoht513 | 3,583 Kb |
Addthis_button | Esambino | 1,691 Kb |
Materializecss input form | Jasonchan | 1,443 Kb |
Swiftype Lower Third | Zumwalt | 4,796 Kb |
Kudos Please | TimPietrusky | 6,624 Kb |
Horizontal Navigation with Floats | Gymratpacks | 5,403 Kb |
Portfolio Page | KaylaMT | 1,983 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!