Clock arm animation

Developer
Size
5,134 Kb
Views
44,528

How do I make an clock arm animation?

What is a clock arm animation? How do you make a clock arm animation? This script and codes were developed by Ann Kwilinski on 25 July 2022, Monday.

Clock arm animation Previews

Clock arm animation - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Clock arm animation</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <div class="timeofday"> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" height="200" width="200" viewBox="0 0 200 200" enable-background="new 0 0 200 200" xml:space="preserve"> <defs>
<filter xmlns="http://www.w3.org/2000/svg" id="shadow" height="130%">	<feGaussianBlur in="SourceAlpha" stdDeviation="0"/>	<feOffset dx="3" dy="3" result="offsetblur"/>	<feComponentTransfer>	<feFuncA type="linear" slope="0.2"/>	</feComponentTransfer>	<feMerge>	<feMergeNode/>	<feMergeNode in="SourceGraphic"/>	</feMerge>	</filter> </defs> <path style="fill:#231F20;" class="knife" d="M102.4,58.3c-0.2-0.6-0.4-1.1,0-1.7c0.5,0,0.6,0.3,0.7,0.6c0.6,1.4,1,2.9,1.2,4.4c0.5,3,0.7,6,0.8,9	c0.1,2.2,0.1,4.4,0,6.6c0,0.3-0.2,0.6-0.2,0.8c-0.4,0-0.4-0.2-0.5-0.3c-0.1-0.4-0.1-0.7-0.2-1.1c-0.2-2.4-0.4-4.8-0.5-7.3	c-0.1-1.3-0.1-2.6-0.2-3.8C103.4,63.1,103.1,60.7,102.4,58.3z M108.7,76.9c0,0.9,0,1.8-0.1,2.8c-0.1,1.4-0.8,2.3-2,3	c-0.1,0.1-0.2,0.1-0.4,0.2c-0.7,0.3-1.1,0.7-1.4,1.2c-0.4,0.4-0.7,0.9-0.7,1.6c-0.1,2.4,0.1,4.8,0.7,7.1c0,0,0,0,0,0	c0.2,1.7,0.4,3.4,0.3,5.1c0,0.2,0.6,7.6,0.6,7.8c0,0,0,0,0,0c0.1,1,0.3,2.1,0.4,3.1c0.4,2.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-0.2,1.8-0.3,3.7-0.4,5.5	c0,2-0.2,4-0.6,5.9c-0.4,2-0.5,3.9-0.4,5.9c0,0.9,0.1,1.7,0.4,2.6c0.4,1.2,1.2,2.1,2.4,2.6c0.6,0.2,1.2,0.2,1.7-0.1	c0.3-0.1,0.6-0.3,0.8-0.5c1-0.8,1.9-1.7,2.1-3.1c0.2-1,0.4-2.1,0.2-3.1c-0.1-0.9-0.2-1.7-0.3-2.6c-0.2-1.4-0.4-2.7-0.6-4.1	c-0.3-2.5-0.6-5.1-0.9-7.7c0-0.1,0-0.1,0-0.2c0,0,0,0-0.1,0c0-0.9-0.5-9.4-0.6-10.4c0-0.5-0.1-0.9-0.1-1.4c-0.1-1.5-0.3-2.9-0.4-4.4	c-0.1-0.8-0.1-1.6-0.1-2.3c0.1-0.9,0.2-1.7,0.6-2.5c0.6-1,1.3-1.9,2.5-2.3c0.7-0.3,1.1-0.8,1.1-1.6C106.7,78.6,106.7,77.8,106.7,77z	"/>
<path style="fill:black;" class="pancake" d="M167.9,96.1c-2.2-14.2-8-29.7-17.4-40.6c-17.3-20.3-44.7-21.9-69-16.3c-0.1,0-0.2-0.1-0.4-0.1	c-14,0.5-27,12.4-36.5,21.8c-4.9,4.8-8.9,10.4-11.1,16.9c-2.6,7.7-3.2,16.5-3.8,24.5c-1.2,15.3,1.7,29.4,11.6,41.5	c9.3,11.3,22.6,18.4,36.7,22c15,3.8,33,5.3,47.6-0.6c13-5.3,25.2-16.6,33.5-27.8C168,125.3,170.1,110.5,167.9,96.1z M163.5,122.2	c-4.4,13.7-16.4,25.1-27.9,33.4c-12.1,8.8-25.7,10.7-40.4,9.6c-26.9-2-57-16.3-62.1-45.6c-1.5-8.5-0.5-17.2,0.5-25.7	c1.1-9,2.2-17.8,7.7-25.4c4.4-6.1,10.4-11,16.2-15.8c7-5.8,14.4-11.1,23.7-12.1c0.2,0,0.4-0.1,0.5-0.3c18.3-4.2,38.9-3.5,55.1,6.4	c12.9,7.9,20.2,20.8,24.8,34.9C165.9,94.6,167.7,109,163.5,122.2z M147.3,65.4c-8.5-9.5-19.3-17.2-31.7-20.5	c-6.2-1.6-13.1-3.3-19.6-3.1c-2.5,0.1-4.9,0.5-7.3,1.5c-4.3,1.7-9,6.3-13.9,3.9c-0.3-0.1-0.7-0.2-0.9,0C68,51.4,62,55.7,56.1,60	c-0.3,0.2-0.4,0.5-0.4,0.8C37.9,75.5,34.3,103.2,41.9,124c3.9,10.8,10.3,18.3,20.5,23.6c11.2,5.8,23.3,11.3,35.9,12.9	c10.6,1.3,21.9-0.1,31-6c9.6-6.2,16.5-16.3,22.1-26c5.9-10.5,10.5-22.6,9.5-34.8C160.1,82.9,154.5,73.3,147.3,65.4z M155.6,114.4	c-4.3,12-11.8,24.5-21.2,33.3c-21.1,19.8-54,9.3-75.6-4.2c-13.3-8.3-18.7-25.1-19.2-40.1C39.2,88,44.9,72.2,56.3,61.7	c0.2,0.1,0.4,0,0.7-0.1c4.3-3,8.5-6.1,12.8-9.1c1.2-0.9,3.5-3.3,4.9-3.5c-0.1,0,1.9,0.8,2.2,0.9c2,0.4,4.1-0.6,5.9-1.4	c3.1-1.4,5.8-3.4,9.2-4.2c4.2-1,8.5-0.3,12.6,0.4c6.7,1.2,13.5,2.6,19.7,5.5c10.8,5.2,20.8,14.2,27.4,24.2	C160,86.6,160.5,100.7,155.6,114.4z M52.1,113.9c-1.5,0.5-3-0.5-3.6-1.9c-0.5-1,0.8-1.8,1.5-0.9c0.5,0.6,1.4,0.8,2.1,0.9	C53.1,112.3,52.9,113.7,52.1,113.9z M55.8,117.7c0.6,0.8-0.4,1.8-1.1,1.1c-0.1-0.1-0.2-0.2-0.3-0.3c-0.1-0.1-0.3-0.2-0.4-0.3	c-0.3-0.4-0.4-0.9,0-1.3c0.3-0.3,0.9-0.4,1.3,0C55.5,117.2,55.6,117.5,55.8,117.7z M51.4,122.4c-0.4-0.3-0.9-0.5-1.3-0.8	c-0.9-0.5-0.1-1.7,0.8-1.3c0.4,0.2,0.8,0.4,1.2,0.5C53.3,121.2,52.4,123,51.4,122.4z M103.2,147.2c-1.1,0-1.1-1.6,0-1.6	C104.2,145.5,104.2,147.2,103.2,147.2z M95.2,149.7c-1,0-1-1.5,0-1.5C96.1,148.3,96.1,149.7,95.2,149.7z M101.8,151.8	c-1,0-1-1.5,0-1.5C102.8,150.2,102.8,151.8,101.8,151.8z M131.9,64.3c0,0.7,0,1.3,0.1,2c0.1,1-1.7,1-1.6,0c0-0.7,0.1-1.3,0.1-2	C130.4,63.4,131.9,63.4,131.9,64.3z M127.9,59.7c0,0.7,0.1,1.5-0.1,2.2c-0.1,0.7-1.2,0.7-1.4,0c-0.1-0.7-0.1-1.5-0.1-2.2	C126.4,58.7,127.9,58.7,127.9,59.7z"/>
<path style="fill:black;" class="fork" d="M76.2,81.9c0.5-2.2,2-3.6,4.2-4.4c0.3-0.1,0.6-0.1,0.8-0.1c1.3,0.2,2.4,0.5,3.5,1.2	c1.9,1.2,3.5,2.7,4.8,4.5c2.2,2.9,4.8,5.4,7.4,7.9c0.9,0.9,4.9,4.2,5.9,5c0.7,0.6,1.5,1.2,2.2,1.8c1.3,1,2.6,2,3.9,3	c1.7,1.1,9,5.8,9.6,6.2c1.2,0.9,2.5,1.9,3.7,2.8c0.6,0.5,1.2,0.6,1.9,0.3c0.7-0.3,1.5-0.4,2.3-0.5c1.8-0.1,3.4,0.2,4.9,1.1	c1,0.6,2,1.3,2.9,2.1c1.5,1.3,3.1,2.6,4.4,4.1c1.3,1.6,2.8,3,4.3,4.5c1.1,1.1,1.9,2.4,2.8,3.5c0.1,0.2,0.3,0.4,0.3,0.6	c0,0.2,0,0.5-0.2,0.6c-0.1,0.1-0.4,0.1-0.6,0.1c-0.2-0.1-0.4-0.2-0.6-0.4c-0.5-0.5-1-0.9-1.5-1.4c-1.5-1.8-3.2-3.4-4.9-5	c-0.3-0.3-0.6-0.6-0.9-0.9c-1.6-1.9-3.5-3.4-5.4-5c-1.2-1-2.5-1.7-4.1-1.9c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-4.7c-1.2-0.7-2.5-1.4-3.7-2.2c-1.2-0.7-2.2-1.6-3.2-2.6	C76.2,85.8,75.7,83.9,76.2,81.9z M141.4,128c-1.3-1.1-2.5-2.1-3.9-3.1c-1.7-1.3-3.5-2.7-5.2-4c-0.9-0.7-1.8-1.4-2.7-2.1	c-0.2-0.1-0.4-0.3-0.6-0.4c-0.5-0.2-1,0-1.2,0.4c-0.2,0.3-0.1,0.8,0.2,1.1l0.2,0.2c1.5,1.2,3.1,2.3,4.6,3.5c0.8,0.6,1.6,1.1,2.3,1.7	c2,1.4,4,2.9,6,4.3c0.3,0.2,0.6,0.4,1,0.5c0.1,0.1,0.3,0,0.3,0c0.4-0.1,0.5-0.5,0.3-0.8C142.3,128.9,141.9,128.4,141.4,128z M137.1,120.7c-1.9-1.5-3.6-3.1-5.6-4.4c-0.3-0.2-0.6-0.4-0.9-0.6c-0.4-0.2-0.8-0.1-1.1,0.3c-0.3,0.4-0.3,0.9,0,1.2	c0.2,0.3,0.6,0.5,0.9,0.7c1.3,0.9,2.5,1.8,3.8,2.8c2.6,2,5.3,4.1,7.9,6.2c0.3,0.2,0.6,0.4,0.9,0.6c0.2,0.1,0.5,0.3,0.7,0.4	c0.2,0,0.4-0.1,0.7-0.1c-0.3-0.8-0.8-1.2-1.3-1.7C141,124.2,139.2,122.4,137.1,120.7z"/>
</svg> </div>
</div>
</body>
</html>

Clock arm animation - Script Codes CSS Codes

body { width: 100%; height: 100vh; background: linear-gradient(30deg, #06a7e2, #54cefa);
}
svg { position: absolute; top: 40%; left: 40%;
}
svg path.shadow { -webkit-box-shadow: 10px 10px 5px 0px white; -moz-box-shadow: 10px 10px 5px 0px white; box-shadow: 10px 10px 5px 0px white;
}
svg .fork { transform-origin: 40% 40%; animation-name: rotate; animation-duration: 12s; animation-iteration-count: infinite;
}
svg .knife { transform-origin: center 60%; animation-name: rotate; animation-duration: 2s; animation-iteration-count: infinite;
}
/*rotate */
@keyframes rotate { 100% { transform: rotateZ(360deg); }
}
Clock arm animation - Script Codes
Clock arm animation - Script Codes
Home Page Home
Developer Ann Kwilinski
Username ann_kwilinski
Uploaded July 25, 2022
Rating 3
Size 5,134 Kb
Views 44,528
Do you need developer help for Clock arm animation?

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!

Ann Kwilinski (ann_kwilinski) Script Codes
Create amazing marketing copy 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!