SVG Animation
How do I make an svg animation?
Svg animation of pteradon.. What is a svg animation? How do you make a svg animation? This script and codes were developed by Pollardld on 08 November 2022, Tuesday.
SVG Animation - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>SVG Animation</title> <link href='https://fonts.googleapis.com/css?family=Raleway:300' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h1>Pteradon Animation</h1>
<p>Proof of concept, add more frames for smoother transition. For additional frames, use values="...", where ellipses are the transition points in between from and to, to the animate tags.</p>
<svg version="1.1" id="pteradon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 200 200">
<g> <path id="wing" display="inline" fill="#5a9a1a" stroke="#228811" stroke-miterlimit="10" d="M90.9,96.9c-5.6-3.2-15.3-4.1-32.1,4.2 c-1.5,0.7-2.3,2.4-3.1,3.7c-1.2,1.9-2.3,3.9-3.5,5.8l-3.6,3.1l-1.7,1.7c1.6-0.2,2.2-0.9,2.9-0.8c0.1,1.2-0.4,2.3-0.6,3.4 c-0.4,2-0.7,3.9-0.9,5.9c-0.3,3.7-0.3,7.4-0.3,11.1c0,2-0.2,4.2,0.2,6.2c0.2,0.8,1.1,7.7,2.1,7.7c-0.1-4.3,1.2-9,2.6-13.1 c1.6-4.5,3.1-8.9,4.7-13.4c1.8-5.1,4.1-9.3,7.9-13.3c1.3-1.4,2.6-2.7,4-3.9c0.6-0.6,9.7-5.1,10.5-5.1"> <animate attributeName="d" from="M90.9,96.9c-5.6-3.2-15.3-4.1-32.1,4.2 c-1.5,0.7-2.3,2.4-3.1,3.7c-1.2,1.9-2.3,3.9-3.5,5.8l-3.6,3.1l-1.7,1.7c1.6-0.2,2.2-0.9,2.9-0.8c0.1,1.2-0.4,2.3-0.6,3.4 c-0.4,2-0.7,3.9-0.9,5.9c-0.3,3.7-0.3,7.4-0.3,11.1c0,2-0.2,4.2,0.2,6.2c0.2,0.8,1.1,7.7,2.1,7.7c-0.1-4.3,1.2-9,2.6-13.1 c1.6-4.5,3.1-8.9,4.7-13.4c1.8-5.1,4.1-9.3,7.9-13.3c1.3-1.4,2.6-2.7,4-3.9c0.6-0.6,9.7-5.1,10.5-5.1" to="M76.4,99.5c-3.2-0.6-5.3-4-8.4-4.9c-1.6-0.5-2.3-2.4-3.1-3.7 c-1.2-1.9-2.3-3.9-3.5-5.8c-0.8-1.3-2.9-3.5-4.5-2c-0.5-0.2,1-1.2,0.9-1.1l1.1-0.9c0.1-1.2-0.4-2.3-0.6-3.4c-0.4-2-0.7-3.9-0.9-5.9 c-0.3-3.7-0.3-7.4-0.3-11.1c0-2-0.2-4.2,0.2-6.2c0.2-0.8,1.1-7.7,2.1-7.7c-0.1,4.3,1.2,9,2.6,13.1c1.6,4.5,3.1,8.9,4.7,13.4 c1.8,5.1,4.1,9.3,7.9,13.3c1.3,1.4,2.6,2.7,4,3.9c0.6,0.6,10.7,6.1,11.5,6.1" dur="2s" repeatCount="indefinite" />
</path>
<path display="inline" fill="#5a9a1a" stroke="#228811" stroke-miterlimit="10" d="M94.8,97.5c0,0,10.6,2.5,13.6,4.1 c5,2.7,10.5,6.8,14.5,10.8c0.6,0.6,4.1,5.4,4.6,6.1c3.1,4.3,5.7,8,8.9,12.3c5.6,7.7,11.2,15.8,16.8,23.5L141,141.5 c-3.8-4.6-7.4-9.4-11.2-14c-3.8-4.6-7.1-9.5-10.8-14.2c-2.1-2.6-5.4-4.9-8.5-6.7c-2.1-1.2-6.8-2.8-9-3.9c-0.9-0.4-7.3-0.2-9.1,1 c-1.5,0.9-7.1-0.1-7.1-0.1C87.4,99.2,94.8,97.5,94.8,97.5z"> <animate attributeName="d" from="M94.8,97.5c0,0,10.6,2.5,13.6,4.1 c5,2.7,10.5,6.8,14.5,10.8c0.6,0.6,4.1,5.4,4.6,6.1c3.1,4.3,5.7,8,8.9,12.3c5.6,7.7,11.2,15.8,16.8,23.5L141,141.5 c-3.8-4.6-7.4-9.4-11.2-14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109.5,62.7,109.5z"/>
</g>
</svg>
</body>
</html>
SVG Animation - Script Codes CSS Codes
body { background: #DDBABA;
}
h1 { color: #D84149; text-align: center; font-family: 'Raleway', sans-serif; font-size: 3em; margin: .75em auto .5em;
}
p { color: #984149; font-family: 'Raleway', sans-serif; margin: 2em auto -4em; width: 80%;
}
svg { margin: 0; height: 30em;
}
Developer | Pollardld |
Username | pollardld |
Uploaded | November 08, 2022 |
Rating | 3 |
Size | 3,133 Kb |
Views | 16,192 |
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 |
Animation mixin | 2,649 Kb |
FCC Vote Date - PSA | 2,049 Kb |
New Header | 4,805 Kb |
My Map | 3,867 Kb |
Alta Map Spartanburg | 4,679 Kb |
Mapbox Directions, GeoLocation, Tracking, and Firebase | 6,788 Kb |
Turkey Hunting with Horizontal Lines | 7,568 Kb |
Paypal checkout svg | 21,662 Kb |
Mapbox Directions with geolocation tracking | 5,827 Kb |
CSS Accordion | 3,972 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 |
Out of the blue | Giaco | 2,537 Kb |
Twinkling Stars | Ripley6811 | 2,750 Kb |
Iron Man SVG Loading Animation | Andythayer | 3,069 Kb |
A bit of elegance | Hackthevoid | 9,095 Kb |
Get third wednesday | Wojtek1150 | 2,691 Kb |
Zeichensatz | Moklick | 2,058 Kb |
CSS3 Diamond | Rendro | 1,960 Kb |
Banner Ad | Raquellorenzana | 4,172 Kb |
Parallax.js | Zmeeey5 | 2,330 Kb |
A Pen by Gregory Potdevin | GregoryPotdevin | 1,713 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!