~/talk

Canvas in NodeJS

Talkat JSConf US 2011 · 2011-05-02..05-03· [nodejs, creative-coding]
links:none on file
slides:none on file

Shows server-side Canvas rendering using node-canvas and a fake DOM via jsdom, running a minimally patched flot to emit PNG streams and data URIs. Reuses client-side plotting code, accepts JSON via query string, preloads a shared document to avoid per-request DOM creation, and returns cacheable, opaque images suitable for wikis or embedded IMG tags. Tradeoffs are added server CPU and no client interactivity, but it works and preserves visual styling.

AI-written summary · about

  1. 0:00Introduction to server canvas
  2. 1:15Identifying the problem
  3. 2:40Using node-canvas
  4. 4:30Integrating jQuery and jsdom
  5. 7:00Practical implementation
  6. 11:40Advantages and disadvantages
~/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.