Skip to main content
100%

Radial Line - Bright

✓ Published0🌍 Public
Aalexmacy
Last edited Jun 29, 2017
Created on Jun 29, 2017

The visualization displays the live audio input from the user’s microphone as a bright, red radial line that continuously rotates and pulses around a central point. It shows the real-time waveform of the audio buffer, with the line’s radius reflecting the amplitude of each sample. The code uses d3.radialLine with a curveBasis interpolation to draw the path on a Canvas element, while the Web Audio API’s AnalyserNode captures the time-domain data via getByteTimeDomainData. Animation is driven by requestAnimationFrame, and the canvas is cleared each frame with a white fill.

AI-generated description

This listens to your computer's microphone and draws the contents of the audio buffer as a radial line. Also made a dark version: <a href='http://bl.ocks.org/alexmacy/0fb3b23fa38d1ffe0ae9aa270d750354'>Audio Radial Line - dark</a>

This is part of a series exploring the visualization of audio that was presented at a d3.oakland meetup. A big list of the demos from this series can be found <a href="https://alexmacy.github.io/d3.oakland" target="_blank">here</a>.

mit Licensed

Similar vizzes