Diorama

Made for a big screen.

This site is one 3D scene, built for a computer: a wide window and a mouse. Open dioramajs.dev on a desktop or a laptop to see it.This site is one 3D scene, built for a wide window. Make this one wider, or open dioramajs.dev on a larger screen.

GitHub

DioramaDocs

@dioramajs/gsap

GSAP and ScrollTrigger on the Diorama frame.

View as Markdown
On this page
import { gsapDriver, gsapPlugin } from '@dioramajs/gsap'

Functions

gsapDriverFrames from gsap.ticker, after the tweens of the same tick. One driver per gsap object.

Constants

gsapPlugingsap and ScrollTrigger in Diorama's frame. One ticker, live scroll, pins from triggers.

Interfaces

GsapApiThe `gsap` service.
GsapLikeThe part of `gsap` the adapter uses.
GsapPluginOptionsOptions of `gsapPlugin`.
GsapTickerLikeThe part of `gsap.ticker` the adapter uses.
PinOptionsOptions of `gsap.pin`.
ScrollTriggerLikeThe part of a ScrollTrigger instance the adapter reads.
ScrollTriggerStaticThe part of the ScrollTrigger class the adapter uses.

Types

GsapTickerCallbackA `gsap.ticker` listener.
PinProgressWhich progress a pin reads: `auto`, the trigger's scroll, or its animation.