Communitygithub.com

MengTo/Skills

시네마틱 스크롤 기반 랜딩 페이지를 생성합니다. Lenis의 부드러운 스크롤, GSAP ScrollTrigger, 스크롤 연결 진행, 지연된 텍스트 등장, 고정 카드 스택, 시차 배경, 스크롤 연동 전환, 푸터 등장 효과, 몰입형 프리로더를 구현합니다. 프리미엄 에디토리얼 스크롤 경험, 고정 프로젝트 스택, 키네틱 타이포그래피 또는 섹션별 스토리텔링을 분석하거나 구축할 때 사용하세요.

Skills란 무엇인가요?

이 스킬은 시네마틱 스크롤 스토리텔링 랜딩 페이지를 구축하기 위한 종합적인 가이드입니다. Lenis와 GSAP ScrollTrigger를 핵심 스택으로 사용하여 부드러운 스크롤과 고급 애니메이션을 구현합니다. 프리로더, 히어로 섹션, 키네틱 타이포그래피, 스크롤 트리거 섹션, 고정 카드 스택, 시차 배경, 스크롤 연동 진행 장면, 푸터 리빌 등 페이지의 각 요소에 대한 구체적인 HTML 마크업 패턴, JavaScript 코드 및 CSS 스타일을 제공합니다. 이 스킬은 웹 개발자와 디자이너가 Apple 수준의 모션 폴리쉬를 갖춘 프리미엄 에디토리얼 경험을 빠르게 프로토타이핑하고 구축할 수 있도록 설계되었습니다. 또한 접근성을 고려하여 `prefers-reduced-motion` 설정을 존중하는 폴백과 모바일 성능 최적화 팁도 포함되어 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/MengTo/Skills/tree/HEAD/agent-skills/web-design/cinematic-scroll-storytelling

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

미리보기

스킬 README에서

Skills preview

문서

시네마틱 스크롤 스토리텔링

사용 시기

  • 페이지가 사용자가 스크롤할 때 펼쳐지는 프리미엄 에디토리얼 스토리처럼 느껴져야 할 때
  • 사용자가 스크롤 기반 스토리텔링, 스크롤 연결 애니메이션, 고정 카드 스택, 시차, 분할 텍스트, 프리로더 또는 시네마틱 진행을 언급할 때
  • 포트폴리오, 스튜디오, 제품 또는 랜딩 페이지에 레이어드된 깊이감 있는 섹션별 리빌이 필요할 때
  • GSAP, ScrollTrigger 및 Lenis를 사용하여 구현할 수 있을 때

효과 용어

  • 스크롤 기반 스토리텔링: 스크롤하면서 섹션이 순차적으로 드러납니다.
  • 스크롤 연결 애니메이션: 진행 상황이 scrub을 통해 스크롤에 직접 연결됩니다.
  • 스크롤 트리거 모션: 섹션이 뷰포트에 들어올 때 애니메이션이 시작됩니다.
  • 지연된 리빌: 단어, 줄, 카드 또는 요소가 작은 지연을 두고 등장합니다.
  • 점진적 리빌: 스크롤 진행에 따라 불투명도, 배율, 블러, 클립 또는 위치가 변경됩니다.
  • 고정 카드 스택: 고정된 카드가 레이어를 이루고 배율이 조정되며 다음 카드가 도착하면 물러납니다.
  • 시차 스크롤: 배경과 전경 레이어가 다른 속도로 움직입니다.
  • 스크롤 스크러빙: scrub: true 또는 scrub: 1을 통해 애니메이션이 스크롤바를 따라갑니다.
  • 키네틱 타이포그래피: 마스킹된 분할 텍스트 움직임, 일반적으로 단어별 또는 줄별로 이루어집니다.
  • 프리로더: 시작 로딩 화면, 진행률 표시줄 및 인트로 전환.

목표 느낌

  • 럭셔리 에디토리얼 웹사이트
  • 하이엔드 크리에이티브 스튜디오 포트폴리오
  • Apple 수준의 모션 폴리쉬
  • 현대적인 Awwwards 상호작용 언어
  • 몰입형 시네마틱 랜딩 페이지

피해야 할 것:

  • 바운스, 탄성 또는 스프링 모션
  • 과격한 배율 점프
  • 화려한 게임 스타일 효과
  • 너무 많은 동시 스크롤 효과
  • 페이지를 읽기 어렵게 만드는 스크롤 하이재킹

핵심 스택

npm i gsap lenis
import Lenis from "lenis";
import "lenis/dist/lenis.css";
import { gsap } from "gsap";
import { ScrollTrigger } from "gsap/ScrollTrigger";

gsap.registerPlugin(ScrollTrigger);

const reduceMotion = window.matchMedia("(prefers-reduced-motion: reduce)").matches;

