~/talk

"Building a Music Learning Game with Elm, Web MIDI, and SVG Animation"

Talkat Elm Conf 2019 · on Thursday, 2019-09-12· [web-platform, web-animation]
slides:none on file

A browser game that teaches piano notes using Web MIDI input, an Elm front end and SVG animation is actually built and playable; MIDI note numbers arrive via a single port integer, the UI animates with an onAnimationFrame loop and an Elm animation library, and sprite animation uses SVG viewBox slicing. A solved piece is a projectile-motion solver that computes initial velocity so a character reliably jumps to arbitrary targets; current limits: about ten visualized keys, occasional scroll/teleport bugs and an infinite-jump edge case.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 3:01Introducing Elm and MIDI
  3. 6:34First Elm MIDI prototype
  4. 8:04Fixing impossible states
  5. 9:12Adding SVG animations
  6. 10:39Sprite sheets and SVG
  7. 12:05Learning animation basics
  8. 13:32Linear interpolation and easing
  9. 16:23Realistic jumping physics
  10. 18:09Projectile motion math
  11. 19:54Demo of the game
  12. 22:42Current progress and next steps
~/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.