Public
Edited
Jun 5, 2020
1 star
Insert cell
Insert cell
Insert cell
viewof disarray = slider({
min:-1200,
max:1200
})
Insert cell
md`This piece is based on [Schotter by Georg Nees](http://www.medienkunstnetz.de/works/schotter/). ![cubic disarray](https://media.vam.ac.uk/media/thira/collection_images/2009CD/2009CD4551_jpg_l.jpg) `
Insert cell
(2 * (Math.random() - 0.5))
Insert cell
function rotate(d){
// let angle = Math.exp((disarray-d.center[0])/200) * (2 * (Math.random() - 0.5))
let angle = Math.exp((d.center[0] + disarray)/200) //* (2 * Math.random() - 0.5)
return `rotate(${angle},${d.center[0]},${d.center[1]})`;
}
Insert cell
Insert cell
width
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