GSAP 사례 연구

Smooth Morph

배경 · MIT (local companion); GSAP Standard No Charge License (runtime)

배경 더 보기
CASE STUDY
Smooth Morph 정적 미리보기

갤러리 안에서는 화면을 벗어나거나 움직임을 멈추면 예제도 닫힙니다. 다시 재생할 때는 처음부터 시작해요.

큰 화면으로 보기 새 탭실행 HTML 저장

저장한 HTML에서는 갤러리의 재생 설정이 적용되지 않아요.

SOURCE FILES

독립 예제 코드 읽기

6개 파일

사례의 구도나 문서의 원리를 바탕으로 새로 만든 예제입니다. 아래 코드를 복사해 직접 응용할 수 있습니다. 실행 HTML에는 미리보기를 위한 실행 환경이 들어 있습니다.

vendor/gsap-previews/sources/gsap-104ab2595f9d/study-brief.json실행 안내·자료
파일 저장

{
  "id": "gsap-104ab2595f9d",
  "sourceId": "gsap",
  "title": "Smooth Morph",
  "sourceUrl": "https://demos.gsap.com/demo/smooth-morph",
  "demoUrl": "https://codepen.io/GreenSock/pen/EaKLgKZ",
  "sourceStatus": "unresolved",
  "sourceReason": "Public page unavailable through web browsing",
  "sourceRevision": null,
  "sourceLicense": null,
  "originalDemoAcquired": false,
  "disposition": "ready_for_independent_study",
  "evidenceBasis": "catalog_linked_api",
  "studyId": "gsap-104ab2595f9d",
  "sharedStudyCanonicalId": null,
  "label": "Independently authored documentation study; original Pen unavailable",
  "catalogEvidence": {
    "localPath": "artifacts/full-import/gsap/remaining-docs/catalog-evidence.json",
    "sha256": "4f2a4f9aa64456b85b905b562b60d7733629b41026787b3057cba29e8b10de69",
    "bytes": 30117,
    "recordId": "gsap-104ab2595f9d"
  },
  "sourceInputs": [
    {
      "kind": "authored-study-specification",
      "localPath": "artifacts/full-import/gsap/remaining-docs/study-specs.json",
      "sha256": "cbb89331eda8783b5cf2f173b326b9195eeabfb223374fb60019161d9f46d4a6",
      "bytes": 52279,
      "recordId": "gsap-104ab2595f9d"
    },
    {
      "kind": "official-catalog-metadata",
      "localPath": "artifacts/full-import/gsap/remaining-docs/catalog-evidence.json",
      "sha256": "4f2a4f9aa64456b85b905b562b60d7733629b41026787b3057cba29e8b10de69",
      "bytes": 30117,
      "recordId": "gsap-104ab2595f9d"
    },
    {
      "kind": "official-documentation-evidence",
      "localPath": "artifacts/full-import/gsap/remaining-docs/official-documentation-evidence.json",
      "sha256": "bfa25f561e61c597569cf1bc0b3538e6dce4b9985a932775ceab41e665ca24a2",
      "bytes": 11430,
      "recordIds": [
        "morph"
      ]
    },
    {
      "kind": "original-library-source",
      "localPath": "artifacts/full-import/gsap/library/src/MorphSVGPlugin.js",
      "sha256": "ed1a050ea542e5f7918b079f1a9d7094baa7ca2eef4a03c9700fc975f330859b",
      "gitBlob": "16ca88dddb9dca68d6823e903e87685e031c6a39",
      "revision": "13e2b790546426a1a2e0e9b409f3f8dc6d6611f2",
      "sourcePath": "src/MorphSVGPlugin.js",
      "ranges": [
        {
          "id": "morph-smooth-algorithm",
          "startLine": 313,
          "endLine": 358,
          "rangeSha256": "d08ccee1f9f199369d1841a5df57df4826791ac3b87b19b37c5e42d22346eec4"
        },
        {
          "id": "morph-smooth-endpoint",
          "startLine": 675,
          "endLine": 692,
          "rangeSha256": "b8dd321271beb04d7e3b0f262dc6d550c6568185928a205cf5031ece19d5bab3"
        },
        {
          "id": "morph-smooth-persist",
          "startLine": 751,
          "endLine": 758,
          "rangeSha256": "92edb130fcbc6c9674312874a4555a518d753bfe67e0df0e36570ceb8af399e4"
        }
      ]
    }
  ],
  "studiedPrinciple": "Explore how MorphSVG smooth point density, redraw, and persist affect a morph between independently authored outlines.",
  "namedApis": [
    {
      "name": "gsap.to(path, {morphSVG:{shape, smooth:{points, redraw, persist}}})",
      "purpose": "Compare smoothing configurations on the same source/endpoint geometry.",
      "libraryEvidence": [
        "morph-smooth-algorithm",
        "morph-smooth-endpoint",
        "morph-smooth-persist"
      ],
      "documentationEvidence": [
        "morph"
      ],
      "minimumVersion": "3.14.0"
    }
  ],
  "implementationBrief": {
    "scene": "Two authored SVG outlines in a common viewBox: a simple source contour and a more detailed endpoint contour. Show a baseline morph alongside a configured smooth morph.",
    "controls": [
      {
        "label": "Points",
        "type": "select",
        "action": "Choose a modest smoothing point value and rebuild from the original d strings."
      },
      {
        "label": "Redraw",
        "type": "checkbox",
        "action": "Choose point redistribution or subdivision of existing segments."
      },
      {
        "label": "Persist",
        "type": "checkbox",
        "action": "Choose whether the smoothed endpoint remains after completion."
      },
      {
        "label": "Play / Progress",
        "type": "button and range",
        "action": "Run both comparison tweens together or inspect the same normalized progress."
      }
    ],
    "mechanismSteps": [
      "Keep untouched source and endpoint d strings for every rebuild. Use the same shape pair and timing in the baseline and smoothed panels.",
      "Use morphSVG:{shape:endPath,smooth:{points,redraw,persist}} only in the configured panel. Keep the baseline free of smooth.",
      "Changing options kills owned tweens, restores original path strings, and constructs a new paused comparison at zero. Do not repeatedly smooth the already generated path.",
      "Explain that redraw:true redistributes anchors and may alter endpoint geometry; redraw:false inserts points into existing segments.",
      "When persist:false, inspect completion against the supplied endpoint string. When true, accept a smoothed endpoint rather than claiming byte-identical path data.",
      "Display the current option values and d-string length as a simple inspection aid. Do not present d-string length as an exact anchor count or performance measurement."
    ]
  },
  "authoredDefaults": {
    "pointsOptions": [
      20,
      40,
      80
    ],
    "points": 40,
    "redraw": true,
    "persist": false,
    "durationSeconds": 1.8,
    "ease": "none",
    "geometry": "new six-anchor contour to new twelve-anchor contour"
  },
  "verificationRequired": [
    "Each rebuild starts from the unchanged original d strings rather than the last generated morph output.",
    "With persist:false, completion restores the supplied endpoint; option changes produce no invalid path data.",
    "Baseline and configured panels receive identical original source/endpoint strings and normalized progress. Rendered endpoint geometry may differ with redraw:true and persist:true; do not require equal rendered geometry for that configuration.",
    "Inspect intermediate and final shapes for clipping at 320px and 1440px. Retain geometry/fidelity differences honestly.",
    "Static mode shows the source and destination outlines with configuration text."
  ],
  "unsupportedClaims": [
    "Original composition, assets, timing, breakpoint behavior, and live interaction are not observable in captured frames. This brief does not establish visual fidelity or recover original code.",
    "Smoothing does not guarantee a better result for every path pair. Redraw can sacrifice fidelity and larger point counts can add work.",
    "Original path art, smooth values, duration, and visual result were not recovered."
  ],
  "dependencies": {
    "package": "gsap",
    "version": "3.15.0",
    "revision": "13e2b790546426a1a2e0e9b409f3f8dc6d6611f2",
    "repository": "https://github.com/greensock/GSAP",
    "plugins": [
      "MorphSVGPlugin"
    ],
    "registration": "gsap.registerPlugin(MorphSVGPlugin) after loading core and those plugin scripts",
    "runtimeCandidates": [
      {
        "path": "dist/gsap.js",
        "localPath": "artifacts/full-import/gsap/library/dist/gsap.js",
        "gitBlob": "ec5ffee3f099bc454f2f1c79cee6a55ba97e7400",
        "sha256": "01effe0e121c22ba0f885a3f091f3dc6d1f0d445c4fba37dcb298e314eca5cfb",
        "bytes": 179557
      },
      {
        "path": "dist/MorphSVGPlugin.js",
        "localPath": "artifacts/full-import/gsap/library/dist/MorphSVGPlugin.js",
        "gitBlob": "40531f708058713a7ad2942b74d0e1442c31431c",
        "sha256": "786b51ffe878fa747bb7e115815d438ec9113bde1303967172c34b129f5472ef",
        "bytes": 55989
      }
    ],
    "license": {
      "name": "GSAP Standard 'No Charge' License (custom, not MIT)",
      "localPath": "artifacts/full-import/gsap/licenses/gsap-standard-license.html",
      "sha256": "bf8536e67b77db780f7db0c14a645f184f554bb19e938d1e52d58986e2f10528",
      "bytes": 6988,
      "url": "https://gsap.com/community/standard-license/"
    },
    "originalDependencyVersionKnown": false
  },
  "runtimeVerified": false,
  "implementationWritten": false
}
vendor/gsap-previews/sources/gsap-104ab2595f9d/source-inputs.json실행 안내·자료
파일 저장

