~/talk

Monster Audio-Visual demos in a TCP packet

Talkat JSConf EU 2014 · 2014-09-13..09-14· [creative-coding, web-performance]
slides:none on file

Claim: a working monster audio‑visual demo fits in a handful of bytes and plays on the web. Tools actually used: JavaScript + canvas/WebGL/CSS + audio element or Web Audio API, PNG bootstrap / gzip 40%, plus hand‑tuned code packing (token replacement ~25%). Surprising numbers: a shown 1KB demo runs live, audio under 200 bytes, Nyquist sampling tradeoffs and ~70 bytes to decompress a minified loader. Practical tricks: environment maps for cheap lighting, downscaled canvases for soft shadows, exact increments to avoid float drift, and timeline sync via sampled note tables — it works.

AI-written summary · about

  1. 0:00Welcome
  2. 3:00Demo culture evolution
  3. 6:44Web demo prototyping
  4. 9:04Optimizing code size
  5. 11:54Simplifying visuals
  6. 14:51Shadow and lighting tricks
  7. 16:04Audio generation
  8. 18:29Compressing JavaScript for tiny intros
  9. 20:37Size and pacing tuning
  10. 21:46Live 1k demo
  11. 23:15Invitation to demos
~/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.