

Codepen Challenge: GSAP Bounce
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.

Codepen Challenge
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
-
7
For a while I’ve been thinking about publishing a semi-regular round-up of all the things that have been...
-
19
Creating Reusable Animation Components with React and GSAP
-
13
Dynamic CSS Masks with Custom Properties and GSAP Learn how to animate CSS masks based on the cursor position using GSAP and custom properties for a unique spotlight effect....
-
8
Card style experiment (Codepen Challenge) 0 unsaved changes xxxxxxxxxx<div class="main"> <ul class="cards">
-
11
Codepen Challengexxxxxxxxxx<div class="poster"> <div class="lens-flare"></div> <div class="stripes">...
-
11
Book Text Codepen Challenge 0 unsaved changes xxxxxxxxxx<main> <header> <h1>Mrs. Dalloway</h...
-
12
JS (Babel) xxxxxxxxxxconst frame = new Frame("fit", 1024, 768, dark, darker);frame.on("ready", ()=>{ // ES6 Arrow Function - similar to function(...
-
9
Pen Settings HTML Preprocessor Add Class(es) to <html> Stuff for <head>
-
11
CodePen Challenge 0 unsaved changes xxxxxxxxxx<main> <h1>To do</h1> <h2>April...
-
10
JS (Babel) xxxxxxxxxximport zim from "https://zimjs.org/cdn/00/zim";// see https://zimjs.com...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK