Published
Edited
Apr 26, 2018
1 fork
9 stars
Insert cell
Insert cell
Insert cell
Insert cell
function position(t) {
let v = 40;
let vx = Math.cos(theta) * v;
let vy = Math.sin(theta) * v;
let x = vx * t;
let y = vy * t - 9.8 * t * t / 2;
return {x, y, color: "#0f0", size: 2};
}
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