A Pen by Keyvan Akbary
How do I make an a pen by keyvan akbary?
Forked from Fran Pérez's Pen faGkE.. What is a a pen by keyvan akbary? How do you make a a pen by keyvan akbary? This script and codes were developed by Keyvan Akbary on 29 September 2022, Thursday.
A Pen by Keyvan Akbary - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>A Pen by Keyvan Akbary</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <script src='https://examples.framerjs.com/static/examples/google-now-overview.framer/framer/framer.js'></script> <script src="js/index.js"></script>
</body>
</html>
A Pen by Keyvan Akbary - Script Codes CSS Codes
body { background: white;
}
A Pen by Keyvan Akbary - Script Codes JS Codes
(function() { var HALO_STYLE, MIC_STYLE, animateLayers, animating, generateRandomFactor, haloLayer, init, initHaloLayer, initMicLayer, initScaleUpAnimation, micLayer, onClickMic, scaleDownAnimation, scaleUpAnimation, stopAnimations; MIC_STYLE = { x: 100, y: 100, width: 72, height: 72, borderRadius: "100px", backgroundColor: "blue" }; HALO_STYLE = { x: 100, y: 100, width: 72, height: 72, opacity: .05, borderRadius: "100px", backgroundColor: "black" }; animating = false; micLayer = null; haloLayer = null; scaleUpAnimation = null; scaleDownAnimation = null; init = function() { micLayer = initMicLayer(onClickMic); return haloLayer = initHaloLayer(micLayer); }; initMicLayer = function(clickCallback) { var layer; layer = new Layer(MIC_STYLE); layer.on(Events.Click, clickCallback); return layer; }; initHaloLayer = function(parentLayer) { var layer; layer = new Layer(HALO_STYLE); layer.superLayer = parentLayer.superLayer; layer.placeBehind(parentLayer); return layer; }; onClickMic = function() { if (animating) { animating = false; return stopAnimations(); } else { animating = true; return animateLayers(); } }; stopAnimations = function() { scaleUpAnimation.stop(); return scaleDownAnimation.stop(); }; animateLayers = function() { scaleUpAnimation = initScaleUpAnimation(); scaleDownAnimation = scaleUpAnimation.reverse(); scaleDownAnimation.on("end", animateLayers); return scaleUpAnimation.on("end", scaleDownAnimation.start); }; initScaleUpAnimation = function() { var factor; factor = generateRandomFactor(1.2, 2); return haloLayer.animate({ properties: { scale: factor }, curve: "ease-out", time: factor * 0.13 }); }; generateRandomFactor = function(min, max) { return Math.random() * (max - min) + min; }; init();
}).call(this);
Developer | Keyvan Akbary |
Username | keyvanakbary |
Uploaded | September 29, 2022 |
Rating | 3 |
Size | 2,866 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 |
Radix Tree | 3,161 Kb |
A Pen by Keyvan Akbary | 3,684 Kb |
A Pen by Keyvan Akbary | 3,541 Kb |
Functional Inheritance | 2,266 Kb |
Trie | 2,756 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 |
Animated Vertical CSS3 Menu Black | MaCeLMp4 | 2,750 Kb |
Flip test | Madhes | 1,635 Kb |
Css3 slide | Nakome | 3,190 Kb |
Direction-icon | Alexandremasy | 3,323 Kb |
Experiment | Toddmoy | 2,849 Kb |
Ghost Buttons with CSS3 | Mithicher | 2,509 Kb |
BenU Maintenance Site | Ksherman | 4,893 Kb |
Button Option Group | Honchoman | 1,859 Kb |
Adding and Removing Element | Accimeesterlin | 2,119 Kb |
Blog demo to use given styling | Andygirl | 2,412 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!