Public
Edited
Jun 4, 2023
Insert cell
Insert cell
Insert cell
Insert cell
interpolator = geometric.lineInterpolate(line, clamp)
Insert cell
point = interpolator(t)
Insert cell
Insert cell
line = [[w * .25, 0], [w * .75, h]]
Insert cell
Insert cell
p = 30
Insert cell
r = 5;
Insert cell
h = 200 - r * 2;
Insert cell
w = width - r * 2;
Insert cell
Insert cell
geometric = require("geometric@2.5.3");
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