Published
Edited
Apr 29, 2021
1 star
Insert cell
Insert cell
Insert cell
Play8Bit((t) => t & (t >> repeat), 50)
Insert cell
Insert cell
Title('Twinkly', Play8Bit((t) => (t * 1 & t >> 2) | (t * 4 & t >> 10), 10)) // by viznut (title mine), https://youtu.be/tCRPUv8V22o?t=10s
Insert cell
Title('Pistons', Play8Bit((t) => ((t * ('Eli Cohen'.charCodeAt(t >> 50 & 7) & 15)) / 12 & 128) + (((((t >> 12) ^ (t >> 12) - 2) % 11 * t) / 4 | t >> 13) & 127), 50)) // from ryg (title mine), https://youtu.be/tCRPUv8V22o?t=2m56s
Insert cell
Title('Canon', Play8Bit((t) => (t * .07)*Math.pow(2,(0x75054970>>(((t * 0.3)>>13&7)<<2)&0xF)/12+2)*(((t * 0.3)>>11&3)+1), 10)) // from https://www.youtube.com/watch?v=tCRPUv8V22o&lc=Ugg4D93oXeRtrXgCoAEC
Insert cell
Title('Big endian blues', Play8Bit((t) => (t * 0.3) * (((t * 0.3)>>12|(t * 0.3)>>16)&31&(t * 0.3)>>11), 45)) // from https://www.youtube.com/watch?v=tCRPUv8V22o&lc=Ugg4VzDeIkw_YHgCoAEC, title mine
Insert cell
Insert cell
Play((t) => {
const saw = Math.sin(t * 1.8) * 440 - Math.floor(Math.sin(t * 1.8) * 440);
const sine = Math.sin(t * Math.sin(800 * t) * 1.8 * Math.PI);
return Math.sin(t * Math.sin(800 * 30 * t) * 1.8 * Math.PI) < 0 ? saw : sine;
}, 100)
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