~/talk

HTML Canvas 어디까지 써봤니

Talkat FEConf 2019 · on Saturday, 2019-10-26· [creative-coding, web-performance]
links:none on file
slides:none on file

Viewer renders huge pathology slides (scanned ~110k × 150k px, visualizing on the order of ~100 million+ data points) by pre-rasterizing pixels into bitmaps in ~3s, indexing annotations with a kd-tree so each frame draws only on-screen points, and using requestAnimationFrame, ImageBitmap and OffscreenCanvas with transfer control to move work to a worker. Micro-optimizations (32‑bit writes vs 8‑bit, etc.) vary by browser; freeing ImageBitmap memory is required. Result: interactive pan/zoom at ~60fps on modern Chrome.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07Canvas basics
  3. 2:12Animation principles
  4. 5:53Frame rate and performance
  5. 8:49Micro-optimization limits
  6. 11:46Medical imaging project
  7. 15:3360 FPS goal and loading
  8. 18:08Spatial indexing optimization
  9. 21:08Bitmap image usage
  10. 23:41Offscreen canvas
  11. 25:12Main thread bottleneck
  12. 26:24Web Workers and memory
  13. 27:47Optimization outlook
~/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.