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

pinShape function

One pin of `style` in pitches, its top at z 0: a thin shaft under a domed metal head, a square bar with a bevelled top, or a round button.

View as Markdown
import { pinShape } from '@dioramajs/text/pins'

. pinPart says which vertices ride with the top and which belong to the head.

function pinShape(style: Style): Mesh0

Parameters

NameTypeDescription
styleStyle

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