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

VoxelOptions interface

The interface VoxelOptions of @dioramajs/text/voxel.

View as Markdown
import type { VoxelOptions } from '@dioramajs/text/voxel'
interface VoxelOptions

Members

NameTypeDescription
readonly bricksboolean

Pairs neighbours of a row into bricks two cells wide, in a running bond.

readonly cellnumber

Grid step in box px; widened until the cubes fit max.

readonly maxnumber
readonly seednumber

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