Public
Edited
Jan 22, 2024
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
complex_function = `
// 4/((z - 2) * (z + 1) * (z + 2 + 2i))
z = cdiv( vec2(4.0, 0.0), cmul(cadd(z,vec2(-2.0, 0.0)), cadd(z,vec2(1.0, 0.0)), cadd(z, vec2(2.0, 2.0))) );
`;
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.

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