~/talk

Just go for it: The story of dance-mat.js

Talkat JSConf US 2019 · 2019-08-12..08-14· [nodejs, creative-coding]
slides:none on file

Builds a Dance Dance Revolution controller using Raspberry Pi, Bare Conductive PiCap, and Node.js by configuring the Pi as a USB HID keyboard (Linux gadget), sending 8‑byte HID reports (Uint8Array) that map PiCap electrode indices to arrow key codes for StepMania. Results: a two‑player painted yoga‑mat controller that registers simultaneous presses, does work (shows A B C keystrokes, plays songs) but needs periodic repainting and tweaks and delivered only D grades at first.

AI-written summary · about

  1. 0:00Intro
  2. 0:20Who am I
  3. 0:40Fiona
  4. 1:25Lana
  5. 1:55Just Dance
  6. 2:20Dance Dance Revolution
  7. 3:00Music
  8. 3:50Stepmania
  9. 4:25Controllers
  10. 4:45Alternatives
  11. 5:10Bare conductive paint
  12. 6:05Raspberry Pi nojs
  13. 6:30Project Dancemat
  14. 7:00How will it work
  15. 7:20NPM package
  16. 8:00Raspberry Pi
  17. 8:20Gadget
  18. 8:50Menu
  19. 9:20USB Interface
  20. 9:45Hex Keys
  21. 10:00Key constants
  22. 10:20Parse keys
  23. 11:00Loop through electrodes
  24. 11:30Return pressed keys
  25. 11:45Log pressed keys
  26. 12:15JavaScript
  27. 12:50File Descriptor
  28. 13:20Device Write Buffer
  29. 13:50Did it work
  30. 14:40The fun part
  31. 15:15Are we set for life
  32. 15:40What is an Arduino
  33. 16:10Physical cables
  34. 16:35Conclusion
~/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.