~/talk

The Weird — Yet Practical — World of Paint Worklets

Talkat CSSConf Budapest 2019 · on Wednesday, 2019-09-25· [web-platform, creative-coding]
slides:none on file

Paint worklets are Houdini modules that generate CSS images with the Canvas 2D API and are invoked via paint() background-image syntax; they register tiny classes with a paint(ctx, geom, props) method and worklets are loaded with addModule promises. Examples include tiled circuit-board patterns, randomized “blotto” inkblots and trig-based “flashy” rays, all parameterized through the Properties and Values API so CSS custom properties control radius, color and tile size. Support is partial so provide CSS fallbacks, avoid heavy transpilation, and gate registration on device memory.

AI-written summary · about

  1. 0:00Start
  2. 1:36Worklets
  3. 2:39Embeddable in Css
  4. 4:00What Is a Paint Worker Worklet
  5. 4:43Register Paint
  6. 5:152d Drawing Context
  7. 11:19Blotto
  8. 13:30Trigonometry
  9. 13:44Flashy
  10. 14:24Outer Radius
  11. 15:04Drawing
  12. 17:01Slapdash
  13. 19:48Custom Css Properties
  14. 20:20Custom Properties
  15. 20:37Properties and Values Api
  16. 23:33Eat Your Vegetables
  17. 28:59Be Considerate of Your Users
  18. 30:04Device Memory Api
  19. 30:58Resources
~/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.