await visibility(), bnb({
w: width,
h: 300,
numFrames: 120,
fps: 30,
record: true,
video: 'mp4',
draw: (sketch, time) => {
sketch.background(0)
sketch.noStroke()
sketch.drawingContext.globalAlpha = .6
const n = 20
for(let i = 0; i <= n; i++) {
sketch.fill(`hsl(${i/n * 360 | 0}, 100%, 50%)`)
const x = sketch.width/4 + i/n * sketch.width/2 + Math.sin(i/10 + time * sketch.TAU) * 50
const y = 150 + Math.sin(i/n * Math.PI * 2 + time * sketch.TAU * 2) * 45
const r = 55 + Math.cos(i/n * Math.PI * 2 + time * sketch.TAU) * 45
sketch.circle(x, y, r * 2)
}
}
})