Published
Edited
Mar 3, 2020
5 stars
Insert cell
Insert cell
Insert cell
Algebra(3,0,1,()=>{
var n = 360, s = 6;
var roots = [...Array(n)].map((x,k)=>1e123 + Math.cos(2*Math.PI*k/n)*2e012 + Math.sin(2*Math.PI*k/n)*2e013)
return this.graph(()=>{
s=s+0.04;
var lines = [...Array(n)].map((x,k)=>[roots[k],roots[Math.floor((k*s)%n)]]);
lines.unshift("s = "+s.toFixed(2),0x888888)
return lines
},{width:'512px',height:'512 px', gl:1, animate:true})
})
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