Public
Edited
Aug 26, 2024
2 forks
7 stars
Insert cell
Insert cell
Plot.plot({
inset: 6,
width: 1024,
aspectRatio: 1,
axis: null,
marks: [
Plot.vector(poisson([0, 0, 2, 2], {n: 4000}), {
length: ([x, y]) => noise(x + 2, y) + 0.5,
rotate: ([x, y]) => noise(x, y) * 360
})
]
})
Insert cell
noise = octave(perlin2, 2)
Insert cell
import {octave, perlin2} from "@mbostock/perlin-noise"
Insert cell
import {poisson} from "@mbostock/poisson-disk-sampling"
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