awesome-repositories.com
المدونة
MCP
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
russellsamora avatar

russellsamora/scrollama

0
View on GitHub↗
5,982 نجوم·291 تفرعات·HTML·MIT·3 مشاهداتrussellsamora.github.io/scrollama/basic↗

Scrollama

Scrollama is a JavaScript library for scroll-driven storytelling that uses the browser's native IntersectionObserver API to trigger step-based callbacks and animations as the user scrolls through a page. It pins graphic elements using CSS sticky positioning while scrolling through associated text steps, enabling side-by-side narrative experiences without JavaScript-driven layout calculations.

The library provides a configurable offset threshold system that accepts a single global offset or per-element data-attribute offsets to define the viewport position that triggers step events. It reports scroll progress as a 0-1 ratio for driving continuous animations, and offers programmatic observer lifecycle management with start, stop, and remove methods to control when scroll observers are active. The library is resize-aware, recalculating element bounding boxes and viewport dimensions on window resize or DOM mutations to maintain accurate scroll tracking.

Scrollama supports iframe embedding by allowing a custom root element for scroll observation, and provides per-element offset customization through data attributes. It fires enter and exit callbacks when step elements cross configurable viewport thresholds, and reports step progress for fine-grained animation control. The library also includes observer destruction capabilities to clean up all listeners and callbacks.

Features

  • Scroll-Driven Animation Tools - A JavaScript library that triggers narrative steps and animations as the user scrolls through a page using IntersectionObserver.
  • Scroll-Driven Step Callbacks - Fires enter and exit callbacks when scroll positions cross configurable step boundaries for sequenced storytelling.
  • Scroll-Position Event Triggers - Fires callbacks when step elements enter or exit viewport thresholds for scroll-driven interactions.
  • Scroll-Offset Thresholds - Accepts a single global offset or per-element data-attribute offsets to define the viewport position that triggers step events.
  • Scroll Pinning Utilities - Pins graphic elements using CSS position sticky while scrolling through associated text steps.
  • Scroll Progress Mapping - Reports scroll progress as a 0-1 ratio for driving continuous animations based on element visibility.
  • Step Enter-Exit Callbacks - Fires enter and exit callbacks when step elements cross configurable viewport thresholds.
  • Scroll Trigger Distance Configurators - Fires callbacks when a scroll target reaches a configurable vertical offset from the viewport.
  • Graphic Pinning - Relies on CSS position: sticky to pin graphic elements while text steps scroll past, avoiding JavaScript-driven layout calculations.
  • Narrative Graphic Pinning - Pins graphic elements with CSS position sticky while scrolling through associated text steps for side-by-side narratives.
  • Scrollytelling Graphics - Pins graphic elements with CSS position sticky while scrolling through associated text steps for side-by-side narratives.
  • Scroll Step Detectors - Uses the browser's native IntersectionObserver API to detect when elements enter or exit viewport thresholds without polling scroll events.
  • Story Step Observers - Uses the IntersectionObserver API to detect when story steps enter the viewport for efficient scroll-based interactions.
  • Scroll Progress Ratios - Reports scroll progress as a 0-1 ratio of how far an element has moved through its observation threshold for fine-grained animation control.
  • Observer Lifecycle Management - Provides programmatic start, stop, and remove methods for scroll-trigger observers.
  • Step Trigger Offsets - Sets the viewport position that triggers step events using a percentage or pixel value.
  • Step Progress Reporting - Reports the percentage a step has scrolled through its threshold for fine-grained animation control.
  • Target Offset Configurators - Allows setting unique viewport offsets for individual step elements via data attributes.
  • Per-Element Offset Overrides - Ships per-element offset customization via data attributes for individual step elements.
  • Viewport Resize Handling - Recalculates element dimensions and viewport state on window resize or DOM mutations.

سجل النجوم

