Sarcastic stick man animejs

Developer
Size
4,554 Kb
Views
12,144

How do I make an sarcastic stick man animejs?

Well done. . What is a sarcastic stick man animejs? How do you make a sarcastic stick man animejs? This script and codes were developed by Houbly on 28 November 2022, Monday.

Sarcastic stick man animejs Previews

Sarcastic stick man animejs - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Sarcastic stick man animejs</title> <link href="https://fonts.googleapis.com/css?family=Boogaloo" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"><button id="start">Push his button</button>	<svg viewBox="0 0 1000 1000">	<ellipse id="Shadow" fill="#E6E6E6" cx="486" cy="891" rx="76" ry="14.7"/>	<line id="Spine" fill="none" stroke="#000" stroke-width="10" stroke-linecap="round" x1="509" y1="502.3" x2="504" y2="716.3"/>	<path id="RightArm" fill="none" stroke="#000" stroke-width="10" stroke-linecap="round" d="M508,548.3C472.5,607.1999999999999,466.6,668.0999999999999,463.5,718.3"/>	<path id="LeftArm" fill="none" stroke="#000" stroke-width="10" stroke-linecap="round" d="M508,548.3C519.3,548.3,549,671.3,549,718.3"/>	<path id="LeftLeg" fill="none" stroke="#000" stroke-width="10" stroke-linecap="round" d="M504,716.3c8.3,0,30,124.5,30,172"/>	<path id="RightLeg" fill="none" stroke="#000" stroke-width="10" stroke-linecap="round" d="M504,716.3c-9.9,0-29,128.8-29,175"/>	<ellipse fill="#D9CBB8" stroke="#000" stroke-width="10" cx="508.5" cy="424.8" rx="77.5" ry="77.5"/>	<ellipse fill="#FFF" opacity="0.5" cx="515.7" cy="414.7" rx="59" ry="59"/>	<ellipse fill="#fff" cx="533.5" cy="380.3" rx="15.5" ry="15.5"/>	<line id="IndifferentMouth" fill="none" stroke="#000" stroke-width="5" stroke-linecap="round" x1="486.5" y1="457.8" x2="532.5" y2="457.8"/>	<path id="LeftEye" d="M479,425.5c0,4.3-3.5,7.8-7.8,7.8c-4.3,0-7.8-3.5-7.8-7.8c0,0,1.9-0.8,7.7-0.8S479,425.5,479,425.5z"/>	<path id="RightEye" d="M554,425.5c0,4.3-3.5,7.8-7.8,7.8s-7.8-3.5-7.8-7.8c0,0,1.9-0.8,7.7-0.8C552.2,424.8,554,425.5,554,425.5z	"/>	<path fill="none" id="HatMotion" d="M562.2,371.5c0,0,73.7,210.5,4,363"/>	<g id="PartyHat">	<g id="rotate" transform="translate(-39)">	<polygon fill="#29ABE2" points="10.4,117.6 93.9,41.6 41.4,9.1	"/>	<g>	<polygon fill="#FBB03B" points="42.2,64.6 37.8,75.4 26.5,77.9 35.4,85.4 34.4,95.8 56.9,75.3 48.1,74.6	"/>	<polygon fill="#FBB03B" points="39.6,49.5 50.2,54.1 47.4,42.8 55.1,34.1 43.5,33.3 37.6,23.3 36.7,25.5 30.5,47.3 29.7,55.6	"/>	<polygon fill="#FBB03B" points="75.6,39.6 72.5,47.3 64.3,49.1 70.7,54.4 69.9,62.7 72.2,61.3 87.6,47.3 79.8,46.7	"/>	</g>	<polygon opacity="0.5" fill="#fff" points="10.4,117.6 93.9,41.6 77.5,31.4	"/>	<polygon fill="none" stroke="#000" stroke-width="7.1222" stroke-linejoin="round" points="99.7,41 3.6,128.7 39.3,3.6	"/>
</g>	</g>	<rect ></rect>
</svg>
<div class="speech">Congrats.</div>
</div> <script src='https://cdnjs.cloudflare.com/ajax/libs/animejs/2.0.0/anime.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Sarcastic stick man animejs - Script Codes CSS Codes

