Published
Edited
Feb 28, 2018
2 stars
Fourier series approximation of a square wave
Using the power of a point to create teardrops
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
h = Math.pow(s, 2) - Math.pow(r, 2)
Insert cell
PT = Math.sqrt(h)
Insert cell
Insert cell
interiorAngle = Math.sin(r / PT) - Math.PI / 2 // Subtract pi/2 to rotate this angle -90°
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
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