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

Crop interface

A region of a picture in texture UV, y up: `texture uv = box uv * size + xy`.

View as Markdown
import type { Crop } from '@dioramajs/diorama/effects'
interface Crop

Members

NameTypeDescription
readonly heightnumber

Height in texture UV.

readonly widthnumber

Width in texture UV.

readonly xnumber

Left edge in texture UV.

readonly ynumber

Bottom edge in texture UV.

Also exported from @dioramajs/effects.

Defined in packages/effects/src/types.ts.