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

lenisSource function

Scroll source that reads the page after Lenis wrote it.

View as Markdown
import { lenisSource } from '@dioramajs/diorama/lenis'
function lenisSource(lenis: LenisLike): ScrollSource

Parameters

NameTypeDescription
lenisLenisLike

Also exported from @dioramajs/lenis.

Defined in packages/lenis/src/source.ts.