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

default const

A sky of soft clouds in layers over a gradient for the time of day: daylight, a sunset or a moonlit night with stars.

View as Markdown
import { default } from '@dioramajs/backgrounds/clouds'

. Each layer is baked noise under a perspective that shrinks clouds towards the horizon, lit from the sun by a step towards it; wind moves the layers, nearer ones faster, and the scroll and the pointer shift them apart.

const default: Effect<Params>

Defined in packages/backgrounds/src/clouds.ts.