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

lamp function

The light in the frame of a face turned up by `ax` and right by `ay`: y down, z to the viewer.

View as Markdown
import { lamp } from '@dioramajs/text/extrude'
function lamp(light: number, ax: number, ay: number, out?: Vector3): Vector3

Parameters

NameTypeDescription
lightnumber
axnumber
aynumber
out?Vector3

Default ....

Defined in packages/text/src/extrude.ts.