~/talk

Funky Hardware Beats: The story of dance-mat.js

Talkat Wey Wey Web 2024 · 2024-11-27..11-29· [creative-coding, javascript]
slides:none on file

Builds a two‑player DDR mat by painting electrodes on a yoga mat, wiring a BeConductive hat to a Raspberry Pi OTG gadget, and sending 8‑byte USB HID reports over USB to StepMania. Uses Node.js, a Uint8Array buffer and the linux-device npm to write keystroke packets to the Pi’s HID file. Reveals practical numbers (six key bytes + two modifier bytes), problems (paint cracks when rolled, painted “cables” fail), fixes (croco‑clips and soldered wires) and a working demo that registers keystrokes and scores—functional but fragile, often yielding modest scores (around D).

AI-written summary · about

  1. 0:00Introduction and inspiration
  2. 3:13Music games and DDR
  3. 7:13Introducing the dancat.js project
  4. 10:06Turning Raspberry Pi into a keyboard
  5. 13:21Sending keystrokes over USB
  6. 16:32Testing the USB keyboard output
  7. 19:07Painting the dance mat
  8. 20:55Lessons learned and improvements
  9. 22:21Demo and final thoughts
~/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.