5

Codepen Challenge: GSAP Bounce

 3 years ago
source link: https://codepen.io/Sicontis/pen/LYzWXPp
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Codepen Challenge

0 unsaved changes
xxxxxxxxxx
<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg">
  <!-- Animation path -->
  <defs>
    <path id="anipath" d="M433.002,685.11 C549.175,817.038 681.912,980.497 723.849,1128.961 769.498,981.116 897.905,832.493 1007.53,699.123 " style="fill:none;stroke:#000;stroke-width:2.79px" transform="matrix(.35828 0 0 .35828 -6.954 -26.905)" />
  </defs>
  <g id="main">
    <!-- Monkey Head: Background -->
    <circle cx="430.621" cy="419.068" r="130.621" style="fill:#af8a7a" transform="matrix(.95697 0 0 1.03352 -162.09 -156.711)" />
    <!-- Monkey Head: Hair -->
    <g id="monkey_head-hair">
      <path d="M300 165c-3.724-8.196-3.609-17.09 0-26.62" style="fill:none;stroke:#000;stroke-width:6.06px" transform="matrix(.31335 .26177 -.53777 .64373 244.476 -43.895)" />
      <path d="M300 165c-3.724-8.196-3.609-17.09 0-26.62" style="fill:none;stroke:#000;stroke-width:4px" transform="translate(-50.25 -24.148)" />
      <path d="M300 165c4.748-6.145 4.412-15.148 0-26.62" style="fill:none;stroke:#000;stroke-width:4px" transform="rotate(-58.613 253.858 197.963)" />
    </g>

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK