Random Astroids
How do I make an random astroids?
What is a random astroids? How do you make a random astroids? This script and codes were developed by Luuk Lamers on 22 January 2023, Sunday.
Random Astroids - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Random Astroids</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">
</head>
<body> <script src="js/index.js"></script>
</body>
</html>
Random Astroids - Script Codes JS Codes
var r = 50;
var offset = 10;
var part = (2 * Math.PI) / 36;
function draw(){ var SVGString = ''; for(var i = 1; i < 36; i++) { var x = r + offset + Math.cos(part * i) * r * ((Math.random()/10)+1); var y = r + offset + Math.sin(part * i) * r * ((Math.random()/10)+1); if(i == 1){ SVGString += 'M'+x+','+y+' '; } SVGString += 'L'+x+','+y+' '; } SVGString += 'Z'; document.write("<svg width='120' viewBox='0 0 120 120'><path d='"+SVGString+"' fill='#eee' stroke='black' stroke-width='4'><animateTransform attributeName='transform' attributeType='XML' type='rotate' from='0 60 60' to='360 60 60' dur='10s' repeatCount='indefinite'/></path></svg>");
}
for(var i = 0;i < 200; i++) { draw();
}
Developer | Luuk Lamers |
Username | xaddict |
Uploaded | January 22, 2023 |
Rating | 3 |
Size | 1,792 Kb |
Views | 6,072 |
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 |
Flexbox layout sidebars and content | 5,099 Kb |
CSS Hex Color Clock | 3,351 Kb |
3D valve | 2,396 Kb |
CSS object-fit fallback with plain JS | 4,895 Kb |
CSS3 Spinners | 2,878 Kb |
SVG animated patterns | 2,463 Kb |
Big Chat | 3,492 Kb |
CSS 3D Card Deck | 3,025 Kb |
Individual Element rotation | 6,597 Kb |
Progress circle | 2,700 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 |
The Fly | GianlucaGuarini | 3,405 Kb |
700 Synapses Per Second | Silentkrange | 2,138 Kb |
Simple personal profile | Miroot | 2,856 Kb |
React Template | Isac | 1,241 Kb |
Social Profiles | Lachlanjc | 1,939 Kb |
Collapsing Widget | Er40 | 4,279 Kb |
Import shader in three.js | Khangeldy | 2,636 Kb |
CSS Link Icons with jQuery Titles | Nicwinn | 2,312 Kb |
Jstam.com Home Page | Jstam | 10,558 Kb |
A Pen by Paul Sullivan | Pwsm50 | 2,349 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!