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

onRing function

The place on a ring of `radius` px at `theta` radians from the front.

View as Markdown
import { onRing } from '@dioramajs/media/carousel'
function onRing(style: CarouselStyle, theta: number, radius: number): RingPose

Parameters

NameTypeDescription
styleCarouselStyle
thetanumber
radiusnumber

Defined in packages/media/src/carousel.ts.