Published
Edited
Apr 28, 2018
3 forks
Importers
49 stars
Insert cell
Insert cell
function beat (value, intensity = 2, frequency = 2) {
const v = Math.atan(Math.sin(value * Math.PI * frequency) * intensity);
return (v + Math.PI / 2) / Math.PI;
}
Insert cell
Insert cell
Insert cell
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