~/talk

Make the Web Brighter with the CSS Paint API

Talkat VinnytsiaJS 2018 · on Saturday, 2018-07-21· [web-platform, css]
slides:none on file

Shows how to build real, reusable paint generators that run off the main thread: define a class with paint(context, geometry, properties, args), call registerPaint('name', Class), and load it as a worklet so rendering runs in Paint Worklet thread (Chrome 65+/Opera; polyfill available). Demonstrates concrete examples — circles, animated star ratings, QR codes (using a QR library), bar charts and a particle progress bar — and registers typed properties with CSS.registerProperty(...) so values animate smoothly.

AI-written summary · about

  1. 0:00Introduction
  2. 1:04What is CSS Paint API
  3. 7:52Why use CSS Paint API
  4. 10:44Create custom paint
  5. 14:37Simple paint example
  6. 16:24CSS variables
  7. 18:18Using arguments
  8. 20:27Performance optimization
  9. 21:34Background generation demo
  10. 22:43Rating stars
  11. 23:51QR code generation
  12. 25:16Charts and graphs
  13. 26:53Storing data in CSS
  14. 28:44Animation in CSS Paint
  15. 29:49Custom CSS variables
  16. 31:37Animating variable types
  17. 33:07CSS plugin for variables
  18. 34:19Particle demo
  19. 36:56Resources and conclusion
~/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.