[
  {
    "kind": "authored-study-specification",
    "localPath": "artifacts/full-import/gsap/remaining-docs/study-specs.json",
    "sha256": "cbb89331eda8783b5cf2f173b326b9195eeabfb223374fb60019161d9f46d4a6",
    "bytes": 52279,
    "recordId": "gsap-104ab2595f9d"
  },
  {
    "kind": "official-catalog-metadata",
    "localPath": "artifacts/full-import/gsap/remaining-docs/catalog-evidence.json",
    "sha256": "4f2a4f9aa64456b85b905b562b60d7733629b41026787b3057cba29e8b10de69",
    "bytes": 30117,
    "recordId": "gsap-104ab2595f9d"
  },
  {
    "kind": "official-documentation-evidence",
    "localPath": "artifacts/full-import/gsap/remaining-docs/official-documentation-evidence.json",
    "sha256": "bfa25f561e61c597569cf1bc0b3538e6dce4b9985a932775ceab41e665ca24a2",
    "bytes": 11430,
    "recordIds": [
      "morph"
    ]
  },
  {
    "kind": "original-library-source",
    "localPath": "artifacts/full-import/gsap/library/src/MorphSVGPlugin.js",
    "sha256": "ed1a050ea542e5f7918b079f1a9d7094baa7ca2eef4a03c9700fc975f330859b",
    "gitBlob": "16ca88dddb9dca68d6823e903e87685e031c6a39",
    "revision": "13e2b790546426a1a2e0e9b409f3f8dc6d6611f2",
    "sourcePath": "src/MorphSVGPlugin.js",
    "ranges": [
      {
        "id": "morph-smooth-algorithm",
        "startLine": 313,
        "endLine": 358,
        "rangeSha256": "d08ccee1f9f199369d1841a5df57df4826791ac3b87b19b37c5e42d22346eec4"
      },
      {
        "id": "morph-smooth-endpoint",
        "startLine": 675,
        "endLine": 692,
        "rangeSha256": "b8dd321271beb04d7e3b0f262dc6d550c6568185928a205cf5031ece19d5bab3"
      },
      {
        "id": "morph-smooth-persist",
        "startLine": 751,
        "endLine": 758,
        "rangeSha256": "92edb130fcbc6c9674312874a4555a518d753bfe67e0df0e36570ceb8af399e4"
      }
    ]
  }
]
함께 쓰는 파일 4개 보기
vendor/gsap-previews/sources/gsap-104ab2595f9d/index.html실행 안내·자료
파일 저장

