Fan Loader
How do I make an fan loader?
What is a fan loader? How do you make a fan loader? This script and codes were developed by Tina Anastopoulos on 31 August 2022, Wednesday.
Fan Loader - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Fan Loader</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <script src='https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.7/p5.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Fan Loader - Script Codes CSS Codes
body { margin: 0; padding: 0; background: #141414; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
}
Fan Loader - Script Codes JS Codes
var t, theta, numb = 4, maxFrameCount = 100, a = 31, b = 7;
function setup() { createCanvas(540, 540); noFill(); strokeWeight(3); frameRate(30);
}
function draw() { background(20); translate(width/2, height/2); t = frameCount/maxFrameCount; theta = TWO_PI*t; for ( var x= 0; x <= 300; x += 15) { for (var i = 0; i < numb-1; i++) { var rot = TWO_PI/numb*i; var offSet = (i*b)+(x*a); var sz1 = map(cos(-(theta)+offSet), 0, 1, 90, 60); var sz2 = map(sin(-(theta)+offSet), 0, 1, 60, 90); stroke(160-(x/3), 150-(x/2), 105+(x/3)); rotate(rot); arc(0, 0, x, x, radians(sz2), radians(sz1)); } }
}
Developer | Tina Anastopoulos |
Username | TWAIN |
Uploaded | August 31, 2022 |
Rating | 4 |
Size | 2,190 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 |
CSS Toaster | 4,766 Kb |
Lens Illusion - p5.js | 2,366 Kb |
Pixel World Map - p5.js | 2,692 Kb |
Dash Holiday Tree | 3,094 Kb |
Donut | 7,169 Kb |
Octagram Swirl | 2,113 Kb |
Hexagon Fade | 2,059 Kb |
Web Spiral - p5.js | 2,183 Kb |
Fruity Frenzy | 3,132 Kb |
Year of the Rooster | 4,403 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 |
Simple Carousel Pure CSS | Dangvanthanh | 4,080 Kb |
Import shader in three.js | Khangeldy | 2,636 Kb |
Isometric css island | Xaddict | 2,950 Kb |
Mosaic transition effect between two photos using jQuery | Stathisg | 2,518 Kb |
Simple Buttons | Haydenmills | 1,750 Kb |
Canvas Orbital Trails v2 | Jackrugile | 3,421 Kb |
Jstam.com Home Page | Jstam | 10,558 Kb |
Tic Tac Toe | Volv | 4,862 Kb |
RWD Conversion Practice | Jxqr97 | 2,743 Kb |
Tail rose iris lined | Kbrtrm | 1,846 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!