~/talk

torque.js internals: how to render 3M animated points on a map

Talkat JS.Geo 2014 · on Monday, 2014-09-29· [web-platform, web-animation]
slides:none on file

Torque.js renders time-aware tiles by quantizing points to Web Mercator pixels and aggregating counts per pixel + time slice, sending a compact JSON-like tile with xy, dates array and values array. Server-side tile generation runs as a single PostGIS SQL query. Client parses tiles into typed arrays, compiles CartoCSS to JS functions, caches marker sprites and draws frames to a full-screen Canvas2D, compositing several previous frames as layered opacities to fake trails. Demonstrations show 1M animated ships and handling up to ~12M tweets, with tile-generation the scaling bottleneck.

AI-written summary · about

  1. 0:00Start
  2. 0:14Confreaks
  3. 2:05a set of tiles per month
  4. 3:32pattern
  5. 5:20torque.js is a library that allows to render points on top of google maps or leaflet...
  6. 7:22tech
  7. 8:16quantification {js.geo} and aggreation coordinates and time
  8. 12:39processing
  9. 14:38styling - cartocss2js
  10. 15:11javascript shaders
  11. 16:42data, style and rendering
  12. 19:04sprites
~/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.