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 starfield on an empty element: stars in depth layers twinkle, drift slowly and lean with the pointer and the scroll, nearer ones more; a fast scroll stretches them into streaks, and now and then a shooting star crosses the sky.

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

. The warp motion flies through the field instead. One instanced draw over a flat sky color.

const default: Effect<Params>

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