~/talk

Making Realtime Audio-Visuals

Talkat JSConf.Asia 2015 · 2015-11-19..11-20· [creative-coding, web-platform]
slides:none on file

Claims that tiny realtime audio‑visuals fit in 64 bytes to ~1KB and that you can couple sound and visuals by pregenerating wave buffers played via the audio element. Uses Canvas 2D, a single geometric primitive driven by one formula, and tricks: power‑of‑two increments to avoid floating‑point drift, avoid HSL (it's slow) in favor of RGB detuning, use shadowBlur for cheap glow, and PNG bootstrapping to compress code. Builds a branching plant demo with generated WAV audio, sprites and it runs live.

AI-written summary · about

  1. 0:00Start
  2. 0:13Mathieu Henri
  3. 1:26What & where 2. General tips 3. Wild tricks 4. Coding time
  4. 1:42What & where
  5. 1:57Code golfing & Creative coding
  6. 2:54DEMOSCENE
  7. 3:37FOCUS
  8. 3:55NO LIBRARY NO FRAMEWORK
  9. 4:23ONE PRIMITIVE
  10. 4:42ONE FORMULA
  11. 5:13Dirty trigonometry
  12. 5:46IEEE 754
  13. 7:29Web Audio Api or Audio element
  14. 8:53COLORS
  15. 10:21PNG Bootstraping
  16. 11:22Audio-Visual
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.