Public
Edited
Jul 29, 2023
Insert cell
Insert cell
shader({width: width, height: 100, iTime: true})`
void mainImage(out vec4 fragColor, in vec2 fragCoord) {
fragColor = vec4(vec2(fragCoord.xy / iResolution.xy), abs(sin(iTime * 2.0)), 1.0);
}`
Insert cell
import {shader} from "@mbostock/shader"
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