Published
Edited
Mar 28, 2022
3 forks
3 stars
Insert cell
Insert cell
Insert cell
Insert cell
kernel = gpu.createKernel(
function(x) {
this.color(
(x * (this.thread.y + this.thread.x)) / 1024.0,
(x * (this.thread.y * this.thread.x)) / (1024.0 * 1024.0),
(x * (this.thread.y * 2 * this.thread.x)) / (1024.0 * 2),
1
);
},
{
output: [512, 512],
graphical: true
}
)
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