Pawprints animation

Developer
Size
6,928 Kb
Views
52,624

How do I make an pawprints animation?

What is a pawprints animation? How do you make a pawprints animation? This script and codes were developed by Anya Craig on 26 August 2022, Friday.

Pawprints animation Previews

Pawprints animation - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Pawprints animation</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="wrapper"> <h1>Click here to run the animation</h1> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 629.95 270.95" width="100%" height="auto"> <title>PawPrints</title> <path class="print" id="print1" d="M622,203.85c-1.4-1.06-3.67-.41-5.07,1.45s-1.4,4.22,0,5.28,3.67.41,5.07-1.45S623.4,204.91,622,203.85Zm-8.13-17.47c-.23,1.66-2.2,2.75-4.4,2.44s-3.79-1.9-3.56-3.56,2.2-2.75,4.4-2.44S614.1,184.72,613.87,186.38Zm-4.08,8.09c.31,1.95-1.53,3.86-4.11,4.27s-4.92-.84-5.23-2.79,1.53-3.86,4.11-4.27S609.48,192.52,609.79,194.47Zm3.22,7.05c-1.27-1.57-4-1.47-6.06.21s-2.73,4.31-1.46,5.88,4,1.47,6.06-.21S614.28,203.09,613,201.52Zm15.83-1.15c-3.72,3.86-12.89.48-14.93-3.6s2.55-13.12,7.24-13.69,2,5.39,3.33,8.37S632.57,196.51,628.84,200.37Z" transform="translate(0 0)" opacity="0"/> <path class="print" id="print2" d="M603.7,252.06c-1.49-.93-3.7-.09-4.93,1.89s-1,4.33.46,5.26,3.7.09,4.93-1.89S605.18,253,603.7,252.06Zm-9.62-16.7c-.09,1.67-2,2.94-4.17,2.82s-3.94-1.57-3.85-3.24,2-2.94,4.17-2.82S594.16,233.69,594.07,235.36Zm-3.36,8.42c.48,1.91-1.19,4-3.73,4.61s-5-.41-5.45-2.32,1.19-4,3.73-4.61S590.23,241.86,590.71,243.78Zm3.83,6.74c-1.4-1.45-4.09-1.12-6,.73s-2.34,4.54-.94,6,4.09,1.12,6-.73S595.94,252,594.54,250.52ZM610.21,248c-3.37,4.17-12.8,1.6-15.19-2.28s1.4-13.29,6-14.27,2.47,5.19,4.05,8S613.58,243.82,610.21,248Z" transform="translate(0 0)" opacity="0"/> <path class="print" id="print3" d="M564.12,222.85c-1.4-1.06-3.67-.41-5.07,1.45s-1.4,4.22,0,5.28,3.67.41,5.07-1.45S565.52,223.91,564.12,222.85ZM556,205.38c-.23,1.66-2.2,2.75-4.4,2.44s-3.79-1.9-3.56-3.56,2.2-2.75,4.4-2.44S556.22,203.72,556,205.38Zm-4.08,8.09c.31,1.95-1.53,3.86-4.11,4.27s-4.92-.84-5.23-2.79,1.53-3.86,4.11-4.27S551.6,211.52,551.91,213.47Zm3.22,7.05c-1.27-1.57-4-1.47-6.06.21s-2.73,4.31-1.46,5.88,4,1.47,6.06-.21S556.4,222.09,555.13,220.52ZM571,219.37c-3.72,3.86-12.89.48-14.93-3.6s2.55-13.12,7.24-13.69,2,5.39,3.33,8.37S574.69,215.51,571,219.37Z" transform="translate(0 0)" opacity="0"/> <path class="print" id="print4" d="M534.92,261.5c-1.22-1.26-3.57-1-5.24.64s-2,4-.82,5.21,3.57,1,5.24-.64S536.14,262.76,534.92,261.5ZM529.62,243c-.49,1.6-2.61,2.37-4.73,1.73s-3.45-2.47-3-4.08,2.61-2.37,4.73-1.73S530.11,241.37,529.62,243Zm-5.29,7.35c0,2-2.12,3.57-4.73,3.57s-4.73-1.6-4.73-3.57,2.12-3.57,4.73-3.57S524.32,248.35,524.32,250.32Zm2.08,7.47c-1-1.75-3.7-2.08-6-.74s-3.37,3.83-2.36,5.58,3.7,2.08,6,.74S527.41,259.54,526.4,257.79Zm15.82,1.34c-4.28,3.23-12.8-1.54-14.19-5.89s4.57-12.56,9.29-12.39,1.14,5.63,2,8.79S546.5,255.9,542.22,259.13Z" transform="translate(0 0)" opacity="0"/> <path class="print" id="print5" d="M491.16,232c-.88-1.52-3.22-1.81-5.24-.65s-2.94,3.34-2.06,4.86,3.22,1.81,5.24.65S492,233.54,491.16,232Zm-.66-19.26c-.86,1.44-3.1,1.67-5,.53s-2.75-3.23-1.88-4.67,3.1-1.67,5-.53S491.36,211.32,490.5,212.76Zm-6.92,5.85c-.48,1.91-2.92,3-5.45,2.32s-4.2-2.7-3.73-4.61,2.92-3,5.45-2.32S484.06,216.7,483.59,218.61Zm.21,7.75c-.56-1.94-3.09-2.91-5.66-2.18s-4.2,2.9-3.64,4.84,3.09,2.91,5.66,2.18S484.35,228.3,483.8,226.36Zm15,5.13c-4.94,2.1-12.05-4.59-12.34-9.15s7.48-11.08,12-9.77-.26,5.74-.2,9S503.76,229.38,498.82,231.49Z" transform="translate(0 0)" opacity="0"/> <path class="print" id="print6" d="M456.17,266.11c-.63-1.64-2.9-2.29-5.07-1.46s-3.42,2.84-2.79,4.48,2.9,2.29,5.07,1.46S456.8,267.75,456.17,266.11ZM458.53,247c-1.08,1.28-3.33,1.17-5-.26s-2.21-3.62-1.13-4.91,3.33-1.17,5,.26S459.61,245.7,458.53,247Zm-7.75,4.7c-.77,1.82-3.35,2.46-5.75,1.44s-3.73-3.32-3-5.14,3.35-2.46,5.75-1.44S451.56,249.87,450.79,251.68Zm-1,7.69c-.25-2-2.59-3.36-5.25-3s-4.6,2.21-4.36,4.21,2.59,3.36,5.25,3S450,261.37,449.78,259.37Zm14,7.41c-5.2,1.31-11.18-6.42-10.76-11s9.12-9.78,13.39-7.77-1.15,5.63-1.61,8.86S469,265.48,463.82,266.78Z" transform="translate(0 0)" opacity="0"/> <path id="print7" d="M417.26,235.15c-.34-1.72-2.46-2.76-4.74-2.32s-3.86,2.2-3.53,3.93,2.46,2.76,4.74,2.32S417.6,236.87,417.26,235.15Zm5.65-18.43c-1.28,1.08-3.48.57-4.91-1.13s-1.54-4-.26-5,3.48-.57,4.91,1.13S424.19,215.64,422.91,216.72ZM414.46,220c-1.07,1.65-3.72,1.84-5.91.42s-3.1-3.92-2-5.57,3.72-1.84,5.91-.42S415.54,218.35,414.46,220Zm-2.32,7.4c.11-2-2-3.76-4.64-3.9s-4.92,1.38-5,3.39,2,3.76,4.64,3.9S412,229.41,412.14,227.4Zm12.54,9.74c-5.35.38-9.9-8.26-8.69-12.67s10.68-8,14.54-5.33-2.11,5.34-3.12,8.45S430,236.76,424.68,237.14Z" transform="translate(0 0)" opacity="0"/> <path class="print" id="print8" d="M377.33,260.94c-.51-1.68-2.73-2.49-5-1.81s-3.61,2.59-3.1,4.27,2.73,2.49,5,1.81S377.84,262.62,377.33,260.94ZM381,242c-1.16,1.21-3.4.93-5-.61s-1.95-3.77-.78-5,3.4-.93,5,.61S382.18,240.82,381,242ZM373,246.17c-.9,1.76-3.51,2.22-5.84,1s-3.49-3.57-2.59-5.33,3.51-2.22,5.84-1S373.86,244.42,373,246.17Zm-1.54,7.6c-.11-2-2.35-3.53-5-3.39s-4.74,1.89-4.64,3.9,2.35,3.53,5,3.39S371.53,255.79,371.43,253.77Zm13.49,8.38c-5.28.94-10.71-7.18-10-11.69s9.78-9.12,13.9-6.82-1.54,5.54-2.22,8.73S390.19,261.21,384.91,262.15Z" transform="translate(0 0)" opacity="0"/> <path class="print" id="print9" d="M350.1,219.78c-.69-1.62-3-2.19-5.12-1.28s-3.32,3-2.64,4.57,3,2.19,5.12,1.28S350.78,221.4,350.1,219.78Zm1.69-19.2c-1,1.32-3.29,1.28-5-.08s-2.33-3.54-1.3-4.86,3.29-1.28,5,.08S352.82,199.26,351.79,200.58Zm-7.58,5c-.71,1.84-3.26,2.58-5.7,1.64s-3.84-3.19-3.14-5,3.26-2.58,5.7-1.64S344.92,203.71,344.21,205.55Zm-.73,7.72c-.32-2-2.71-3.27-5.35-2.85s-4.52,2.37-4.21,4.36,2.71,3.27,5.35,2.85S343.79,215.26,343.48,213.27Zm14.29,6.92c-5.16,1.49-11.4-6-11.13-10.58s8.77-10.09,13.11-8.24-1,5.67-1.3,8.91S362.92,218.7,357.77,220.19Z" transform="translate(0 0)" opacity="0"/> <path id="print10" d="M313.2,259.38c-.85-1.54-3.19-1.87-5.23-.74s-3,3.29-2.14,4.82,3.19,1.87,5.23.74S314.05,260.91,313.2,259.38Zm-.32-19.27c-.89,1.42-3.13,1.62-5,.44s-2.69-3.28-1.8-4.7,3.13-1.62,5-.44S313.76,238.69,312.88,240.11Zm-7,5.73c-.51,1.91-3,2.9-5.49,2.23s-4.16-2.77-3.65-4.67,3-2.9,5.49-2.23S306.37,243.93,305.86,245.84Zm.08,7.75c-.52-1.95-3-3-5.62-2.27s-4.25,2.83-3.73,4.78,3,3,5.62,2.27S306.46,255.54,305.93,253.59ZM320.87,259c-5,2-12-4.8-12.18-9.36s7.67-10.95,12.18-9.56-.36,5.74-.36,9S325.84,257,320.87,259Z" transform="translate(0 0)" opacity="0"/> <path class="print" id="print11" d="M279.25,217.06c-.3-1.73-2.41-2.8-4.7-2.4s-3.9,2.13-3.6,3.86,2.41,2.8,4.7,2.4S279.55,218.79,279.25,217.06Zm6-18.32c-1.3,1.05-3.49.51-4.89-1.21s-1.47-4-.17-5,3.49-.51,4.89,1.21S286.52,197.68,285.21,198.74Zm-8.5,3.14c-1.1,1.64-3.75,1.78-5.92.32s-3-4-1.93-5.61,3.75-1.78,5.92-.32S277.82,200.24,276.71,201.87Zm-2.45,7.35c.14-2-1.91-3.79-4.57-4s-4.94,1.29-5.08,3.3,1.91,3.79,4.57,4S274.12,211.24,274.26,209.23Zm12.37,10c-5.36.29-9.75-8.44-8.47-12.82s10.82-7.86,14.63-5.08-2.21,5.31-3.27,8.39S292,218.9,286.63,219.18Z" transform="translate(0 0)" opacity="0"/> <path class="print" id="print12" d="M245.25,254.74c-.4-1.71-2.55-2.67-4.82-2.15s-3.78,2.33-3.39,4,2.55,2.67,4.82,2.15S245.64,256.45,245.25,254.74Zm5-18.61c-1.25,1.12-3.46.69-4.94-1s-1.68-3.9-.43-5,3.46-.69,4.94,1S251.49,235,250.25,236.13Zm-8.33,3.58c-1,1.69-3.65,2-5.89.62s-3.23-3.81-2.22-5.5,3.65-2,5.89-.62S242.94,238,241.92,239.7Zm-2.06,7.47c0-2-2.1-3.69-4.77-3.73s-4.86,1.55-4.9,3.57,2.1,3.69,4.77,3.73S239.82,249.19,239.86,247.17Zm12.87,9.3c-5.33.57-10.18-7.91-9.13-12.36s10.39-8.41,14.34-5.84-1.93,5.42-2.82,8.55S258.06,255.9,252.73,256.47Z" transform="translate(0 0)" opacity="0"/> <path class="print" id="print13" d="M218.4,195.81c.06-1.76-1.77-3.24-4.1-3.33s-4.26,1.28-4.32,3,1.77,3.24,4.1,3.33S218.34,197.56,218.4,195.81Zm9.65-16.68c-1.49.76-3.52-.23-4.53-2.2s-.61-4.2.88-5,3.52.23,4.53,2.2S229.54,178.36,228.05,179.13Zm-9,1.3c-1.42,1.37-4,1-5.86-.92s-2.14-4.51-.72-5.88,4-1,5.86.92S220.5,179.05,219.08,180.42Zm-3.93,6.68c.56-1.94-1.08-4.11-3.64-4.84s-5.1.24-5.66,2.18,1.08,4.11,3.64,4.84S214.6,189,215.16,187.11Zm10,12.31c-5.3-.83-7.79-10.28-5.62-14.3s12.21-5.44,15.36-1.92-3.26,4.73-4.94,7.53S230.48,200.25,225.18,199.42Z" transform="translate(0 0)" opacity="0"/> <path class="print" id="print14" d="M172.92,219.37c.27-1.73-1.37-3.44-3.66-3.8s-4.38.75-4.66,2.48,1.37,3.44,3.66,3.8S172.64,221.1,172.92,219.37ZM184.53,204c-1.57.57-3.47-.65-4.22-2.74s-.1-4.24,1.48-4.81,3.47.65,4.22,2.74S186.1,203.41,184.53,204Zm-9.06.2c-1.58,1.19-4.13.46-5.7-1.63s-1.57-4.74,0-5.93,4.13-.46,5.7,1.63S177,203,175.47,204.18Zm-4.71,6.16c.79-1.86-.57-4.21-3-5.25s-5.09-.39-5.88,1.47.57,4.21,3,5.25S170,212.19,170.75,210.33Zm8.45,13.44c-5.16-1.47-6.48-11.15-3.83-14.88s12.78-3.91,15.48,0-3.81,4.3-5.82,6.87S184.36,225.25,179.2,223.77Z" transform="translate(0 0)" opacity="0"/> <path class="print" id="print15" d="M170.46,158.41c.77-1.58-.3-3.69-2.39-4.7s-4.41-.57-5.18,1,.3,3.69,2.39,4.7S169.69,160,170.46,158.41Zm15.6-11.32c-1.67.09-3.12-1.64-3.24-3.85s1.15-4.08,2.82-4.17,3.12,1.64,3.24,3.85S187.73,147,186.06,147.09Zm-8.72-2.46c-1.85.67-4.08-.77-5-3.22s-.12-5,1.74-5.67,4.08.77,5,3.22S179.19,144,177.34,144.63ZM171,149.14c1.3-1.54.69-4.19-1.36-5.91s-4.76-1.86-6.05-.31-.69,4.19,1.36,5.91S169.74,150.68,171,149.14Zm4.15,15.32c-4.5-2.92-2.93-12.56.68-15.35s13.37,0,14.82,4.49-4.9,3-7.58,4.87S179.69,167.38,175.18,164.46Z" transform="translate(0 0)" opacity="0"/> <path class="print" id="print16" d="M115,158.9c.57-1.66-.75-3.62-2.95-4.38s-4.45,0-5,1.64.75,3.62,2.95,4.38S114.42,160.56,115,158.9Zm14.1-13.13c-1.65.29-3.3-1.25-3.69-3.43s.64-4.19,2.29-4.48,3.3,1.25,3.69,3.43S130.74,145.48,129.09,145.77Zm-9-1.38c-1.76.9-4.14-.27-5.33-2.59s-.72-4.94,1-5.84,4.14.27,5.33,2.59S121.89,143.49,120.14,144.39Zm-5.71,5.24c1.1-1.69.17-4.24-2.07-5.7s-4.95-1.26-6,.43-.17,4.24,2.07,5.7S113.33,151.32,114.43,149.63Zm6,14.7C115.59,162,116,152.23,119.22,149s13.27-1.63,15.26,2.65-4.5,3.57-6.93,5.76S125.24,166.68,120.41,164.34Z" transform="translate(0 0)" opacity="0"/> <path class="print" id="print17" d="M125.17,107.69c.45-1.7-1-3.56-3.25-4.16s-4.44.28-4.89,2,1,3.56,3.25,4.16S124.71,109.38,125.17,107.69ZM138.32,93.6c-1.63.41-3.38-1-3.92-3.17s.35-4.23,2-4.63,3.38,1,3.92,3.17S139.95,93.2,138.32,93.6Zm-9-.75c-1.69,1-4.15,0-5.5-2.22s-1.07-4.88.62-5.89,4.15,0,5.5,2.22S131,91.83,129.29,92.85ZM124,98.48c1-1.76-.12-4.24-2.46-5.54s-5-.92-6,.85.12,4.24,2.46,5.54S123,100.24,124,98.48Zm7,14.25c-5-2-5.27-11.77-2.26-15.19s13.12-2.55,15.4,1.58-4.24,3.88-6.51,6.23S135.94,114.73,131,112.73Z" transform="translate(0 0)" opacity="0"/> <path class="print" id="print18" d="M63.42,99.06c.27-1.73-1.37-3.44-3.66-3.8s-4.38.75-4.66,2.48,1.37,3.44,3.66,3.8S63.15,100.79,63.42,99.06ZM75,83.68c-1.57.57-3.47-.65-4.22-2.74s-.1-4.24,1.48-4.81,3.47.65,4.22,2.74S76.6,83.1,75,83.68Zm-9.06.2c-1.58,1.19-4.13.46-5.7-1.63s-1.57-4.74,0-5.93,4.13-.46,5.7,1.63S67.54,82.69,66,83.87ZM61.26,90c.79-1.86-.57-4.21-3-5.25s-5.09-.39-5.88,1.47.57,4.21,3,5.25S60.47,91.88,61.26,90Zm8.45,13.44c-5.16-1.47-6.48-11.15-3.83-14.88s12.78-3.91,15.48,0-3.81,4.3-5.82,6.87S74.87,104.94,69.71,103.47Z" transform="translate(0 0)" opacity="0"/> <path class="print" id="print19" d="M73.58,41.76c.82-1.55-.17-3.69-2.23-4.79s-4.39-.72-5.21.83.17,3.69,2.23,4.79S72.76,43.31,73.58,41.76ZM89.57,31c-1.68,0-3.06-1.75-3.1-4s1.29-4,3-4.07,3.06,1.75,3.1,4S91.24,31,89.57,31Zm-8.63-2.76c-1.88.61-4.05-.91-4.86-3.4s.06-5,1.93-5.6,4.05.91,4.86,3.4S82.81,27.62,80.94,28.23Zm-6.46,4.29c1.35-1.5.83-4.16-1.15-5.95s-4.69-2-6-.52-.83,4.16,1.15,5.95S73.13,34,74.48,32.52ZM78.09,48c-4.4-3.07-2.49-12.65,1.22-15.31s13.36.47,14.65,5-5,2.82-7.74,4.6S82.49,51,78.09,48Z" transform="translate(0 0)" opacity="0"/> <path class="print" id="print20" d="M9.14,23.25c.57-1.66-.75-3.62-2.95-4.38s-4.45,0-5,1.64.75,3.62,2.95,4.38S8.56,24.91,9.14,23.25Zm14.1-13.13c-1.65.29-3.3-1.25-3.69-3.43s.64-4.19,2.29-4.48,3.3,1.25,3.69,3.43S24.89,9.82,23.24,10.11Zm-9-1.38c-1.76.9-4.14-.27-5.33-2.59S8.23,1.2,10,.3s4.14.27,5.33,2.59S16,7.84,14.28,8.73ZM8.57,14c1.1-1.69.17-4.24-2.07-5.7S1.56,7,.46,8.71s-.17,4.24,2.07,5.7S7.48,15.67,8.57,14Zm6,14.7c-4.83-2.35-4.44-12.11-1.19-15.32S26.64,11.74,28.63,16s-4.5,3.57-6.93,5.76S19.39,31,14.56,28.68Z" transform="translate(0 0)" opacity="0"/> </svg>
</div> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/snap.svg/0.4.1/snap.svg-min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Pawprints animation - Script Codes CSS Codes

