~/talk

With Beams and Cannons — How to Spice Up D3 Graphs with a Physics Engine

TalkinGermanat code.talks 2017 · 2017-09-28..09-29· [data-visualization, web-animation]
links:none on file
slides:none on file

Combines D3.js and the Matter.js physics engine to drive graph layouts by mapping SVG paths to physics bodies and rendering them with a custom D3+Matter renderer. Demonstrates a box-office-style drop chart where bars leaving the chart spawn falling physics bodies, and implements constraints to pull circles into a packed layout. Notes performance limits—about 100 moving bodies on modest hardware—so throttling and removing old bodies is necessary to keep it responsive.

AI-written summary · about

  1. 0:00Physics motivation
  2. 2:08D3.js basics
  3. 8:56Data binding updates
  4. 11:04Matter.js intro
  5. 13:32Matter.js with D3
  6. 19:15Box Office Chart physics
  7. 22:47New physics layout
  8. 27:42Forces and constraints
  9. 30:53Physics-based pack layout
  10. 35:10Demo summary
  11. 36:12Q&A
~/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.