if (!reduceMotion) {
  const lenis = new Lenis({
    lerp: 0.08,
    smoothWheel: true,
    wheelMultiplier: 0.9,
  });

  lenis.on("scroll", ScrollTrigger.update);

  gsap.ticker.add((time) => {
    lenis.raf(time * 1000);
  });

  gsap.ticker.lagSmoothing(0);
}

window.addEventListener("load", () => ScrollTrigger.refresh());

모션 토큰

  • 진입 이징: power3.out 또는 power4.out
  • 스크러빙된 장면: ease: "none"과 함께 scrub: 0.8 ~ 1.4
  • 텍스트 리빌 지속 시간: 0.8s ~ 1.1s
  • 카드 리빌 지속 시간: 0.9s ~ 1.2s
  • 단어 지연: 0.035s ~ 0.07s
  • 줄 지연: 0.08s ~ 0.14s
  • 카드 지연: 0.06s ~ 0.1s
  • 리빌 오프셋: y: 24 ~ 48
  • 블러: 4px ~ 10px, 그 다음 0px
  • 고정 카드 배율 깊이: 1에서 0.92로

페이지 구조

  1. 프리로더: 검은 화면, 진행률 표시줄, 브랜드/제목, 인트로 페이드
  2. 히어로: 이미지 시차, 마스킹된 헤드라인 리빌, 미묘한 스크롤 큐
  3. 인트로: 단어별 키네틱 타이포그래피
  4. 스토리 섹션: 스크롤 트리거 페이드업, 블러인, 클립 리빌
  5. 최근 프로젝트: 배율과 레이어드 깊이를 갖춘 고정 카드 스택
  6. 갤러리 또는 증명: 스크롤 스크러빙된 수평 또는 점진적 리빌
  7. 푸터: 시차 리빌 또는 느린 상향 전달

마크업 패턴

<div class="preloader" data-preloader>
  <div class="preloader__bar" data-preloader-bar></div>
</div>

<main>
  <section class="hero" data-parallax-section>
    <img data-parallax-layer data-speed="-0.18" src="/hero.jpg" alt="">
    <h1 data-split-reveal>시네마틱한 절제로 펼쳐지는 디자인.</h1>
  </section>

  <section data-story-section>
    <p data-split-reveal="words">모든 블록은 조용한 의도로 도착합니다.</p>
  </section>

  <section class="project-stack" data-sticky-stack>
    <article data-stack-card>프로젝트 1</article>
    <article data-stack-card>프로젝트 2</article>
    <article data-stack-card>프로젝트 3</article>
  </section>

  <footer data-footer-parallax>...</footer>
</main>

프리로더 시퀀스

프리로더를 사용하여 시네마틱 분위기를 조성한 다음 히어로 리빌로 전환하세요.

function initPreloader() {
  const loader = document.querySelector("[data-preloader]");
  const bar = document.querySelector("[data-preloader-bar]");
  if (!loader) return Promise.resolve();

  if (reduceMotion) {
    loader.remove();
    return Promise.resolve();
  }

  return new Promise((resolve) => {
    const tl = gsap.timeline({
      defaults: { ease: "power3.out" },
      onComplete: () => {
        loader.remove();
        resolve();
      },
    });

    tl.fromTo(bar, { scaleX: 0, transformOrigin: "left" }, { scaleX: 1, duration: 1.1 })
      .to(loader, { yPercent: -100, duration: 0.9, ease: "power4.inOut" }, "+=0.15");
  });
}

분할 텍스트 리빌

마스킹된 오버플로 컨테이너를 사용하세요. 링크나 의미 있는 인라인 마크업이 포함된 텍스트는 분할하지 마세요.

function splitWords(element) {
  if (element.dataset.splitReady === "true") return;

  const text = element.textContent || "";
  const parts = text.split(/(\s+)/);
  element.textContent = "";
  element.setAttribute("aria-label", text.trim());

  parts.forEach((part) => {
    if (!part.trim()) {
      element.appendChild(document.createTextNode(part));
      return;
    }

    const mask = document.createElement("span");
    const word = document.createElement("span");
    mask.className = "split-word-mask";
    word.className = "split-word";
    word.textContent = part;
    mask.setAttribute("aria-hidden", "true");
    mask.appendChild(word);
    element.appendChild(mask);
  });

  element.dataset.splitReady = "true";
}

function initSplitReveals() {
  if (reduceMotion) {
    gsap.set("[data-split-reveal]", { autoAlpha: 1 });
    return;
  }

  gsap.utils.toArray("[data-split-reveal]").forEach((element) => {
    splitWords(element);
    const words = element.querySelectorAll(".split-word");

    gsap.fromTo(
      words,
      { yPercent: 110, autoAlpha: 0, filter: "blur(8px)" },
      {
        yPercent: 0,
        autoAlpha: 1,
        filter: "blur(0px)",
        duration: 0.95,
        ease: "power4.out",
        stagger: 0.05,
        scrollTrigger: {
          trigger: element,
          start: "top 82%",
          once: true,
        },
      }
    );
  });
}
.split-word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.split-word {
  display: inline-block;
  will-change: transform, opacity, filter;
}

