Public
Edited
Oct 5, 2024
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
gridDoubleP3 = cg.p3Grid(1 / 8).map(({ mode, r, g, b }) => ({
mode,
r: scale(r),
g: scale(g),
b: scale(b)
}))
Insert cell
gridRec2020 = cg.p3Grid(1 / 8).map(({ mode, r, g, b }) => ({
mode: "rec2020",
r,
g,
b
}))
Insert cell
grid = gridDoubleP3
Insert cell
inGamut = culori.inGamut("rec2020")
Insert cell
scale = (f) => f * 2
Insert cell
Insert cell
culori = import("culori@4")
Insert cell
import { colorSpace3D, colorToCompressedItpPoint } from "@devgru/color-space-3d"
Insert cell
import { cg } from "@devgru/cg-latest"
Insert cell
import { ardov } from "@devgru/hdr"
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more