body { font-family: "Boogaloo";
}
svg { height: 100vh; margin: 0 auto; display: block; position: relative; z-index: 10;
}
.container { position: relative;
}
button { position: absolute; left: 0; top: 0; font-size: 3vh; padding: 1em 2em; text-transform: uppercase; display: inline-block; border-radius: 2em; z-index: 100; background: #cc0000; color: #ffffff; border: 1vh solid #000000; font-family: inherit; position: relative; cursor: pointer; overflow: hidden;
}
button::before { content: ""; position: absolute; width: 90%; height: 80%; border-radius: 1.5em; border-right: 1vh solid #ffffff; border-left: 1vh solid #000000; top: 0.95vh; right: 0.7vh; opacity: 0.5;
}
button::after { content: ""; position: absolute; display: block; height: 120%; border-radius: 50%; right: 100%; top: 50%; transform: translateY(-50%); width: 20%; opacity: 0.3; border-left: 4vh double #fff;
}
button:hover::after { animation: swipe 1s ease-in forwards;
}
@keyframes swipe { 0% { opacity: 0.4; transform: translateX(0) translateY(-50%); } 100% { opacity: 0.8; transform: translateX(500%) translateY(-50%) scaleX(0.2); }
}
.speech { position: absolute; font-size: 15vh; top: 2vh; left: 20vh; padding: 10vh; display: block; border-radius: 500%; transform: scale(0); transform-origin: center bottom; color: #666; border: 5vh solid #ccc; text-transform: uppercase; opacity: 0; transition: transform 0.3s cubic-bezier(0.15, 0.91, 1, 1.56), opacity 0.3s cubic-bezier(0.15, 0.91, 1, 1.56);
}
.speech.in { opacity: 1; transform: rotate(-10deg) scale(1);
}
#PartyHat { height: 10em; position: absolute; top: 0; left: 0;
}

Sarcastic stick man animejs - Script Codes JS Codes

$("#start").click(function(){
});
var paths = {	rightArmUp: "M508,548.3C519.3,548.3,413.7,557.5,413.7,457.79999999999995",	leftArmUp: "M508,548.3C486.5,637,393.7,503,355.2,528.5",	rightClap: "M508,548.3C519.3,548.3,405.7,553.5,375.7,469.99999999999994",	leftClap: "M508,548.3C486.5,637,384.7,511,369.7,479.5"
}
var clapPosition = anime.timeline({	onComplete: clap()
});
clapPosition	.add({	targets: "#RightArm",	d: [	{value: paths.rightArmUp}	],	loop: true,	delay: 500,	duration: 1000,	easing: "easeOutQuad"
})
.add({	targets: "#LeftArm",	d: [	{value: paths.leftArmUp}	],	delay: 500,	offset: 0,	loop: true,	duration: 1000,	easing: "easeOutQuad"
});
function clap(){	var rightClap = anime({	targets: "#RightArm",	d: [paths.rightArmUp, paths.rightClap],	duration: 350,	easing: "easeInSine",	direction: "alternate",	loop: 30	})	var leftClap = anime({	targets: "#LeftArm",	d: [paths.leftArmUp, paths.leftClap],	duration: 350,	easing: "easeInSine",	direction: "alternate",	loop: 30,	onComplete: function(){	anime({	targets: "#LeftArm"	})	}	})
}
var lBlink = anime({	targets: "#LeftEye",	d: "M479,425.5c0,4.3-3.5,7.8-7.8,7.8c-4.3,0-7.8-3.5-7.8-7.8c0,0,1.9,6.6,7.7,6.6S479,425.5,479,425.5z",	duration: 250,	direction: "alternate",	loop: true,	easing: "easeInQuad",	delay: 1000
});
var rBlink = anime({	targets: "#RightEye",	d: "M554,425.5c0,4.3-3.5,7.8-7.8,7.8s-7.8-3.5-7.8-7.8c0,0,1.9,6.6,7.7,6.6C552.2,432.1,554,425.5,554,425.5z",	duration: 250,	direction: "alternate",	loop: true,	easing: "easeInQuad",	delay: 1000
})
var hatPath = anime.path('#HatMotion');
var partyHat = anime({ targets: '#PartyHat',	translateX: hatPath('x'),	translateY: hatPath('y'), easing: 'linear',	direction: "reverse", duration: 2000
});
anime({	targets: "#rotate",	rotate: "-195deg",	easing: "linear",
})
Sarcastic stick man animejs - Script Codes
Sarcastic stick man animejs - Script Codes
Home Page Home
Developer Houbly
Username houbly
Uploaded November 28, 2022
Rating 3
Size 4,554 Kb
Views 12,144
Do you need developer help for Sarcastic stick man animejs?

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!

Houbly (houbly) Script Codes
Create amazing art & images with AI!

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!