스크롤 트리거 리빌

일반 섹션에 사용하세요. 한 번 재생되어야 하며, 차분하고 어색하지 않아야 합니다.

function initSectionReveals() {
  if (reduceMotion) {
    gsap.set("[data-story-section], [data-reveal-item]", { autoAlpha: 1, clearProps: "all" });
    return;
  }

  gsap.utils.toArray("[data-story-section]").forEach((section) => {
    const items = section.querySelectorAll("[data-reveal-item]");
    const targets = items.length ? items : section.children;

    gsap.fromTo(
      targets,
      { y: 36, autoAlpha: 0, filter: "blur(8px)" },
      {
        y: 0,
        autoAlpha: 1,
        filter: "blur(0px)",
        duration: 1,
        ease: "power4.out",
        stagger: 0.08,
        scrollTrigger: {
          trigger: section,
          start: "top 82%",
          once: true,
        },
      }
    );
  });
}

스크롤 연결 진행

시네마틱 진행을 위해 스크러빙된 타임라인을 사용하세요. 스크러빙된 애니메이션은 선형으로 유지하고 스크롤 위치가 타이밍을 결정하게 하세요.

function initProgressionScenes() {
  if (reduceMotion) return;

  gsap.utils.toArray("[data-progress-scene]").forEach((scene) => {
    const media = scene.querySelector("[data-progress-media]");
    const copy = scene.querySelectorAll("[data-progress-copy]");

    gsap.timeline({
      scrollTrigger: {
        trigger: scene,
        start: "top top",
        end: "+=140%",
        scrub: 1.1,
        pin: true,
        anticipatePin: 1,
      },
    })
      .fromTo(media, { scale: 1.08 }, { scale: 1, ease: "none" })
      .fromTo(copy, { autoAlpha: 0, y: 40 }, { autoAlpha: 1, y: 0, stagger: 0.15, ease: "none" }, 0.15);
  });
}

고정 카드 스택

레이아웃에는 position: sticky를, 레이어드 배율/깊이에는 ScrollTrigger를 사용하세요. 이전 카드는 이후 카드가 도착할 때 물러나야 합니다.

[data-sticky-stack] {
  position: relative;
}

[data-stack-card] {
  position: sticky;
  top: 12vh;
  transform-origin: center top;
  will-change: transform, opacity;
}
function initStickyCardStack() {
  if (reduceMotion) return;

  gsap.utils.toArray("[data-sticky-stack]").forEach((stack) => {
    const cards = gsap.utils.toArray(stack.querySelectorAll("[data-stack-card]"));

    cards.forEach((card, index) => {
      const nextCard = cards[index + 1];
      if (!nextCard) return;

      gsap.to(card, {
        scale: 0.92 + index * 0.015,
        autoAlpha: 0.72,
        y: -24,
        ease: "none",
        scrollTrigger: {
          trigger: nextCard,
          start: "top 78%",
          end: "top 24%",
          scrub: true,
          invalidateOnRefresh: true,
        },
      });
    });
  });
}

시차

히어로 이미지, 배경 레이어 및 푸터 리빌에 시차를 사용하세요. 움직임 거리를 작게 유지하세요.

function initParallax() {
  if (reduceMotion) return;

  gsap.utils.toArray("[data-parallax-layer]").forEach((layer) => {
    const speed = Number(layer.dataset.speed || -0.16);
    const section = layer.closest("[data-parallax-section]") || layer;

    gsap.to(layer, {
      y: () => window.innerHeight * speed,
      ease: "none",
      scrollTrigger: {
        trigger: section,
        start: "top bottom",
        end: "bottom top",
        scrub: 1,
        invalidateOnRefresh: true,
      },
    });
  });
}

푸터 시차 리빌:

function initFooterReveal() {
  if (reduceMotion) return;

  const footer = document.querySelector("[data-footer-parallax]");
  if (!footer) return;

  gsap.fromTo(
    footer,
    { yPercent: -12, autoAlpha: 0.85 },
    {
      yPercent: 0,
      autoAlpha: 1,
      ease: "none",
      scrollTrigger: {
        trigger: footer,
        start: "top bottom",
        end: "top 45%",
        scrub: 1,
      },
    }
  );
}

구축 순서

  1. 먼저 정적 페이지를 구축합니다.
  2. 프리로더와 히어로 진입을 추가합니다.
  3. 분할 텍스트 리빌을 추가합니다.
  4. 섹션별 리빌을 추가합니다.
  5. 고정 카드 스택 진행을 추가합니다.
  6. 시차 레이어를 추가합니다.
  7. 스토리가 필요한 곳에만 스크러빙된 고정 장면을 추가합니다.
  8. 모션 감소 및 터치 폴백을 추가합니다.
  9. 데스크톱과 모바일에서 브라우저 QA를 실행합니다.

