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/lenis

Lenis smooth scroll on the Diorama frame.

View as Markdown
On this page
import { lenisPlugin, lenisSource } from '@dioramajs/lenis'

Functions

lenisSourceScroll source that reads the page after Lenis wrote it.

Constants

lenisPluginLenis in Diorama's frame. One Lenis step per pass, then the loops read what it wrote.

Interfaces

LenisApiThe `lenis` service.
LenisLikeThe part of Lenis 1.3 the adapter uses.
LenisPluginOptionsOptions of `lenisPlugin`.