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

@dioramajs/media/tone

Exports of @dioramajs/media/tone.

View as Markdown
On this page
import { cone, default, LAB } from '@dioramajs/media/tone'

Functions

coneCube roots of the cone response of a linear sRGB colour: OKLab before its last matrix.

Constants

defaultPhotos in brand colors: a duotone or a halftone in OKLab, which a CSS filter on the image cannot give its copy, with the color back on hover or in a spot at the pointer.
LABCube roots of the cone response to Lab.
LMSOKLab (Björn Ottosson): linear sRGB to cone response. Rows as written, so transposed.