A Pen by HARUN PEHLİVAN on CodePen.
Demonstrates the GSAP MotionPathPlugin.convertCoordinates() method
A Pen by HARUN PEHLİVAN on CodePen.
Demonstrates the MotionPathPlugin.getGlobalMatrix() method
A Pen by HARUN PEHLİVAN on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <svg class="mainSVG" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"> | |
| <defs> | |
| <polygon id="liquid"></polygon> | |
| <clipPath id="mainMask"> | |
| <polygon points="402.1 325.43 367.12 334.05 340.15 357.94 327.38 391.63 331.72 427.4 352.19 457.05 384.09 473.79 420.12 473.79 452.02 457.05 472.49 427.4 476.83 391.63 464.05 357.94 437.08 334.05 402.1 325.43" fill="#fff" stroke="#000" stroke-miterlimit="10"/> | |
| </clipPath> | |
| <clipPath id="liquidMask"> | |
| <use xlink:href="#liquid" /> | |
| </clipPath> | |
| </defs> |
A Pen by HARUN PEHLİVAN on CodePen.
A Pen by HARUN PEHLİVAN on CodePen.
A Pen by HARUN PEHLİVAN on CodePen.
A Pen by HARUN PEHLİVAN on CodePen.
A Pen by HARUN PEHLİVAN on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <link rel="stylesheet" href="assets/css/styles.css"> | |
| <link href='https://cdn.jsdelivr.net/npm/[email protected]/css/boxicons.min.css' rel='stylesheet'> |