프롬프트 템플릿

부드러운 Lenis 스크롤, GSAP ScrollTrigger 애니메이션, 지연된 텍스트 리빌, 고정 카드 스택 진행, 시차 배경, 스크롤 스크러빙 전환, 섹션별 스토리텔링 및 몰입형 프리로더 애니메이션이 포함된 시네마틱 스크롤 기반 랜딩 페이지를 만듭니다. 레이어드된 깊이, 배율 전환, 점진적 불투명도 변경 및 부드러운 뷰포트 트리거 모션을 사용하여 프리미엄 에디토리얼 경험을 제공합니다.

QA 체크리스트

  • JavaScript가 비활성화된 상태에서도 콘텐츠를 읽을 수 있습니다.
  • 모션 감소 사용자는 정적 콘텐츠를 보며 부드러운 스크롤 레이어가 없습니다.
  • 스크롤 트리거 리빌은 한 번만 재생됩니다.
  • 스크롤 연결 장면은 의도적으로 scrub을 사용합니다.
  • 고정 카드가 푸터와 겹치거나 페이지를 가두지 않습니다.
  • 시차 움직임은 미묘하게 유지되며 가독성을 해치지 않습니다.
  • 이미지 로딩이 느려도 프리로더가 안정적으로 종료됩니다.
  • ScrollTrigger.refresh()는 이미지/폰트/레이아웃 변경 후 실행됩니다.
  • 모바일에서는 고정이 단순화되거나 성능 저하 시 고정을 사용하지 않습니다.

Individual skills in this repo

This repo contains 9 individual skills — each has its own dedicated page.

MengTo/Skills

Create polished 60 fps 4:3 4K browser screen-recording style videos from Codex in-app browser captures, with browser-only crop, natural macOS cursor styling, deliberate click choreography, zoom-follow framing, ffprobe/thumbnail verification, and optional native recording compatibility checks. Use when the user asks to record or re-record browser actions, show cursor clicks and zooms, make Dribbble/UI inspiration or product demo recordings, or asks whether Codex, Playwright, or an MCP can produce a natural browser demo video.

MengTo/Skills

Generate ElevenLabs text-to-speech audio from scripts or inline text using local voice profiles. Use when the user asks for ElevenLabs, text-to-speech, TTS, narration, voiceover, speech audio, or voice generation; load voice names, voice ids, emails, owners, and account-specific defaults only from local config outside the skill.

MengTo/Skills

Profile, audit, and optimize frontend page performance with emphasis on animation work, memory-leak risks, long-session slowdowns, CSS animations, canvas/WebGL requestAnimationFrame loops, marquees, skeletons, GSAP/Three/Matter effects, timers, listeners, and observers. Use when the user asks to make animations performant, pause offscreen animations, look for memory leaks, profile pages that slow the computer over time, fix janky scrolling, reduce CPU/GPU use, or repeat the "only play in view" optimization on React/Vite/Next/frontend pages using Codex Browser.

MengTo/Skills

Turn a reference video into a super detailed recreation or inspiration prompt. Use when the user provides, mentions, uploads, links, or points to a video and asks to analyze the design, UI, animations, transitions, scroll interactions, typography, colors, assets, WebGL/Three.js, storytelling, section-by-section behavior, or to create a prompt/article that recreates the page, app, interaction, or motion system.

MengTo/Skills

Create an on-scroll animation trigger using IntersectionObserver with Tailwind-friendly animation classes and keyframes. Use when asked for scroll-reveal, animate-on-scroll, or sequencing element animations when they enter the viewport.

MengTo/Skills

Use when designing or implementing product-grade web motion like Stripe, Linear, Apple, and Vercel. Covers motion principles, easing/duration defaults, choreography patterns, scroll/hover interactions, performance, accessibility (reduced motion), and implementation guidance.

MengTo/Skills

Create premium cinematic web motion systems with GSAP, ScrollTrigger, and Lenis. Use for luxury editorial websites, creative studio portfolios, Awwwards-style interactions, smooth scroll reveals, staggered text, parallax, pinned sections, magnetic hover states, custom cursors, and mouse-reactive layered movement.

MengTo/Skills

Use when designing or rewriting a high-converting SaaS pricing page (structure, plan design, copywriting, SEO/AEO, FAQs, layout patterns, experiments). Includes checklists, templates, and common pitfalls.

MengTo/Skills

Use when creating or refining WebGL-heavy landing pages and you need to steer toward a specific visual outcome (premium, technical, playful, cinematic) while balancing conversion clarity, performance, and implementation complexity.

관련 스킬