<main class="study"><p class="study-label">공식 API 기반 · 독립 예제</p><header><h2>같은 윤곽, 다른 점 배치</h2><p>점 재배치와 세분화, 완료 시 경로 보존 옵션을 같은 두 도형으로 비교합니다.</p></header><div class="stage pair"><figure><figcaption>기본</figcaption><svg viewBox="0 0 240 240" role="img" aria-label="기본 곡선"><path d="M212.73 144.85 C210.74 152.25 163.84 141.21 152.53 152.53 C141.21 163.84 152.25 210.74 144.85 212.73 C137.44 214.71 123.55 168.57 108.09 164.43 C92.64 160.29 57.54 193.30 52.12 187.88 C46.70 182.46 79.71 147.36 75.57 131.91 C71.43 116.45 25.29 102.56 27.27 95.15 C29.26 87.75 76.16 98.79 87.47 87.47 C98.79 76.16 87.75 29.26 95.15 27.27 C102.56 25.29 116.45 71.43 131.91 75.57 C147.36 79.71 182.46 46.70 187.88 52.12 C193.30 57.54 160.29 92.64 164.43 108.09 C168.57 123.55 214.71 137.44 212.73 144.85Z" fill="none" stroke="#a0adca" stroke-dasharray="4 5" opacity=".4"/><path class="morph-path" d="M198.00 120.00 C197.17 145.11 181.67 177.74 161.00 191.01 C140.33 204.29 93.83 211.51 74.00 199.67 C54.17 187.84 41.17 145.11 42.00 120.00 C42.83 94.89 58.33 62.26 79.00 48.99 C99.67 35.71 146.17 28.49 166.00 40.33 C185.83 52.16 198.83 94.89 198.00 120.00Z" fill="#95efd2"/></svg></figure><figure><figcaption>smooth</figcaption><svg viewBox="0 0 240 240" role="img" aria-label="smooth 곡선"><path d="M212.73 144.85 C210.74 152.25 163.84 141.21 152.53 152.53 C141.21 163.84 152.25 210.74 144.85 212.73 C137.44 214.71 123.55 168.57 108.09 164.43 C92.64 160.29 57.54 193.30 52.12 187.88 C46.70 182.46 79.71 147.36 75.57 131.91 C71.43 116.45 25.29 102.56 27.27 95.15 C29.26 87.75 76.16 98.79 87.47 87.47 C98.79 76.16 87.75 29.26 95.15 27.27 C102.56 25.29 116.45 71.43 131.91 75.57 C147.36 79.71 182.46 46.70 187.88 52.12 C193.30 57.54 160.29 92.64 164.43 108.09 C168.57 123.55 214.71 137.44 212.73 144.85Z" fill="none" stroke="#a0adca" stroke-dasharray="4 5" opacity=".4"/><path class="morph-path" d="M198.00 120.00 C197.17 145.11 181.67 177.74 161.00 191.01 C140.33 204.29 93.83 211.51 74.00 199.67 C54.17 187.84 41.17 145.11 42.00 120.00 C42.83 94.89 58.33 62.26 79.00 48.99 C99.67 35.71 146.17 28.49 166.00 40.33 C185.83 52.16 198.83 94.89 198.00 120.00Z" fill="#fbadce"/></svg></figure></div><div class="controls"><button id="play" type="button">함께 재생</button><button id="reverse" type="button">역재생</button><button id="reset" type="button">초기화</button><label>진행<input id="progress" type="range" min="0" max="100" value="0" step="1"></label><label>점 설정<select id="points"><option>20</option><option selected>40</option><option>80</option></select></label><label><input id="redraw" type="checkbox" checked>다시 배치</label><label><input id="persist" type="checkbox">결과 경로 유지</label><label><input id="static-mode" type="checkbox">정적 보기</label></div><p class="readout" id="reading" aria-live="off"></p><p class="endpoint-note">점선은 새로 그린 도착 윤곽입니다. 어느 방식이 항상 더 좋다고 가정하지 않습니다.</p></main>
vendor/gsap-previews/sources/gsap-104ab2595f9d/style.css실행 안내·자료
파일 저장


