Published
Edited
Dec 4, 2019
1 star
Insert cell
Insert cell
kernel(GPU.input(new Float32Array([1,2,3,4,5,6,7,8,9]), [3, 3]), GPU.input(new Float32Array([1,2,3,4,5,6,7,8,9]), [3, 3]))
Insert cell
kernel(GPU.input(new Int32Array([1,2,3,4,5,6,7,8,9]), [3, 3]), GPU.input(new Int32Array([1,2,3,4,5,6,7,8,9]), [3, 3]))
Insert cell
kernel = gpu.createKernel(function(a, b) {
return a[this.thread.y][this.thread.x] + b[this.thread.y][this.thread.x];
}).setOutput([3,3])
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