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

default const

The text set on the keycaps of a mechanical keyboard in 3D: one sculpted, dished cap per letter with the legend printed on top in the text colour, a wide space bar between words, on a darker case seen in perspective with soft shadows.

View as Markdown
import { default } from '@dioramajs/text/keycaps'

. On view the keys go down one after another as if the word were typed, a quick press, a bounce and a flash each; under the pointer they press, a click sends one down hard. Retro beige caps or dark caps with an RGB glow. The text stays real in the DOM.

const default: Effect<Params>

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