Public
Edited
Aug 8, 2019
1 fork
3 stars
Insert cell
Insert cell
Insert cell
v = vec2(-3, 2)
Insert cell
n = v.normalize(new Vector())
Insert cell
M = mat2(
1.2, -0.2,
1, -2,
)
Insert cell
Insert cell
determinant = M.determinant()
Insert cell
iM = M.inverse(new Matrix())
Insert cell
Insert cell
I = iM.dot(M)
Insert cell
Insert cell
tv = M.dotVec(v, vec2()) // matrix vector product
Insert cell
dot(v, tv, vec2()) // vector dot product
Insert cell
mixed = mix(v, tv, t, vec2())
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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