*{box-sizing:border-box}body{background:#111522;color:#f5f2eb;font-family:system-ui,sans-serif;margin:0}button{font:inherit}.study{margin:0 auto;max-width:1100px;min-height:100vh;padding:clamp(20px,4vw,42px)}.study-label{color:#95efd2;font-size:12px;letter-spacing:.08em;margin:0 0 24px}header h2{font-size:clamp(24px,4vw,40px);letter-spacing:-.04em;margin:0 0 12px}header p{color:#aeb7c9;line-height:1.6;margin:0 0 24px;max-width:62ch}.controls{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}button{background:#26314b;border:1px solid #617394;border-radius:9px;color:#f5f2eb;cursor:pointer;padding:9px 14px}button:hover{background:#334261}button:focus-visible{outline:3px solid #95efd2;outline-offset:3px}button:disabled{cursor:default;opacity:.45}.stage{align-items:center;background:radial-gradient(ellipse at top,#243253,#141c2d);border:1px solid #3d4c68;border-radius:20px;display:flex;justify-content:center;min-height:220px;overflow:hidden;position:relative}.note{color:#aeb7c9;font-size:13px;line-height:1.5}.readout{color:#95efd2;font-family:ui-monospace,monospace;font-size:13px;min-height:2em}.stage svg{display:block;max-width:100%}code{font-family:ui-monospace,monospace}button[aria-pressed="true"]{background:#95efd2;color:#111522}


.study{padding:18px;max-width:960px}.study-label{margin-bottom:10px}header h2{font-size:clamp(22px,4vw,32px);margin-bottom:8px}header p{font-size:14px;margin-bottom:16px}.controls{align-items:center;gap:9px;margin:14px 0}.controls label{align-items:center;color:#cbd4e3;display:flex;flex-wrap:wrap;font-size:13px;gap:7px}.controls input[type=range]{accent-color:#95efd2;max-width:145px}.controls select{background:#26314b;border:1px solid #617394;border-radius:7px;color:#f5f2eb;font:inherit;padding:6px}.stage{min-height:180px}.readout{line-height:1.5;margin:8px 0}.small-code{background:#172036;border:1px solid #354258;border-radius:10px;color:#c3d1e7;font-size:12px;line-height:1.5;max-height:180px;overflow:auto;padding:12px;white-space:pre-wrap;word-break:break-word}.pair{display:flex;gap:12px;justify-content:center}.pair figure{flex:1;margin:0;max-width:300px;min-width:0;padding:8px}.pair figcaption{color:#aeb7c9;font-family:ui-monospace,monospace;font-size:12px;margin-bottom:6px;text-align:center}.pair svg{display:block;max-height:210px;width:100%}.tile-art{align-items:center;border-radius:14px;color:#152039;display:flex;justify-content:center}.tile-art svg{height:65%;width:65%}.menu-stage{min-height:196px;padding:18px}.menu-panels{display:flex;gap:10px;max-width:570px;width:100%}.menu-panel{align-items:center;background:linear-gradient(135deg,#95efd2,#75d8ed);border-radius:14px;color:#142137;display:flex;flex:1;flex-direction:column;font-weight:650;gap:10px;justify-content:center;min-height:135px;min-width:0;padding:12px}.menu-panel:nth-child(2){background:linear-gradient(135deg,#fbadce,#897dff)}.menu-panel:nth-child(3){background:linear-gradient(135deg,#ffd28c,#fc7f8e)}.menu-panel svg{height:58px;width:58px}.icon-bars{display:inline-flex;flex-direction:column;gap:5px;margin-right:7px;vertical-align:middle}.icon-bars span{background:currentColor;display:block;height:2px;width:17px}.endpoint-note{color:#aeb7c9;font-size:12px;line-height:1.5}button[hidden],[hidden]{display:none!important}@media(max-width:380px){.study{padding:14px}.controls label{max-width:100%}.menu-panels{gap:6px}.menu-panel{font-size:12px;padding:7px}.pair{gap:0}}

vendor/gsap-previews/sources/gsap-104ab2595f9d/script.js실행 안내·자료
파일 저장

gsap.registerPlugin(MorphSVGPlugin);

const q=selector=>document.querySelector(selector),qa=selector=>Array.from(document.querySelectorAll(selector));
const studyAbort=new AbortController(),studyCleanup=[];
const listen=(target,type,handler)=>target.addEventListener(type,handler,{signal:studyAbort.signal});
const preference=matchMedia('(prefers-reduced-motion: reduce)'),staticControl=q('#static-mode');
staticControl.checked=preference.matches;staticControl.disabled=preference.matches;
const isStatic=()=>staticControl.checked||preference.matches;
let applyMode=()=>{};
listen(staticControl,'change',()=>applyMode());
listen(preference,'change',()=>{staticControl.checked=preference.matches;staticControl.disabled=preference.matches;applyMode();});
listen(window,'pagehide',()=>{studyCleanup.forEach(cleanup=>cleanup());studyAbort.abort();});
const reading=text=>q('#reading').textContent=text;

const SOURCE="M198.00 120.00 C197.17 145.11 181.67 177.74 161.00 191.01 C140.33 204.29 93.83 211.51 74.00 199.67 C54.17 187.84 41.17 145.11 42.00 120.00 C42.83 94.89 58.33 62.26 79.00 48.99 C99.67 35.71 146.17 28.49 166.00 40.33 C185.83 52.16 198.83 94.89 198.00 120.00Z",DESTINATION="M212.73 144.85 C210.74 152.25 163.84 141.21 152.53 152.53 C141.21 163.84 152.25 210.74 144.85 212.73 C137.44 214.71 123.55 168.57 108.09 164.43 C92.64 160.29 57.54 193.30 52.12 187.88 C46.70 182.46 79.71 147.36 75.57 131.91 C71.43 116.45 25.29 102.56 27.27 95.15 C29.26 87.75 76.16 98.79 87.47 87.47 C98.79 76.16 87.75 29.26 95.15 27.27 C102.56 25.29 116.45 71.43 131.91 75.57 C147.36 79.71 182.46 46.70 187.88 52.12 C193.30 57.54 160.29 92.64 164.43 108.09 C168.57 123.55 214.71 137.44 212.73 144.85Z",paths=qa('.morph-path');
let morphTweens=[];
const inspect=()=>{q('#progress').value=Math.round((morphTweens[0]?.progress()||0)*100);reading('진행 '+q('#progress').value+'% · 경로 문자열 길이 '+paths.map(path=>path.getAttribute('d').length).join(' / '));};
function rebuild(){morphTweens.forEach(t=>t.kill());paths.forEach(path=>path.setAttribute('d',SOURCE));
const configured={smooth:{points:Number(q("#points").value),redraw:q("#redraw").checked,persist:q("#persist").checked}};
morphTweens=paths.map((path,i)=>gsap.to(path,{paused:true,duration:1.8,ease:'none',morphSVG:{shape:DESTINATION,...(i?configured:{})},onUpdate:()=>{if(i===0)inspect();}}));inspect();}
listen(q('#play'),'click',()=>{rebuild();morphTweens.forEach(t=>isStatic()?t.progress(1,true):t.play());inspect();});
listen(q('#reverse'),'click',()=>{morphTweens.forEach(t=>isStatic()?t.progress(0,true):t.reverse());inspect();});
listen(q('#reset'),'click',rebuild);
listen(q('#progress'),'input',e=>{morphTweens.forEach(t=>t.pause().progress(Number(e.target.value)/100,true));inspect();});
for(const selector of ["#points","#redraw","#persist"])listen(q(selector),"change",rebuild);
applyMode=()=>{rebuild();reading(isStatic()?'정적 보기 · 채운 시작 윤곽과 점선 도착 윤곽':'진행 0%');};
studyCleanup.push(()=>morphTweens.forEach(t=>t.kill()));applyMode();
LICENSE실행 안내·자료
파일 저장

Locally authored companion HTML/CSS/control wiring: MIT License.
Copyright (c) 2026 StyleGallery contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

The typed source-inputs.json and study-brief.json preserve official catalog, documentation and original library source pointers. This is independently authored API research, not a recovered CodePen source or documentation snippet. The local MIT notice does not assign new licenses to referenced third-party sources.
GSAP 3.15.0: Copyright 2026, GreenSock. All rights reserved. Subject to https://gsap.com/standard-license. Original library notices are preserved.