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

FieldOptions interface

The interface FieldOptions of @dioramajs/text/pins.

View as Markdown
import type { FieldOptions } from '@dioramajs/text/pins'
interface FieldOptions

Members

NameTypeDescription
readonly halo?number

Px around the glyphs where pins stand, thinning out to none; 0 fills the box. The grid then reaches this far past the box too.

readonly hexboolean
readonly maxnumber
readonly pitchnumber

Pin spacing in box px; widened until the pins fit max.

readonly seednumber

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