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

guides function

The guide lines as segments: from and to (x, y in units of the tunnel's half size or the helix radius, phrase step along the axis) and the line's opacity.

View as Markdown
import { guides } from '@dioramajs/text/tunnel'

. Tunnel: the edges and two lines down each wall, and a frame every half step; spiral: two strands of the helix; zoom: none.

function guides(style: Style, count: number, twist: number): number[][]

Parameters

NameTypeDescription
styleStyle
countnumber
twistnumber

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