~/talk

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

Talkat JS.Geo 2015 · on Thursday, 2015-10-08· [javascript, web-performance]
slides:none on file

Torque.js renders millions by sending a custom temporal tile format from Postgres that aggregates points into Web Mercator pixels and time bins, so a 1M demo (and a reported 12M Twitter set) becomes compact tiles generated with a single SQL query per tile. Client converts JSON/binary into typed arrays and sprites, caches pre-rendered marker sprites, and draws layers onto a full-screen canvas, compositing several previous frames as semi‑transparent layers to simulate motion while avoiding per‑feature geometry.

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.