مخطط تاريخ النجوم لـ russellsamora/scrollamaمخطط تاريخ النجوم لـ russellsamora/scrollama

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Scrollama

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Scrollama.
  • janpaepke/scrollmagicالصورة الرمزية لـ janpaepke

    janpaepke/ScrollMagic

    14,951عرض على GitHub↗

    ScrollMagic is a DOM scroll interaction framework and animation engine used to map scroll progress to callbacks and visual effects. It functions as a library for triggering animations based on a user's scroll position and the proximity of elements to the viewport. The framework employs a plugin-based system to extend core behavior and customize how elements react during movement. This allows for the development of non-standard scrolling interactions and interactive storytelling experiences where content transitions are tied to the scroll position. The system provides capabilities for viewpor

    TypeScript
    عرض على GitHub↗14,951
  • terwanerik/scrolltriggerالصورة الرمزية لـ terwanerik

    terwanerik/ScrollTrigger

    3,964عرض على GitHub↗

    ScrollTrigger is a JavaScript library and DOM scroll event manager designed to execute callbacks and toggle CSS classes when elements enter or exit the browser viewport. It functions as a high-level interface for the Intersection Observer API and a system for initiating visual transitions and asynchronous tasks based on an element's position relative to the viewport. The tool allows for the definition of precise trigger points using pixel or percentage offsets to control exactly when events fire. It manages scroll-driven visual animations and lazy loading implementations by tracking visibilit

    JavaScriptanimationcsshtml-element
    عرض على GitHub↗3,964
  • imakewebthings/waypointsالصورة الرمزية لـ imakewebthings

    imakewebthings/waypoints

    10,317عرض على GitHub↗

    Waypoints is a JavaScript library designed for monitoring scroll positions and managing viewport-based triggers. It provides utilities to execute functions when page elements enter or exit the visible browser area, track specific scroll offsets, and implement sticky element pinning. The library includes specialized tools for building infinite scrolling interfaces that fetch and append content to replace traditional pagination. It also manages the positioning of elements that transition to a fixed screen location once a specific scroll threshold is reached. The system covers broader capabilit

    JavaScript
    عرض على GitHub↗10,317
  • greensock/greensock-jsالصورة الرمزية لـ greensock

    greensock/GreenSock-JS

    25,916عرض على GitHub↗

    GreenSock-JS is a JavaScript animation library and framework designed for animating CSS properties, SVG attributes, and JavaScript values. It functions as a scroll-driven animation engine and a sequencing system for coordinating multiple animations into a single timeline for precise execution across web browsers. The project provides tools for creating interactive scroll effects by linking animation progress to a user's scroll position. It also includes a responsive animation framework that adjusts behaviors and timing based on media queries to maintain consistency across different device scr

    JavaScript
    عرض على GitHub↗25,916
عرض جميع البدائل الـ 30 لـ Scrollama→

الأسئلة الشائعة

ما هي وظيفة russellsamora/scrollama؟

Scrollama is a JavaScript library for scroll-driven storytelling that uses the browser's native IntersectionObserver API to trigger step-based callbacks and animations as the user scrolls through a page. It pins graphic elements using CSS sticky positioning while scrolling through associated text steps, enabling side-by-side narrative experiences without JavaScript-driven layout calculations.

ما هي الميزات الرئيسية لـ russellsamora/scrollama؟

الميزات الرئيسية لـ russellsamora/scrollama هي: Scroll-Driven Animation Tools, Scroll-Driven Step Callbacks, Scroll-Position Event Triggers, Scroll-Offset Thresholds, Scroll Pinning Utilities, Scroll Progress Mapping, Step Enter-Exit Callbacks, Scroll Trigger Distance Configurators.

ما هي البدائل مفتوحة المصدر لـ russellsamora/scrollama؟

تشمل البدائل مفتوحة المصدر لـ russellsamora/scrollama: janpaepke/scrollmagic — ScrollMagic is a DOM scroll interaction framework and animation engine used to map scroll progress to callbacks and… terwanerik/scrolltrigger — ScrollTrigger is a JavaScript library and DOM scroll event manager designed to execute callbacks and toggle CSS… imakewebthings/waypoints — Waypoints is a JavaScript library designed for monitoring scroll positions and managing viewport-based triggers. It… pmndrs/drei — This project is a Three.js utility library and a collection of declarative React components designed for building 3D… greensock/greensock-js — GreenSock-JS is a JavaScript animation library and framework designed for animating CSS properties, SVG attributes,… rrutsche/react-parallax — React Parallax is a React animation component library that creates multi-speed scrolling background depth effects. It…