.wrapper { border: 2px solid gold; width: 50%; text-align: center; margin: 0 auto;
}
svg { width: 100%; height: auto;
}
.print { fill: black;
}

Pawprints animation - Script Codes JS Codes

// THE SNAP.SVG ANIMATION
$(".wrapper").on("click", function(){ animateSvg();// we call our main function on click
});
function animateSvg(){ var duration = 250; // how long we want each "step" to take // here, we define a function and give it a paramter of i, which will stand for the number of the pawprint being animated var animatePrint = function(i) { //Let's restrict this to 20 times, since we have 20 pawprints if (i <= 20) { // we set the print to be animated to the element with an id of #print plus the parameter i var print = Snap('#print' + i); // we animate the print, and when the animation is done, we call our animatePrint function again, this time adding 1 to i. print.animate( { opacity: "1" }, duration, mina.linear, function() { animatePrint(i+1); } );// end of animate method }// end of if statement };// end of animatePrint function animatePrint(1); // here, we actually call the function, passing it the argument of 1, our first print
} // end of animateSvg function
Pawprints animation - Script Codes
Pawprints animation - Script Codes
Home Page Home
Developer Anya Craig
Username AnyaCraig
Uploaded August 26, 2022
Rating 3
Size 6,928 Kb
Views 52,624
Do you need developer help for Pawprints 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!

Anya Craig (AnyaCraig) Script Codes
Create amazing video scripts 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!